summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-05-31 11:17:58 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-31 11:17:58 +0200
commit4dd70d806e0106c4bb788524c6cf8384de9c2d39 (patch)
tree949f5d93b0057b68609b09746a38da8ce60e6449 /media-libs/leptonica
parentmedia-libs/gnonlin: drop deprecated ltprune eclass (diff)
downloadgentoo-4dd70d806e0106c4bb788524c6cf8384de9c2d39.tar.gz
gentoo-4dd70d806e0106c4bb788524c6cf8384de9c2d39.tar.bz2
gentoo-4dd70d806e0106c4bb788524c6cf8384de9c2d39.zip
media-libs/leptonica: drop deprecated ltprune eclass
Signed-off-by: Conrad Kostecki <conikost@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/leptonica')
-rw-r--r--media-libs/leptonica/leptonica-1.80.0.ebuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/media-libs/leptonica/leptonica-1.80.0.ebuild b/media-libs/leptonica/leptonica-1.80.0.ebuild
index ee995cad6cf..ef081d205e7 100644
--- a/media-libs/leptonica/leptonica-1.80.0.ebuild
+++ b/media-libs/leptonica/leptonica-1.80.0.ebuild
@@ -8,28 +8,29 @@ inherit libtool multilib-minimal
DESCRIPTION="C library for image processing and analysis"
HOMEPAGE="http://www.leptonica.org/"
SRC_URI="https://github.com/DanBloomberg/${PN}/releases/download/${PV}/${P}.tar.gz"
+
LICENSE="Apache-2.0"
SLOT="0/5"
KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~sparc x86 ~ppc-macos"
IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib"
-RESTRICT="!test? ( test )"
-
# N.B. Tests need some features enabled:
REQUIRED_USE="test? ( jpeg png tiff zlib )"
+RESTRICT="!test? ( test )"
-RDEPEND="gif? ( >=media-libs/giflib-5.1.3:=[${MULTILIB_USEDEP}] )
+RDEPEND="
+ gif? ( >=media-libs/giflib-5.1.3:=[${MULTILIB_USEDEP}] )
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
jpeg2k? ( media-libs/openjpeg:2=[${MULTILIB_USEDEP}] )
- png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}]
- sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+ png? (
+ media-libs/libpng:0=[${MULTILIB_USEDEP}]
+ sys-libs/zlib:=[${MULTILIB_USEDEP}]
+ )
tiff? ( media-libs/tiff:0=[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )"
-
DEPEND="${RDEPEND}
test? ( media-libs/tiff:0[zlib] )"
-ECONF_SOURCE="${S}"
DOCS=( README version-notes )
src_prepare() {
@@ -46,7 +47,7 @@ src_prepare() {
}
multilib_src_configure() {
- econf \
+ ECONF_SOURCE="${S}" econf \
--enable-shared \
$(use_with gif giflib) \
$(use_with jpeg) \
@@ -69,6 +70,8 @@ multilib_src_test() {
}
multilib_src_install_all() {
- # libtool archives covered by pkg-config.
- find "${D}" -name "*.la" -delete || die
+ einstalldocs
+
+ # libtool archives covered by pkg-config
+ find "${ED}" -name '*.la' -delete || die
}