commit:     30502b86932ece1e88e9f4a58c1875efe5dc907c
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Thu Jan  1 23:00:17 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  1 23:06:58 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30502b86

dev-libs/capstone: Add USE=static-libs

Closes: https://bugs.gentoo.org/964775
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/45229
Closes: https://github.com/gentoo/gentoo/pull/45229
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/capstone/{capstone-5.0.6.ebuild => capstone-5.0.6-r1.ebuild} | 4 ++--
 .../{capstone-6.0.0_alpha4.ebuild => capstone-6.0.0_alpha4-r1.ebuild} | 4 ++--
 .../{capstone-6.0.0_alpha5.ebuild => capstone-6.0.0_alpha5-r1.ebuild} | 4 ++--
 dev-libs/capstone/capstone-9999.ebuild                                | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-libs/capstone/capstone-5.0.6.ebuild 
b/dev-libs/capstone/capstone-5.0.6-r1.ebuild
similarity index 95%
rename from dev-libs/capstone/capstone-5.0.6.ebuild
rename to dev-libs/capstone/capstone-5.0.6-r1.ebuild
index 259bdea3652e..cb1f36d61c09 100644
--- a/dev-libs/capstone/capstone-5.0.6.ebuild
+++ b/dev-libs/capstone/capstone-5.0.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -72,7 +72,7 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=true
-               -DBUILD_STATIC_LIBS=false
+               -DBUILD_STATIC_LIBS="$(usex static-libs)"
                -DCAPSTONE_BUILD_TESTS="$(usex test)"
        )
        cmake_src_configure

diff --git a/dev-libs/capstone/capstone-6.0.0_alpha4.ebuild 
b/dev-libs/capstone/capstone-6.0.0_alpha4-r1.ebuild
similarity index 95%
rename from dev-libs/capstone/capstone-6.0.0_alpha4.ebuild
rename to dev-libs/capstone/capstone-6.0.0_alpha4-r1.ebuild
index 7324c40d1444..adefe9799224 100644
--- a/dev-libs/capstone/capstone-6.0.0_alpha4.ebuild
+++ b/dev-libs/capstone/capstone-6.0.0_alpha4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -71,7 +71,7 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DCAPSTONE_BUILD_SHARED_LIBS=true
-               -DCAPSTONE_BUILD_STATIC_LIBS=false
+               -DCAPSTONE_BUILD_STATIC_LIBS="$(usex static-libs)"
        )
        cmake_src_configure
 

diff --git a/dev-libs/capstone/capstone-6.0.0_alpha5.ebuild 
b/dev-libs/capstone/capstone-6.0.0_alpha5-r1.ebuild
similarity index 95%
rename from dev-libs/capstone/capstone-6.0.0_alpha5.ebuild
rename to dev-libs/capstone/capstone-6.0.0_alpha5-r1.ebuild
index 7324c40d1444..adefe9799224 100644
--- a/dev-libs/capstone/capstone-6.0.0_alpha5.ebuild
+++ b/dev-libs/capstone/capstone-6.0.0_alpha5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -71,7 +71,7 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DCAPSTONE_BUILD_SHARED_LIBS=true
-               -DCAPSTONE_BUILD_STATIC_LIBS=false
+               -DCAPSTONE_BUILD_STATIC_LIBS="$(usex static-libs)"
        )
        cmake_src_configure
 

diff --git a/dev-libs/capstone/capstone-9999.ebuild 
b/dev-libs/capstone/capstone-9999.ebuild
index 755a58e143a2..bc14a916b36a 100644
--- a/dev-libs/capstone/capstone-9999.ebuild
+++ b/dev-libs/capstone/capstone-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -73,7 +73,7 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DCAPSTONE_BUILD_SHARED_LIBS=true
-               -DCAPSTONE_BUILD_STATIC_LIBS=false
+               -DCAPSTONE_BUILD_STATIC_LIBS="$(usex static-libs)"
        )
        cmake_src_configure
 

Reply via email to