summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-16 08:54:31 +0100
committerSam James <sam@gentoo.org>2024-10-16 08:54:51 +0100
commit1c7932252cc1e0635d9735ff18a4a635dd65673d (patch)
treedb6e05f4fc24699e982f715491234a161cd9b724 /sys-block
parentsys-block/thin-provisioning-tools: add 1.1.0 (diff)
downloadgentoo-1c7932252cc1e0635d9735ff18a4a635dd65673d.tar.gz
gentoo-1c7932252cc1e0635d9735ff18a4a635dd65673d.tar.bz2
gentoo-1c7932252cc1e0635d9735ff18a4a635dd65673d.zip
sys-block/thin-provisioning-tools: depend on clang for bindgen
Unfortunately have to drop mips and s390 for Clang. Closes: https://bugs.gentoo.org/941609 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.14.ebuild14
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild14
2 files changed, 24 insertions, 4 deletions
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.14.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.14.ebuild
index 15226c02e8d2..c3920bb0d0ec 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.14.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.14.ebuild
@@ -147,7 +147,9 @@ declare -A GIT_CRATES=(
[rio]='https://github.com/jthornber/rio;2979a720f671e836302c01546f9cc9f7988610c8;rio-%commit%'
)
-inherit cargo
+LLVM_COMPAT=( {17..18} )
+
+inherit cargo llvm-r1
DESCRIPTION="A suite of tools for thin provisioning on Linux"
HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
@@ -160,7 +162,7 @@ else
https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="GPL-3"
@@ -169,6 +171,14 @@ LICENSE+=" Apache-2.0 BSD GPL-3 ISC MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
IUSE="io-uring"
+# Needed for bindgen
+BDEPEND="
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ ')
+ virtual/pkgconfig
+"
+
DOCS=(
CHANGES
COPYING
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild
index 532a30693d17..5611fe2ff14b 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0.ebuild
@@ -148,7 +148,9 @@ declare -A GIT_CRATES=(
[rio]='https://github.com/jthornber/rio;2979a720f671e836302c01546f9cc9f7988610c8;rio-%commit%'
)
-inherit cargo
+LLVM_COMPAT=( {17..18} )
+
+inherit cargo llvm-r1
DESCRIPTION="A suite of tools for thin provisioning on Linux"
HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
@@ -161,7 +163,7 @@ else
https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="GPL-3"
@@ -170,6 +172,14 @@ LICENSE+=" Apache-2.0 BSD GPL-3 ISC MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
IUSE="io-uring"
+# Needed for bindgen
+BDEPEND="
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ ')
+ virtual/pkgconfig
+"
+
DOCS=(
CHANGES
COPYING