diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
commit | a978c074e4272bb901fbe4a10de0a7b2af574f17 (patch) | |
tree | 8c764c1cc0576389ce22abd317bceba71ea5732d /media-libs/exempi/exempi-2.4.5-r1.ebuild | |
parent | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff) |
gentoo resync : 04.05.2021
Diffstat (limited to 'media-libs/exempi/exempi-2.4.5-r1.ebuild')
-rw-r--r-- | media-libs/exempi/exempi-2.4.5-r1.ebuild | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/media-libs/exempi/exempi-2.4.5-r1.ebuild b/media-libs/exempi/exempi-2.4.5-r1.ebuild index 34771335ec29..8f9176de69e2 100644 --- a/media-libs/exempi/exempi-2.4.5-r1.ebuild +++ b/media-libs/exempi/exempi-2.4.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,48 +12,50 @@ 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 "${FILESDIR}"/${P}-CVE-2018-12648.patch + "${FILESDIR}"/${P}-gcc11.patch ) src_prepare() { default - cp /usr/share/gettext/config.rpath . || die + + config_rpath_update . eautoreconf } 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 } |