diff options
author | Huang Rui <vowstar@gmail.com> | 2024-02-17 23:38:16 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2024-02-17 23:42:39 +0800 |
commit | 926a6bfd9acaee25835c640098bf2314526fb038 (patch) | |
tree | 189e6828f00d57bf947b186a876ab33738c64d1d /dev-libs | |
parent | media-video/obs-vkcapture: add 1.4.9 (diff) | |
download | guru-926a6bfd9acaee25835c640098bf2314526fb038.tar.gz guru-926a6bfd9acaee25835c640098bf2314526fb038.tar.bz2 guru-926a6bfd9acaee25835c640098bf2314526fb038.zip |
dev-libs/gpds: bump to 1.8.3
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gpds/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gpds/gpds-1.8.3.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest index 85b2531aa..fe45aaa98 100644 --- a/dev-libs/gpds/Manifest +++ b/dev-libs/gpds/Manifest @@ -1,2 +1,3 @@ DIST gpds-1.6.0.tar.gz 874971 BLAKE2B bc139365d5ed2ece5ab1b21c47830477e497a2a4bd8d489b801ceab91f815d022f1f8a1241d2724264d651c55d88674c7a4d4e7f8ee55e6f8049c48fb950c3ff SHA512 bf916c5542c9dc13e6febbe605fd2268f14dec94e29ead604359b51b8adbfc12538f905024b43b4d838ba39033beab89d89693a571a1e0a482e44ccdb6e32133 DIST gpds-1.7.0.tar.gz 874784 BLAKE2B 6ab3edb5cda6e578695d3c7b79b57e8995e777bfafac603813ba06890811ac1ff0a3b41f7b8efe7dfc0a675c5799d60c9889760fa6ddab82a01e0219ab96eb9b SHA512 c51c9a96363a213084997d5705a2899ad3183527a1fb4567b1eef2ad68b7f3ad2c70068f7e648471a56c377a518be30cadcba7d8e2a928a6ad1d1300dc40b102 +DIST gpds-1.8.3.tar.gz 875674 BLAKE2B 18f4a8633960e68529255d2625d03bb652c30dc239969f97e9f1ac99031c104f3706bb55c7c755abb304889e9e6747ff76a16c4233f092f9175550280f80a6b9 SHA512 a981c2d136bd4e5cd81ddc457252fa8e87353f63bc8e00d42a8c4a9e6daa8e6b9fd5a18a11c402c1cfe9885f8ba5f995f97cb5ea2aa69e1339b02e4d66f08d43 diff --git a/dev-libs/gpds/gpds-1.8.3.ebuild b/dev-libs/gpds/gpds-1.8.3.ebuild new file mode 100644 index 000000000..448e5e5ac --- /dev/null +++ b/dev-libs/gpds/gpds-1.8.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 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 +spdlog static-libs test" +RESTRICT="!test? ( test )" +DEPEND="${RDEPEND}" + +DOCS=( license.txt readme.md ) + +src_prepare() { + cmake_src_prepare + use static-libs || sed -i -e '/TARGET-STATIC/d' "${S}"/lib/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DGPDS_BUILD_EXAMPLES=$(usex examples) + -DGPDS_BUILD_TESTS=$(usex test) + -DGPDS_FEATURE_SPDLOG=$(usex spdlog) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die +} |