commit:     7b19c5eec59fc80a25428745d99748e0a71facee
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Feb 18 05:10:16 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Feb 18 05:10:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b19c5ee

dev-libs/gpds: add 1.8.4

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-libs/gpds/Manifest          |  1 +
 dev-libs/gpds/gpds-1.8.4.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest
index e4b0dcbb7a..7139fed168 100644
--- a/dev-libs/gpds/Manifest
+++ b/dev-libs/gpds/Manifest
@@ -1 +1,2 @@
 DIST gpds-1.8.3.tar.gz 875674 BLAKE2B 
18f4a8633960e68529255d2625d03bb652c30dc239969f97e9f1ac99031c104f3706bb55c7c755abb304889e9e6747ff76a16c4233f092f9175550280f80a6b9
 SHA512 
a981c2d136bd4e5cd81ddc457252fa8e87353f63bc8e00d42a8c4a9e6daa8e6b9fd5a18a11c402c1cfe9885f8ba5f995f97cb5ea2aa69e1339b02e4d66f08d43
+DIST gpds-1.8.4.tar.gz 875582 BLAKE2B 
f4ddb017e381708f6b0de2d32fe8802cd6e79000b9d238351564b71aac2bf7045954a7244dcc06f12ed1d43aeb046d56bbfe45bc64155d42d3d025b9e48cdf2d
 SHA512 
dcf586dbb79335667a679038d366d1314aeb46357b1d1a5907b8a492cc31560a95371ec967be0ea388ca9744d864e1740031f9f6273450bc2361bb74e76df355

diff --git a/dev-libs/gpds/gpds-1.8.4.ebuild b/dev-libs/gpds/gpds-1.8.4.ebuild
new file mode 100644
index 0000000000..da398d0dfa
--- /dev/null
+++ b/dev-libs/gpds/gpds-1.8.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A general purpose data serializer"
+HOMEPAGE="https://gpds.simulton.com";
+
+if [[ "${PV}" == "9999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/simulton/${PN}.git";
+else
+       SRC_URI="https://github.com/simulton/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+       S="${WORKDIR}/${PN}-${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="examples static-libs test"
+RESTRICT="!test? ( test )"
+DEPEND="${RDEPEND}"
+
+DOCS=( license.txt readme.md )
+
+src_configure() {
+       local mycmakeargs=(
+               -DGPDS_BUILD_STATIC=$(usex static-libs)
+               -DGPDS_BUILD_SHARED=ON
+               -DGPDS_BUILD_TESTS=$(usex test)
+               -DGPDS_BUILD_EXAMPLES=$(usex examples)
+       )
+
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+}

Reply via email to