dev-libs/properties-cpp: disable tests for now
Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
parent
7a05aea538
commit
414ab2781e
@ -20,19 +20,20 @@ fi
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
# test? ( dev-cpp/gtest )
|
||||
#"
|
||||
|
||||
PATCHES=( "${FILESDIR}/optional_tests.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPROPERTIES_CPP_ENABLE_DOC_GENERATION=$(usex doc)
|
||||
-DPROPERTIES_CPP_BUILD_TESTS=$(usex test)
|
||||
-DPROPERTIES_CPP_BUILD_TESTS=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
@ -14,6 +14,8 @@ if [[ "${PV}" == 9999 ]]; then
|
||||
else
|
||||
COMMIT="45863e849b39c4921d6553e6d27e267a96ac7d77" # 9.4.2018
|
||||
SRC_URI="https://github.com/lib-cpp/properties-cpp/archive/"${COMMIT}".tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
@ -24,13 +26,14 @@ DEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
# test? ( dev-cpp/gtest )
|
||||
#"
|
||||
|
||||
#PATCHES=( "${FILESDIR}/optional_tests.patch" )
|
||||
PATCHES=( "${FILESDIR}/optional_tests.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPROPERTIES_CPP_ENABLE_DOC_GENERATION=$(usex doc)
|
||||
# -DPROPERTIES_CPP_BUILD_TESTS=$(usex test)
|
||||
-DPROPERTIES_CPP_BUILD_TESTS=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user