dev-cpp/xdgcfg: Version bump 0.4.0.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2019-08-02 09:44:12 +02:00
parent f3cc1ac105
commit 27e2edde44
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 31 additions and 13 deletions

View File

@ -1,13 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST 0.3.1.tar.gz 6299 BLAKE2B 868addb6d6c941d3007dec6ae084c0af4f2f161fd5c47ff32e5bbae04d3f34e925becf621f27d1fff2db273e2fb3cb2eaf36488877edf5cb2bcb42f62d43604a SHA512 0a5607d2459772177ef5d2ee7c4f4a4ff103f793d8049e14f88364dabf87f0b63fce2626ba083eae3ebdebcbff1dcf08ba672d5c197089c9c28ab9bf4e2fee6b
EBUILD xdgcfg-0.3.1.ebuild 706 BLAKE2B 422fae88226d966a8f33fbf457f30ffe99db94c48f99c4272c845fd61e665adf5a33a1edaf9fe25839ca336f1a68fc49cabd9141c99bbf094d9ab0ef9f4b960b SHA512 8e7611acef1c9f83e4ba8d63f97a6747ea01c2989fea7aef2b3ee7ec275a38a8bcc0fd6a9153951651d1108f70ab7b7079d613e4fc738f4ab8090a37f683cedc
DIST 0.4.0.tar.gz 6361 BLAKE2B f597efdba123dfbf58680d5aa7b00c8120920569cd79e23e3f0ea2a8fa152600a0720719bea572d41ac72b51434193cfa2153fb96f9cb933057a6f65864ac70e SHA512 7232e9cab350155f2830b85615222ffe5146d8508d20c276e9e242cf08eec2398ce523ce469a7c0b3f18d631c58790c9533904630576a462d74f1c14e77d9dfe
EBUILD xdgcfg-0.4.0.ebuild 903 BLAKE2B c32fd4542c098060defe1e1e4ec631214d8150a88e39ded2ee2b4168c1251f7e71020ae7eef1cde1f67602b859f0ec706f86e128ceab031b3105a711a649b929 SHA512 8316430533d928e5345c56098f1541df8856378a56d447497185ba5df696ee1bcc1329c312aa59f6bddc7ab23a1bf4bdf45df7855fb8473f3d8c3b41162946f0
MISC metadata.xml 517 BLAKE2B 92b4f4a82d463c752b950c01cfab624fc5d5f0fd2d2ef396fe4536fea8a325e07b92b7a38d76dcb59d5deab719cb7f31fad737cb879a787d7c866463a75064ff SHA512 14e1823026bee1e15f1f2cbf066bcd229ce4e54c713835b00f48bf034e7994372cb769b552403b00999a4f2e0ebeb9a6b95e0e3e1e00a9efc2724ea3af9c0039
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXTUg2QAKCRDPw5SX8bJu
BwChAP4gVp6BpIvVrvAr9hmQH7CcSFIruMetRHewFG/nrwGw3wD8CfLchS1ze7Av
pDqcXeucwAmfDkTb5mCrgx/se6ZWDEc=
=8TLe
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXUPpzAAKCRDPw5SX8bJu
BzvaAP0UEYrXNE16LJloUE4xOgXfjqI9HCnyqgq5ZNcDzQGTFAD/cMBgxqpzBHdR
rvp3oGVMzKHXb/Gac8Fjnl2BLGKkBOk=
=GbZw
-----END PGP SIGNATURE-----

View File

@ -12,12 +12,17 @@ SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
IUSE="doc examples test"
RDEPEND="dev-libs/libconfig[cxx]"
RDEPEND="
dev-libs/libconfig[cxx]
dev-libs/libxdg-basedir
"
DEPEND="
${RDEPEND}
test? ( dev-cpp/catch )"
test? ( dev-cpp/catch )
doc? ( app-doc/doxygen )
"
S="${WORKDIR}/${PN}"
@ -29,9 +34,22 @@ src_configure() {
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use examples; then
dodoc src/example.cpp
src_compile() {
cmake-utils_src_compile
if use doc; then
./build_doc.sh
fi
}
src_install() {
if use doc; then
HTML_DOCS="doc/html/*"
fi
cmake-utils_src_install
if use examples; then
dodoc examples/example.cpp
fi
}