commit:     dfad5f924b1381de965bba719dbc837fbb849ec6
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Feb 18 07:56:40 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Feb 18 08:00:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dfad5f92

dev-libs/gpds: catch up cmake option form upstream

Use new GPDS_BUILD_STATIC option to control static lib build

Closes: https://bugs.gentoo.org/924853
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-libs/gpds/gpds-1.8.3.ebuild | 7 ++++---
 dev-libs/gpds/gpds-1.8.4.ebuild | 1 -
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/gpds/gpds-1.8.3.ebuild b/dev-libs/gpds/gpds-1.8.3.ebuild
index b4340764b5..308bccb737 100644
--- a/dev-libs/gpds/gpds-1.8.3.ebuild
+++ b/dev-libs/gpds/gpds-1.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -32,8 +32,10 @@ src_prepare() {
 
 src_configure() {
        local mycmakeargs=(
-               -DGPDS_BUILD_EXAMPLES=$(usex examples)
+               -DGPDS_BUILD_STATIC=$(usex static-libs)
+               -DGPDS_BUILD_SHARED=ON
                -DGPDS_BUILD_TESTS=$(usex test)
+               -DGPDS_BUILD_EXAMPLES=$(usex examples)
                -DGPDS_FEATURE_SPDLOG=$(usex spdlog)
        )
 
@@ -42,5 +44,4 @@ src_configure() {
 
 src_install() {
        cmake_src_install
-       use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
 }

diff --git a/dev-libs/gpds/gpds-1.8.4.ebuild b/dev-libs/gpds/gpds-1.8.4.ebuild
index 0f02dffe4c..da398d0dfa 100644
--- a/dev-libs/gpds/gpds-1.8.4.ebuild
+++ b/dev-libs/gpds/gpds-1.8.4.ebuild
@@ -38,5 +38,4 @@ src_configure() {
 
 src_install() {
        cmake_src_install
-       use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
 }

Reply via email to