mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-debug/lldb-mi: new package
Used by dev-util/kdevelop. Bug: https://bugs.gentoo.org/730304 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
52
dev-debug/lldb-mi/lldb-mi-9999.ebuild
Normal file
52
dev-debug/lldb-mi/lldb-mi-9999.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {15..19} )
|
||||
|
||||
inherit cmake llvm-r1
|
||||
|
||||
DESCRIPTION="LLDB Machine Interface Driver"
|
||||
HOMEPAGE="https://github.com/lldb-tools/lldb-mi"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/lldb-tools/lldb-mi.git"
|
||||
EGIT_BRANCH="main"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/lldb-tools/lldb-mi/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-debug/lldb:=
|
||||
$(llvm_gen_dep '
|
||||
sys-devel/llvm:${LLVM_SLOT}
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.0.1-find_packages_GTest.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINCLUDE_TESTS="$(usex test)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user