diff options
author | David Seifert <soap@gentoo.org> | 2021-04-29 19:37:54 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-04-29 19:37:54 +0200 |
commit | 16c5fb57d864b28cf8c0c00a213b36335bd9d94c (patch) | |
tree | c773dc21efeecf57411cfea628ef40b79571f42a /media-libs/exempi | |
parent | media-libs/exempi: Fix building against GCC 11 (diff) | |
download | gentoo-16c5fb57d864b28cf8c0c00a213b36335bd9d94c.tar.gz gentoo-16c5fb57d864b28cf8c0c00a213b36335bd9d94c.tar.bz2 gentoo-16c5fb57d864b28cf8c0c00a213b36335bd9d94c.zip |
media-libs/exempi: [QA] cleanup
* Incorrect dependency type for boost
* Remove static-libs
* dodoc for examples
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/exempi')
-rw-r--r-- | media-libs/exempi/exempi-2.4.5-r1.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/media-libs/exempi/exempi-2.4.5-r1.ebuild b/media-libs/exempi/exempi-2.4.5-r1.ebuild index 049365af8dd1..8f9176de69e2 100644 --- a/media-libs/exempi/exempi-2.4.5-r1.ebuild +++ b/media-libs/exempi/exempi-2.4.5-r1.ebuild @@ -12,20 +12,19 @@ SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.gz" LICENSE="BSD" SLOT="2/3" KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="examples static-libs test" +IUSE="examples test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/expat-2:= sys-libs/zlib - virtual/libiconv -" -DEPEND="${RDEPEND}" + virtual/libiconv" +DEPEND=" + ${RDEPEND} + test? ( dev-libs/boost )" BDEPEND=" sys-devel/autoconf-archive - sys-devel/gettext - test? ( >=dev-libs/boost-1.48 ) -" + sys-devel/gettext" PATCHES=( "${FILESDIR}"/${PN}-2.4.2-iconv.patch @@ -43,19 +42,20 @@ src_prepare() { src_configure() { # Valgrind detection is "disabled" due to bug #295875 econf \ - $(use_enable static-libs static) \ + --disable-static \ $(use_enable test unittest) \ VALGRIND="" } src_install() { default - find "${D}" -name '*.la' -delete || die if use examples; then emake -C samples/source distclean rm samples/{,source,testfiles}/Makefile* || die - insinto /usr/share/doc/${PF}/examples - doins -r samples/* + docinto examples + dodoc -r samples/. fi + + find "${ED}" -name '*.la' -delete || die } |