diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-01-27 13:49:59 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-01-27 13:53:26 +0000 |
commit | a967f3cea856acb65b56c3e37957d99ca662d931 (patch) | |
tree | ae78ba1dc71c5081fee272179fb49953c11a951a /media-libs/leptonica | |
parent | sys-power/sispmctl: removed old (vulnerable) version (bug #327459) (diff) | |
download | gentoo-a967f3cea856acb65b56c3e37957d99ca662d931.tar.gz gentoo-a967f3cea856acb65b56c3e37957d99ca662d931.tar.bz2 gentoo-a967f3cea856acb65b56c3e37957d99ca662d931.zip |
media-libs/leptonica: Version bump to 1.73
Includes EAPI bump to 6 and migration away from deprecated
autotools-multilib eclass.
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-libs/leptonica')
-rw-r--r-- | media-libs/leptonica/Manifest | 2 | ||||
-rw-r--r-- | media-libs/leptonica/leptonica-1.73.ebuild (renamed from media-libs/leptonica/leptonica-1.72-r2.ebuild) | 42 |
2 files changed, 24 insertions, 20 deletions
diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest index 35f963e9d88c..39555f934c49 100644 --- a/media-libs/leptonica/Manifest +++ b/media-libs/leptonica/Manifest @@ -1,2 +1,2 @@ DIST leptonica-1.71.tar.gz 10212309 SHA256 cc5d736e81496eb25e195f380f553537e0410c3f7151a778b2a546e35c7eb848 SHA512 fd02eec19a442d767ba39ce01132ef1304a977e038bdbf64ec5e763607d51adf1c06aaa687fc3ec542854e535618b6da2042f10709286c2e1d236e43d77efd51 WHIRLPOOL 5a3d57735e8e36785dea9a481a602b0f812c08bab5e42ebaac2e3fa2d42a0c8c697a61351ec1122a14fd9f471945c200a1c75015bd35b043fd208a1cad079733 -DIST leptonica-1.72.tar.gz 10580170 SHA256 79d5eadd32658c9fea38700c975d60aa3d088eaa3e307659f004d40834de1f56 SHA512 8cb7acade68fbd9239dee4c24c5f35fd4cbb4db9e36fbf596478bd1e4635e45034664a16cec21c084091fbad64b4b6e78a4cb43fda8d0c0fc32f55a8cbf110d2 WHIRLPOOL b494b2ef928d1c1bd0b142e81c1cccf6312ee5b9822909506b1e9c7c9f57bebba5a7d824efdbde5e85e6dadb974775c9e7c5a7cdd2fc2f9466703e68694d471a +DIST leptonica-1.73.tar.gz 10894175 SHA256 19e4335c674e7b78af9338d5382cc5266f34a62d4ce533d860af48eaa859afc1 SHA512 4808474d5941a91fbf542a22fed26ddc33f9c4baf2699096acf5e894b7e4e84889d165373b7d1df391a68cda8176113cf122f15203a9e38d3059e17140efc575 WHIRLPOOL b7ff93ecf5c8f66b4c85b64d6db16c18303bdcfe4a8c62735f79bd2e8f1260ad4e4c8b8f4a398cfbd001f2f5af3ff6a720eea83c25a38472b3222e4d2fd5dea9 diff --git a/media-libs/leptonica/leptonica-1.72-r2.ebuild b/media-libs/leptonica/leptonica-1.73.ebuild index 5860c757a439..6c30bf0f61ea 100644 --- a/media-libs/leptonica/leptonica-1.72-r2.ebuild +++ b/media-libs/leptonica/leptonica-1.73.ebuild @@ -1,17 +1,16 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -inherit autotools-multilib +inherit eutils multilib-minimal DESCRIPTION="C library for image processing and analysis" HOMEPAGE="http://www.leptonica.org/" -SRC_URI="http://www.leptonica.com/source/${P}.tar.gz" - +SRC_URI="http://www.leptonica.org/source/${P}.tar.gz" LICENSE="Apache-2.0" -SLOT="0" +SLOT="0/5" KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" IUSE="gif jpeg jpeg2k png static-libs test tiff utils webp zlib" @@ -28,9 +27,12 @@ DEPEND="gif? ( media-libs/giflib:=[${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 @@ -38,21 +40,23 @@ src_prepare() { "${X}.html" > "${X}" || die 'awk failed' rm -f -- "${X}.html" done - - autotools-utils_src_prepare } multilib_src_configure() { - local myeconfargs=( - $(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) + 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) - ) - autotools-utils_src_configure +} + +src_install() { + multilib-minimal_src_install + prune_libtool_files } |