--- libvisio-0.1.0.ebuild +++ libvisio-0.1.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisio/libvisio-0.1.0.ebuild,v 1.2 2014/10/10 20:23:36 maekke Exp $ +# $Header: $ EAPI=5 @@ -16,7 +16,7 @@ SLOT="0" [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~x86" -IUSE="doc static-libs" +IUSE="doc static-libs test" RDEPEND=" dev-libs/icu:= @@ -30,6 +30,7 @@ sys-devel/libtool virtual/pkgconfig doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) " src_prepare() { @@ -43,7 +44,8 @@ --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() {