commit: b3bb4ed7d5aada3e65d97e20e8bf7fe52d8abde4 Author: Huang Rui <vowstar <AT> gmail <DOT> com> AuthorDate: Fri Oct 4 10:17:34 2024 +0000 Commit: Rui Huang <vowstar <AT> gmail <DOT> com> CommitDate: Fri Oct 4 10:17:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3bb4ed7
dev-libs/gpds: add 1.9.0 Signed-off-by: Huang Rui <vowstar <AT> gmail.com> dev-libs/gpds/Manifest | 1 + dev-libs/gpds/gpds-1.9.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest index ed9a6882f..13dd7fc74 100644 --- a/dev-libs/gpds/Manifest +++ b/dev-libs/gpds/Manifest @@ -1 +1,2 @@ DIST gpds-1.8.4.tar.gz 875582 BLAKE2B f4ddb017e381708f6b0de2d32fe8802cd6e79000b9d238351564b71aac2bf7045954a7244dcc06f12ed1d43aeb046d56bbfe45bc64155d42d3d025b9e48cdf2d SHA512 dcf586dbb79335667a679038d366d1314aeb46357b1d1a5907b8a492cc31560a95371ec967be0ea388ca9744d864e1740031f9f6273450bc2361bb74e76df355 +DIST gpds-1.9.0.tar.gz 876422 BLAKE2B f2d60588e5e4bf305670db2342b2537ddb607a8f578fef095900f91c686008a1e2f0fbe80b6c9b45600d7314dc992bea7a9c4bbb146450df76b0f39540808f0c SHA512 8f77e329559a2ee89b9a540e13ab94bf45eb3ce928aebe2f57494e3415df919983befec126471f92b40e5345e54bf64263d2e1e00a34e9bfa25fe3521857dccc diff --git a/dev-libs/gpds/gpds-1.9.0.ebuild b/dev-libs/gpds/gpds-1.9.0.ebuild new file mode 100644 index 000000000..da398d0df --- /dev/null +++ b/dev-libs/gpds/gpds-1.9.0.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 +}