diff --git a/dev-cpp/identiconpp/Manifest b/dev-cpp/identiconpp/Manifest new file mode 100644 index 0000000..287d80f --- /dev/null +++ b/dev-cpp/identiconpp/Manifest @@ -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----- diff --git a/dev-cpp/identiconpp/identiconpp-9999.ebuild b/dev-cpp/identiconpp/identiconpp-9999.ebuild new file mode 100644 index 0000000..fa334d5 --- /dev/null +++ b/dev-cpp/identiconpp/identiconpp-9999.ebuild @@ -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 +} diff --git a/dev-cpp/identiconpp/metadata.xml b/dev-cpp/identiconpp/metadata.xml new file mode 100644 index 0000000..0fc9f5f --- /dev/null +++ b/dev-cpp/identiconpp/metadata.xml @@ -0,0 +1,11 @@ + + + + + gentoo@tastytea.de + tastytea + + + https://schlomp.space/tastytea/libravatarserv/issues + +