diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-02-18 20:20:21 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-02-18 20:21:28 +0100 |
commit | b3928697837b8291ca9daa626f89602aaed95f8a (patch) | |
tree | 317fbd104b98c05b5f01516e160dfb91f75dd1d7 /media-libs | |
parent | media-libs/libcdr: Sync KEYWORDS in the live ebuild (diff) | |
download | gentoo-b3928697837b8291ca9daa626f89602aaed95f8a.tar.gz gentoo-b3928697837b8291ca9daa626f89602aaed95f8a.tar.bz2 gentoo-b3928697837b8291ca9daa626f89602aaed95f8a.zip |
media-libs/libcdr: Make test build optional, add dep on cppunit, #574932
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libcdr/libcdr-0.1.2.ebuild | 6 | ||||
-rw-r--r-- | media-libs/libcdr/libcdr-9999.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/media-libs/libcdr/libcdr-0.1.2.ebuild b/media-libs/libcdr/libcdr-0.1.2.ebuild index dd033dac8721..b0fd8db6ef5a 100644 --- a/media-libs/libcdr/libcdr-0.1.2.ebuild +++ b/media-libs/libcdr/libcdr-0.1.2.ebuild @@ -16,7 +16,7 @@ LICENSE="MPL-2.0" SLOT="0" [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86" -IUSE="doc static-libs" +IUSE="doc static-libs test" RDEPEND=" dev-libs/icu:= @@ -29,6 +29,7 @@ DEPEND="${RDEPEND} sys-devel/libtool virtual/pkgconfig doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) " src_prepare() { @@ -42,7 +43,8 @@ src_configure() { --docdir="${EPREFIX}/usr/share/doc/${PF}" \ $(use_enable static-libs static) \ --disable-werror \ - $(use_with doc docs) + $(use_with doc docs) \ + $(use_enable test tests) } src_install() { diff --git a/media-libs/libcdr/libcdr-9999.ebuild b/media-libs/libcdr/libcdr-9999.ebuild index dd033dac8721..b0fd8db6ef5a 100644 --- a/media-libs/libcdr/libcdr-9999.ebuild +++ b/media-libs/libcdr/libcdr-9999.ebuild @@ -16,7 +16,7 @@ LICENSE="MPL-2.0" SLOT="0" [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86" -IUSE="doc static-libs" +IUSE="doc static-libs test" RDEPEND=" dev-libs/icu:= @@ -29,6 +29,7 @@ DEPEND="${RDEPEND} sys-devel/libtool virtual/pkgconfig doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) " src_prepare() { @@ -42,7 +43,8 @@ src_configure() { --docdir="${EPREFIX}/usr/share/doc/${PF}" \ $(use_enable static-libs static) \ --disable-werror \ - $(use_with doc docs) + $(use_with doc docs) \ + $(use_enable test tests) } src_install() { |