From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3F3CD58973 for ; Wed, 27 Jan 2016 13:53:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BDD821C007; Wed, 27 Jan 2016 13:53:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9509421C007 for ; Wed, 27 Jan 2016 13:53:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4D58340B6A for ; Wed, 27 Jan 2016 13:53:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D17C9E5F for ; Wed, 27 Jan 2016 13:53:36 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1453902806.a967f3cea856acb65b56c3e37957d99ca662d931.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/leptonica/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/leptonica/Manifest media-libs/leptonica/leptonica-1.72-r2.ebuild media-libs/leptonica/leptonica-1.73.ebuild X-VCS-Directories: media-libs/leptonica/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: a967f3cea856acb65b56c3e37957d99ca662d931 X-VCS-Branch: master Date: Wed, 27 Jan 2016 13:53:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ff8436f1-f3f4-4a59-92a2-af69bd0d6c4d X-Archives-Hash: 5c183d79a24a808f7e713dc7d58ebee7 commit: a967f3cea856acb65b56c3e37957d99ca662d931 Author: James Le Cuirot gentoo org> AuthorDate: Wed Jan 27 13:49:59 2016 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Jan 27 13:53:26 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a967f3ce 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 media-libs/leptonica/Manifest | 2 +- ...tonica-1.72-r2.ebuild => leptonica-1.73.ebuild} | 42 ++++++++++++---------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest index 35f963e..39555f9 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 similarity index 69% rename from media-libs/leptonica/leptonica-1.72-r2.ebuild rename to media-libs/leptonica/leptonica-1.73.ebuild index 5860c75..6c30bf0 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 }