diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-08-23 23:23:46 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-08-23 23:25:34 +0900 |
commit | 2bc8db79ebabd401fb909b8834d7cb723e510495 (patch) | |
tree | 09a3132a7e946b1efaf1f7d9457a970ba1099676 /app-i18n/opencc/opencc-1.0.5.ebuild | |
parent | app-i18n/opencc: drop static-libs USE flag (diff) | |
download | gentoo-2bc8db79ebabd401fb909b8834d7cb723e510495.tar.gz gentoo-2bc8db79ebabd401fb909b8834d7cb723e510495.tar.bz2 gentoo-2bc8db79ebabd401fb909b8834d7cb723e510495.zip |
app-i18n/opencc: enable tests
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/opencc/opencc-1.0.5.ebuild')
-rw-r--r-- | app-i18n/opencc/opencc-1.0.5.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild index 93e6c7c9ffe3..72a714fbc0c0 100644 --- a/app-i18n/opencc/opencc-1.0.5.ebuild +++ b/app-i18n/opencc/opencc-1.0.5.ebuild @@ -21,11 +21,12 @@ HOMEPAGE="https://github.com/BYVoid/OpenCC" LICENSE="Apache-2.0" SLOT="0/2" KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" -IUSE="doc" +IUSE="doc test" DEPEND="doc? ( app-doc/doxygen )" DOCS="AUTHORS *.md" +PATCHES=( "${FILESDIR}"/${PN}-test.patch ) src_prepare() { sed -i "s|\${DIR_SHARE_OPENCC}/doc|share/doc/${PF}|" doc/CMakeLists.txt @@ -37,7 +38,7 @@ src_configure() { local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc) -DBUILD_SHARED_LIBS=ON - -DENABLE_GTEST=OFF + -DENABLE_GTEST=$(usex test) ) cmake-utils_src_configure } |