dev-cpp/identiconpp: New package

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2018-12-26 05:10:11 +01:00
parent 57d68126de
commit b98bb26f44
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
EBUILD identiconpp-9999.ebuild 1160 BLAKE2B 13400483c12bb14a858712e359443f23c64fc80e28abf4e8ac81c694507cba4d38564ca8388c73f50242a8eeb54d031dcd6ba62e82059ee7f447326c11ab6f2e SHA512 f921b22cd39ac1d0ab5c5dcf31756a22349538c0ebb25447f29a61f9dc9f41bc0e00128d5f88642f3d766afbdcd4873c4f7cc44e5b09a34cd60979e01a22c2cf
MISC metadata.xml 351 BLAKE2B 71ac0893a9aba22d39b57647195232d4012c98b5d6f8551638f124bf474188d4177f4861325f218ee86042caf04f84a7b7ae3fb8f68bb8228af660219df666ed SHA512 baac3c95f337d0d6b89b673063f710627650028c8c581e8eda0ac14b7bd8043efe5b8ce767cd8ee9e3e5dc7f7a434e403e7426371e3573ed7e5ec932abf5a7e6
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXCL/IwAKCRDPw5SX8bJu
ByRnAQCFJKQ9a7Ipm+CftlNgGvNztc8C/pmj8mRwJcfaRteSvgD/WQfD7pO+CXih
Z1oyIeSihBS5Vzci5+wIN7dp6eOGxZs=
=zAf2
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,63 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
fi
DESCRIPTION="Library to generate identicons. Written in C++."
HOMEPAGE="https://schlomp.space/tastytea/identiconpp"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://schlomp.space/tastytea/identiconpp.git"
else
SRC_URI="https://schlomp.space/tastytea/identiconpp/archive/${PV}.tar.gz
-> ${P}.tar.gz"
fi
LICENSE="GPL-3"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
IUSE="doc examples"
RDEPEND="
media-gfx/imagemagick[png]
"
DEPEND="
dev-util/cmake
doc? ( app-doc/doxygen )
${RDEPEND}
"
if [[ "${PV}" != "9999" ]]; then
S="${WORKDIR}/${PN}"
fi
src_prepare() {
cmake-utils_src_prepare
sed -i "s|\${CMAKE_INSTALL_DOCDIR}|\${CMAKE_INSTALL_DATAROOTDIR}/doc/${P}|" \
CMakeLists.txt || die "Modification of CMAKE_INSTALL_DOCDIR failed."
if use doc; then
HTML_DOCS="doc/html/*"
fi
if use examples; then
DOCS+=(example.cpp)
fi
}
src_compile() {
cmake-utils_src_compile
if use doc; then
./build_doc.sh
fi
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>tastytea</name>
</maintainer>
<upstream>
<bugs-to>https://schlomp.space/tastytea/libravatarserv/issues</bugs-to>
</upstream>
</pkgmetadata>