dev-cpp/xdgpp: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-07-04 09:25:23 +02:00
parent b49dbb241c
commit efac657499
3 changed files with 65 additions and 0 deletions

9
dev-cpp/xdgpp/Manifest Normal file
View File

@@ -0,0 +1,9 @@
DIST xdgpp-01.patch 18645 BLAKE2B 37f28e5c10c53995d03aa0c0d67c8551760ead077cc60051ce45bce100cce9466fdaf954c8aed8b762fbed8b1cc6d693257aefe71e1e3cc578adb5e6af1cce91 SHA512 76ef4a01d034ea07c804fc0af0d3068b7d25b4c121a5e1fc4061792c69296d1c2765a0bbc4c2f9b994740bcba4f084b0b6e3c2cdbdcec4d87a9d05776ec8943d
DIST xdgpp-02.patch 1686 BLAKE2B c7e1627e1aa7c419973b1c7a029932d2ba3b4dd2899dd776cbe2ab6f3b0c7488592c1e90e8012c6b79adf2fbfeb9b655ffab6e92f3c294ee3e35c4041c6cd272 SHA512 49ed9458307e177390c4af53d5bce0901f9ef3310f6d00a7def418de27e560a836b6065624abaf805475e89016939d72fc776c59301b39e5c279d410581ee538
DIST xdgpp-03.patch 2242 BLAKE2B 62ea3037e99070450ea127452cbebfdddce2821e6479cf47cf62c58a7c9a8844fe3d4e29c48c4f82b0121925e44e5a5c7b5ee0ec1ffb0612de2ab640f67937d0 SHA512 d0fcce9c37ddbdcf035b4f1a353a41c2a9742156341e7350b5af9b5078860a05ed67db70f90af44352bc51936bb15eaa89bbfde20164de089766a9be3a1ff10b
DIST xdgpp-04.patch 941 BLAKE2B 77154c1d6c3639e6bdd7914acefc4b8c3080fdf5a1926546de44db352e01b49109ccc45148ce1a02108e8b7f6280acffb71c3e56125556324503c60da9d2324c SHA512 eae051f9ccc3682a37e57f41a608bb3b292f9e757aa8b1533a11a9599b89a3c97f68d50f2c45d41f7cb3259cb1ed6286871ddded67080fd188d15721a09b1b1b
DIST xdgpp-05.patch 1468 BLAKE2B 2f105c5a061b5457303e450e97fa0c6bb9b4bce105c13374feef01dd412bae6857121433380a92fb5f9d01cb37f9868d87f3b8763058d24d40fd6e672e678cc8 SHA512 5fbefbe80da2903dd994f9d306240026802532f0c6f667b7cd624928ecb6ee7fddd97694184aff7129f4a809467390f2d6aec689cf20d82366c8404444b0095c
DIST xdgpp-06.patch 1554 BLAKE2B fbe5a9971230086c8db6ef8c8b6b06c52edcb37019f10c0c7639cedc0caa945c33a5c1d8c82b31284b2b9960d46b1380e5f71ca74a95c624cf1053a0b2cee97c SHA512 1040133d4ce1214f1e6006487481eae1906220348ec12b524af0f43d88030a487d26b22822225120f4bc032634d5ea7feba6d0cc1d18449afb91a1bea9717a0e
DIST xdgpp-07.patch 783 BLAKE2B a929f12664a3e0c843a267572ce09da668fdeb564333f6570662e430b8a595688a432c3147a97b965f1441bffc3a6ed1e98de331435b38e03b6466533abfd8c4 SHA512 8857a95fc47e6819c16f8596f1136795d1eefce71b0f59124d79dcbfb8181134acc9fc53bff66efbaf92fc51ada46604e9777d4e519ad126b0c4a3f4a33b9f8f
DIST xdgpp-08.patch 776 BLAKE2B 88acef3e9548fd28d641ddbc1d4675946cf91a54164df172e1b81495ef0ccda0e782827d2a777ffb9b4e0329138078c40675b1d363c2a061570ecdd91fd12f06 SHA512 f9b58d41e4c796d985d1515f1b836d4b64c0c154635c5281d004a376220e8ba7550aa8f9bb72fa56af81292cde6a72d5a36d0fdf59b69b34a68f927bc6d27d52
DIST xdgpp-09.patch 1283 BLAKE2B 4c0ae66928f1e3ff54d9e10028d8bbc406ae193ff884e54ec4170ba4874de42f596a27e3de03257bd181d8bee8604feeb0994afacf1e6039797ed9d60ef1aee4 SHA512 4136f81242b9078620549ac70128b348225815f141e6fb5ca8e76e54ec25f0ebc9cfec655ac92f397d8934d8189aa6ebf20220f41db1c87ee6dcf69d6944d913

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="C++17 header-only implementation of the XDG Base Directory Specification"
HOMEPAGE="https://sr.ht/~danyspin97/xdgpp"
SRC_URI="
https://git.sr.ht/~danyspin97/xdgpp/commit/d41f2b8189619f27aca1b6f1bf7b1ef4af8bb482.patch -> ${PN}-01.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/3ca427d179412892a111b879a4253b146ba94b0c.patch -> ${PN}-02.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/0067fd493a92eb83dba701f010673509e0739f90.patch -> ${PN}-03.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/64af46f747c0d341f02bc5940b51676a58edf805.patch -> ${PN}-04.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/3fc23f3bdafb3c6257550899c0ee961a3dde4ead.patch -> ${PN}-05.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/fe313459e66daf6a07eeaeb04f4af8026b00d17a.patch -> ${PN}-06.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/8876042883b2e78382c0d4ba945a6d254f860728.patch -> ${PN}-07.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/04e34105c5e227ee061ee592cf4d75ef8a33f716.patch -> ${PN}-08.patch
https://git.sr.ht/~danyspin97/xdgpp/commit/f01f810714443d0f10c333d4d1d9c0383be41375.patch -> ${PN}-09.patch
"
S="${WORKDIR}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
DEPEND="test? ( dev-cpp/catch )"
RESTRICT="!test? ( test )"
PATCHES=(
"${DISTDIR}/${PN}-01.patch"
"${DISTDIR}/${PN}-02.patch"
"${DISTDIR}/${PN}-03.patch"
"${DISTDIR}/${PN}-04.patch"
"${DISTDIR}/${PN}-05.patch"
"${DISTDIR}/${PN}-06.patch"
"${DISTDIR}/${PN}-07.patch"
"${DISTDIR}/${PN}-08.patch"
"${DISTDIR}/${PN}-09.patch"
)
src_install() {
doheader xdg.hpp
dodoc README.md
}
src_test() {
emake test
}