From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1601589-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7986D15808B
	for <garchives@archives.gentoo.org>; Sun, 18 Feb 2024 08:01:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 65225E2AC7;
	Sun, 18 Feb 2024 08:01:15 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 179FDE2AC7
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Feb 2024 08:01:15 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0D50A335C7E
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Feb 2024 08:01:14 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FF8B1065
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Feb 2024 08:01:12 +0000 (UTC)
From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" <vowstar@gmail.com>
Message-ID: <1708243253.dfad5f924b1381de965bba719dbc837fbb849ec6.vowstar@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-libs/gpds/gpds-1.8.3.ebuild dev-libs/gpds/gpds-1.8.4.ebuild
X-VCS-Directories: dev-libs/gpds/
X-VCS-Committer: vowstar
X-VCS-Committer-Name: Rui Huang
X-VCS-Revision: dfad5f924b1381de965bba719dbc837fbb849ec6
X-VCS-Branch: dev
Date: Sun, 18 Feb 2024 08:01:12 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4f4f2237-228f-45d9-bdcf-5f1f9628f1c9
X-Archives-Hash: 9380d341b99e17331932694dae4071d4
Message-ID: <20240218080112.UMZhvASWiG5MQHny0oFpivpTZ_Qn5TLyxdRauX7N2mM@z>

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
 }