[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 084e10932ad5b4df942804531e8d379d22823d1e Author: Huang Rui gmail com> AuthorDate: Mon Feb 19 02:40:27 2024 + Commit: Rui Huang gmail com> CommitDate: Mon Feb 19 02:40:27 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=084e1093 dev-libs/gpds: drop 1.8.3 Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/Manifest | 1 - dev-libs/gpds/gpds-1.8.3.ebuild | 47 - 2 files changed, 48 deletions(-) diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest index 7139fed168..ed9a6882fa 100644 --- a/dev-libs/gpds/Manifest +++ b/dev-libs/gpds/Manifest @@ -1,2 +1 @@ -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.3.ebuild b/dev-libs/gpds/gpds-1.8.3.ebuild deleted file mode 100644 index 308bccb737..00 --- a/dev-libs/gpds/gpds-1.8.3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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}" == "" ]] ; 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_STATIC=$(usex static-libs) - -DGPDS_BUILD_SHARED=ON - -DGPDS_BUILD_TESTS=$(usex test) - -DGPDS_BUILD_EXAMPLES=$(usex examples) - -DGPDS_FEATURE_SPDLOG=$(usex spdlog) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: e06770293d49f1bb063a53508e89c45461dc794f Author: Huang Rui gmail com> AuthorDate: Mon Feb 19 02:42:17 2024 + Commit: Rui Huang gmail com> CommitDate: Mon Feb 19 02:42:17 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0677029 dev-libs/gpds: removed unused spdlog use flag Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/metadata.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev-libs/gpds/metadata.xml b/dev-libs/gpds/metadata.xml index fd1bd6491e..b21fd6d6de 100644 --- a/dev-libs/gpds/metadata.xml +++ b/dev-libs/gpds/metadata.xml @@ -5,9 +5,6 @@ vows...@gmail.com Huang Rui - - Enable spdlog sink feature - simulton/gpds https://github.com/simulton/gpds/issues
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: dfad5f924b1381de965bba719dbc837fbb849ec6 Author: Huang Rui gmail com> AuthorDate: Sun Feb 18 07:56:40 2024 + Commit: Rui Huang gmail com> CommitDate: Sun Feb 18 08:00:53 2024 + 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 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 }
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 8c4ed017eaee87750cdd560cecb34cc1b6d7d068 Author: Huang Rui gmail com> AuthorDate: Sun Feb 18 07:39:24 2024 + Commit: Rui Huang gmail com> CommitDate: Sun Feb 18 07:39:24 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c4ed017 dev-libs/gpds: fix installs .a without static-libs USE Closes: https://bugs.gentoo.org/924853 Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/gpds-1.8.3.ebuild | 2 +- dev-libs/gpds/gpds-1.8.4.ebuild | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/gpds/gpds-1.8.3.ebuild b/dev-libs/gpds/gpds-1.8.3.ebuild index 448e5e5ace..b4340764b5 100644 --- a/dev-libs/gpds/gpds-1.8.3.ebuild +++ b/dev-libs/gpds/gpds-1.8.3.ebuild @@ -42,5 +42,5 @@ src_configure() { src_install() { cmake_src_install - # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die + 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 da398d0dfa..0f02dffe4c 100644 --- a/dev-libs/gpds/gpds-1.8.4.ebuild +++ b/dev-libs/gpds/gpds-1.8.4.ebuild @@ -38,4 +38,5 @@ src_configure() { src_install() { cmake_src_install + use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die }
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 7b19c5eec59fc80a25428745d99748e0a71facee Author: Huang Rui gmail com> AuthorDate: Sun Feb 18 05:10:16 2024 + Commit: Rui Huang gmail com> CommitDate: Sun Feb 18 05:10:16 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b19c5ee dev-libs/gpds: add 1.8.4 Signed-off-by: Huang Rui 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 00..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}" == "" ]] ; 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 +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 926a6bfd9acaee25835c640098bf2314526fb038 Author: Huang Rui gmail com> AuthorDate: Sat Feb 17 15:38:16 2024 + Commit: Rui Huang gmail com> CommitDate: Sat Feb 17 15:42:39 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=926a6bfd dev-libs/gpds: bump to 1.8.3 Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/Manifest | 1 + dev-libs/gpds/gpds-1.8.3.ebuild | 46 + 2 files changed, 47 insertions(+) diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest index 85b2531aa5..fe45aaa986 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 00..448e5e5ace --- /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}" == "" ]] ; 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 +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 7e451454446a8ec1008372d27c74e4f04736accb Author: Huang Rui gmail com> AuthorDate: Sat Feb 17 15:39:27 2024 + Commit: Rui Huang gmail com> CommitDate: Sat Feb 17 15:42:40 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e451454 dev-libs/gpds: drop 1.6.0-r1, 1.7.0-r1 Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/Manifest | 2 -- dev-libs/gpds/gpds-1.6.0-r1.ebuild | 46 -- dev-libs/gpds/gpds-1.7.0-r1.ebuild | 46 -- 3 files changed, 94 deletions(-) diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest index fe45aaa986..e4b0dcbb7a 100644 --- a/dev-libs/gpds/Manifest +++ b/dev-libs/gpds/Manifest @@ -1,3 +1 @@ -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.6.0-r1.ebuild b/dev-libs/gpds/gpds-1.6.0-r1.ebuild deleted file mode 100644 index 448e5e5ace..00 --- a/dev-libs/gpds/gpds-1.6.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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}" == "" ]] ; 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 -} diff --git a/dev-libs/gpds/gpds-1.7.0-r1.ebuild b/dev-libs/gpds/gpds-1.7.0-r1.ebuild deleted file mode 100644 index 448e5e5ace..00 --- a/dev-libs/gpds/gpds-1.7.0-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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}" == "" ]] ; 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 7f711447797fb68fdf8651ba638f3221b7a09035 Author: Huang Rui gmail com> AuthorDate: Mon Nov 20 04:14:07 2023 + Commit: Rui Huang gmail com> CommitDate: Mon Nov 20 04:14:07 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f711447 dev-libs/gpds: fix issue with static linking targets in CMake Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/{gpds-1.6.0.ebuild => gpds-1.6.0-r1.ebuild} | 14 +- dev-libs/gpds/{gpds-1.7.0.ebuild => gpds-1.7.0-r1.ebuild} | 14 +- dev-libs/gpds/metadata.xml| 11 +++ 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/dev-libs/gpds/gpds-1.6.0.ebuild b/dev-libs/gpds/gpds-1.6.0-r1.ebuild similarity index 71% rename from dev-libs/gpds/gpds-1.6.0.ebuild rename to dev-libs/gpds/gpds-1.6.0-r1.ebuild index 92cd1d1aa4..448e5e5ace 100644 --- a/dev-libs/gpds/gpds-1.6.0.ebuild +++ b/dev-libs/gpds/gpds-1.6.0-r1.ebuild @@ -19,18 +19,22 @@ fi LICENSE="MIT" SLOT="0" -IUSE="static-libs test" +IUSE="examples +spdlog static-libs test" RESTRICT="!test? ( test )" -RDEPEND="" DEPEND="${RDEPEND}" -BDEPEND="" 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=ON + -DGPDS_FEATURE_SPDLOG=$(usex spdlog) ) cmake_src_configure @@ -38,5 +42,5 @@ src_configure() { src_install() { cmake_src_install - use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die + # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die } diff --git a/dev-libs/gpds/gpds-1.7.0.ebuild b/dev-libs/gpds/gpds-1.7.0-r1.ebuild similarity index 71% rename from dev-libs/gpds/gpds-1.7.0.ebuild rename to dev-libs/gpds/gpds-1.7.0-r1.ebuild index 92cd1d1aa4..448e5e5ace 100644 --- a/dev-libs/gpds/gpds-1.7.0.ebuild +++ b/dev-libs/gpds/gpds-1.7.0-r1.ebuild @@ -19,18 +19,22 @@ fi LICENSE="MIT" SLOT="0" -IUSE="static-libs test" +IUSE="examples +spdlog static-libs test" RESTRICT="!test? ( test )" -RDEPEND="" DEPEND="${RDEPEND}" -BDEPEND="" 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=ON + -DGPDS_FEATURE_SPDLOG=$(usex spdlog) ) cmake_src_configure @@ -38,5 +42,5 @@ src_configure() { src_install() { cmake_src_install - use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die + # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die } diff --git a/dev-libs/gpds/metadata.xml b/dev-libs/gpds/metadata.xml index 6648fc63bf..fd1bd6491e 100644 --- a/dev-libs/gpds/metadata.xml +++ b/dev-libs/gpds/metadata.xml @@ -5,8 +5,13 @@ vows...@gmail.com Huang Rui + + Enable spdlog sink feature + simulton/gpds + https://github.com/simulton/gpds/issues + https://github.com/simulton/gpds/releases GPDS is a General Purpose Data Serializer library written in modern C++. @@ -17,4 +22,10 @@ attributes in the resulting XML compared to just using traditional "key" and "value" tags. + + GPDS 是一个用现代 C++ 编写的通用数据序列化器库。它允许以通用格式将 C++ + 类与 XML 文件序列化,该通用格式可以由其他 XML 处理软件处理(或只是为了 + 可读性)。与仅使用传统的“键”和“值”标签相比,GPDS 使用户能够完全控制生成 + 的标签名称和结果 XML 中的属性。 +
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 22be82b41ff961ab4f8779b8979ab4322dba8e49 Author: Huang Rui gmail com> AuthorDate: Sun Oct 8 10:50:12 2023 + Commit: Rui Huang gmail com> CommitDate: Sun Oct 8 10:50:12 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22be82b4 dev-libs/gpds: improve longdescription Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/metadata.xml | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-libs/gpds/metadata.xml b/dev-libs/gpds/metadata.xml index 65ab933314..6648fc63bf 100644 --- a/dev-libs/gpds/metadata.xml +++ b/dev-libs/gpds/metadata.xml @@ -9,9 +9,12 @@ simulton/gpds - GPDS is a General Purpose Data Serializer implemented as a very small - C++ library. It allows to serialize C++ classes to and from XML/YAML - files in a generic format that can be processed by other XML/YAML - processing software (or just for the sake of readability). + GPDS is a General Purpose Data Serializer library written in modern C++. + It allows to serialize C++ classes to and from XML files in a generic format + that can be processed by other XML processing software (or just for the sake of + readability). + GPDS provides the user with complete control over the generated tag names and + attributes in the resulting XML compared to just using traditional "key" and + "value" tags.
[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/
commit: 1708f36056b33c7a49fad2e1e13b1713507b6e2f Author: Huang Rui gmail com> AuthorDate: Sun Oct 8 08:17:14 2023 + Commit: Rui Huang gmail com> CommitDate: Sun Oct 8 08:21:38 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1708f360 dev-libs/gpds: new package, add 1.6.0, 1.7.0 Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/Manifest | 2 ++ dev-libs/gpds/gpds-1.6.0.ebuild | 42 + dev-libs/gpds/gpds-1.7.0.ebuild | 42 + dev-libs/gpds/metadata.xml | 17 + 4 files changed, 103 insertions(+) diff --git a/dev-libs/gpds/Manifest b/dev-libs/gpds/Manifest new file mode 100644 index 00..85b2531aa5 --- /dev/null +++ b/dev-libs/gpds/Manifest @@ -0,0 +1,2 @@ +DIST gpds-1.6.0.tar.gz 874971 BLAKE2B bc139365d5ed2ece5ab1b21c47830477e497a2a4bd8d489b801ceab91f815d022f1f8a1241d2724264d651c55d88674c7a4d4e7f8ee55e6f8049c48fb950c3ff SHA512 bf916c5542c9dc13e6febbe605fd2268f14dec94e29ead604359b51b8adbfc12538f905024b43b4d838ba39033beab89d89693a571a1e0a482e44ccdb6e32133 +DIST gpds-1.7.0.tar.gz 874784 BLAKE2B 6ab3edb5cda6e578695d3c7b79b57e8995e777bfafac603813ba06890811ac1ff0a3b41f7b8efe7dfc0a675c5799d60c9889760fa6ddab82a01e0219ab96eb9b SHA512 c51c9a96363a213084997d5705a2899ad3183527a1fb4567b1eef2ad68b7f3ad2c70068f7e648471a56c377a518be30cadcba7d8e2a928a6ad1d1300dc40b102 diff --git a/dev-libs/gpds/gpds-1.6.0.ebuild b/dev-libs/gpds/gpds-1.6.0.ebuild new file mode 100644 index 00..92cd1d1aa4 --- /dev/null +++ b/dev-libs/gpds/gpds-1.6.0.ebuild @@ -0,0 +1,42 @@ +# 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}" == "" ]] ; 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="static-libs test" +RESTRICT="!test? ( test )" +RDEPEND="" +DEPEND="${RDEPEND}" +BDEPEND="" + +DOCS=( license.txt readme.md ) + +src_configure() { + local mycmakeargs=( + -DGPDS_BUILD_TESTS=$(usex test) + -DGPDS_FEATURE_SPDLOG=ON + ) + + cmake_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.7.0.ebuild b/dev-libs/gpds/gpds-1.7.0.ebuild new file mode 100644 index 00..92cd1d1aa4 --- /dev/null +++ b/dev-libs/gpds/gpds-1.7.0.ebuild @@ -0,0 +1,42 @@ +# 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}" == "" ]] ; 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="static-libs test" +RESTRICT="!test? ( test )" +RDEPEND="" +DEPEND="${RDEPEND}" +BDEPEND="" + +DOCS=( license.txt readme.md ) + +src_configure() { + local mycmakeargs=( + -DGPDS_BUILD_TESTS=$(usex test) + -DGPDS_FEATURE_SPDLOG=ON + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die +} diff --git a/dev-libs/gpds/metadata.xml b/dev-libs/gpds/metadata.xml new file mode 100644 index 00..65ab933314 --- /dev/null +++ b/dev-libs/gpds/metadata.xml @@ -0,0 +1,17 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + vows...@gmail.com + Huang Rui + + + simulton/gpds + + + GPDS is a General Purpose Data Serializer implemented as a very small + C++ library. It allows to serialize C++ classes to and from XML/YAML + files in a generic format that can be processed by other XML/YAML + processing software (or just for the sake of readability). + +