dev-cpp/identiconpp: Update eclass: cmake-utils → cmake.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fff3413347
commit
2b18f191cc
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
|
@ -42,8 +42,6 @@ if [[ "${PV}" != "9999" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
cmake-utils_src_prepare
|
|
||||||
|
|
||||||
if use doc; then
|
if use doc; then
|
||||||
HTML_DOCS="doc/html/*"
|
HTML_DOCS="doc/html/*"
|
||||||
fi
|
fi
|
||||||
|
@ -54,10 +52,12 @@ src_prepare() {
|
||||||
if use test; then
|
if use test; then
|
||||||
mycmakeargs+=(-DWITH_TESTS=YES)
|
mycmakeargs+=(-DWITH_TESTS=YES)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
cmake-utils_src_compile
|
cmake_src_compile
|
||||||
|
|
||||||
if use doc; then
|
if use doc; then
|
||||||
./build_doc.sh
|
./build_doc.sh
|
||||||
|
@ -65,5 +65,5 @@ src_compile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
BUILD_DIR="${BUILD_DIR}/tests" cmake-utils_src_test
|
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake-utils
|
inherit cmake
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
|
@ -42,8 +42,6 @@ if [[ "${PV}" != "9999" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
cmake-utils_src_prepare
|
|
||||||
|
|
||||||
if use doc; then
|
if use doc; then
|
||||||
HTML_DOCS="doc/html/*"
|
HTML_DOCS="doc/html/*"
|
||||||
fi
|
fi
|
||||||
|
@ -54,10 +52,12 @@ src_prepare() {
|
||||||
if use test; then
|
if use test; then
|
||||||
mycmakeargs+=(-DWITH_TESTS=YES)
|
mycmakeargs+=(-DWITH_TESTS=YES)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
cmake-utils_src_compile
|
cmake_src_compile
|
||||||
|
|
||||||
if use doc; then
|
if use doc; then
|
||||||
./build_doc.sh
|
./build_doc.sh
|
||||||
|
@ -65,5 +65,5 @@ src_compile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
BUILD_DIR="${BUILD_DIR}/tests" cmake-utils_src_test
|
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user