mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-libs/gpds: new package, add 1.6.0, 1.7.0
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
2
dev-libs/gpds/Manifest
Normal file
2
dev-libs/gpds/Manifest
Normal file
@@ -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
|
||||
42
dev-libs/gpds/gpds-1.6.0.ebuild
Normal file
42
dev-libs/gpds/gpds-1.6.0.ebuild
Normal file
@@ -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}" == "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="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
|
||||
}
|
||||
42
dev-libs/gpds/gpds-1.7.0.ebuild
Normal file
42
dev-libs/gpds/gpds-1.7.0.ebuild
Normal file
@@ -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}" == "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="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
|
||||
}
|
||||
17
dev-libs/gpds/metadata.xml
Normal file
17
dev-libs/gpds/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">simulton/gpds</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
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).
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user