dev-cpp/identiconpp: Version bump: 0.7.2.
This commit is contained in:
parent
751546696b
commit
fff3413347
|
@ -1 +1,2 @@
|
||||||
DIST identiconpp-0.7.1.tar.gz 25597 BLAKE2B 77ecd5713818e41beba24d4ab007a4a579237b01bf170b121af3c69ee215d016fcaf8400e470bdea3acc7691c5041e42655a2a3030378285dc63dcdb29d86654 SHA512 81cbe1f5ad9821255deb02a21b8d5805266f91c15ad1755d1f40b0d96589268aceedb13ecf31cd7630efa47a052eff0edb6e0d725d7448bb4585737b61cde660
|
DIST identiconpp-0.7.1.tar.gz 25597 BLAKE2B 77ecd5713818e41beba24d4ab007a4a579237b01bf170b121af3c69ee215d016fcaf8400e470bdea3acc7691c5041e42655a2a3030378285dc63dcdb29d86654 SHA512 81cbe1f5ad9821255deb02a21b8d5805266f91c15ad1755d1f40b0d96589268aceedb13ecf31cd7630efa47a052eff0edb6e0d725d7448bb4585737b61cde660
|
||||||
|
DIST identiconpp-0.7.2.tar.gz 27378 BLAKE2B 25cd5181ade967dd925dbbf42588b16814dc049666173646fbedea7c1f60a6fa621533f8ab827dfa4957c66ec8727f3d41a244eeee00b1232942ea97d9622777 SHA512 9ae8f6e7287ac8036a82d48e3a814bbe23a4d77e73883c1619ecc0b57f48ddde08aa773feceb168495ddfd05af9f5114311680a7dabddcea89c713af3cefd60c
|
||||||
|
|
69
dev-cpp/identiconpp/identiconpp-0.7.2.ebuild
Normal file
69
dev-cpp/identiconpp/identiconpp-0.7.2.ebuild
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Library to generate identicons for 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 test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-gfx/imagemagick[png,cxx]
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
dev-util/cmake
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
test? ( dev-cpp/catch )
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ "${PV}" != "9999" ]]; then
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use doc; then
|
||||||
|
HTML_DOCS="doc/html/*"
|
||||||
|
fi
|
||||||
|
if use examples; then
|
||||||
|
DOCS+=(examples/example.cpp)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
mycmakeargs+=(-DWITH_TESTS=YES)
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake_src_compile
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
./build_doc.sh
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||||
|
}
|
Reference in New Issue
Block a user