summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-03-17 13:47:22 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-03-17 13:49:20 +0000
commit16ed15a8c597a2459537671cd25b204d5b1c578d (patch)
tree0f956ab3d7e3bbade015a5f6e520067ad5935257 /media-libs/leptonica/leptonica-1.74.1.ebuild
parentdev-lang/elixir: bump up to 1.6.4 (diff)
downloadgentoo-16ed15a8c597a2459537671cd25b204d5b1c578d.tar.gz
gentoo-16ed15a8c597a2459537671cd25b204d5b1c578d.tar.bz2
gentoo-16ed15a8c597a2459537671cd25b204d5b1c578d.zip
media-libs/leptonica: Drop old 1.74.1
This removes the last stable version on sparc. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-libs/leptonica/leptonica-1.74.1.ebuild')
-rw-r--r--media-libs/leptonica/leptonica-1.74.1.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/media-libs/leptonica/leptonica-1.74.1.ebuild b/media-libs/leptonica/leptonica-1.74.1.ebuild
deleted file mode 100644
index e1e2552dda27..000000000000
--- a/media-libs/leptonica/leptonica-1.74.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils 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"
-
-# N.B. Tests need some features enabled:
-REQUIRED_USE="test? ( jpeg png tiff zlib )"
-
-DEPEND="gif? ( media-libs/giflib:=[${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}] )
- tiff? ( media-libs/tiff:0=[${MULTILIB_USEDEP}] )
- webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
- zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-ECONF_SOURCE="${S}"
-DOCS=( README version-notes )
-
-src_prepare() {
- default
-
- # unhtmlize docs
- local X
- for X in ${DOCS[@]}; do
- awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \
- "${X}.html" > "${X}" || die 'awk failed'
- rm -f -- "${X}.html"
- done
-}
-
-multilib_src_configure() {
- econf \
- --enable-shared \
- $(use_with gif giflib) \
- $(use_with jpeg) \
- $(use_with jpeg2k libopenjpeg) \
- $(use_with png libpng) \
- $(use_with tiff libtiff) \
- $(use_with webp libwebp) \
- $(use_with zlib) \
- $(use_enable static-libs static) \
- $(multilib_native_use_enable utils programs)
-}
-
-src_install() {
- multilib-minimal_src_install
- prune_libtool_files
-}