tomka       14/09/01 09:29:28

  Modified:             ChangeLog
  Added:                leptonica-1.71-r1.ebuild
  Log:
  EAPI bump, fix bug 518540 for real
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
565C32BC)

Revision  Changes    Path
1.23                 media-libs/leptonica/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/ChangeLog?rev=1.23&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/ChangeLog?rev=1.23&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog   30 Aug 2014 17:54:58 -0000      1.22
+++ ChangeLog   1 Sep 2014 09:29:28 -0000       1.23
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/leptonica
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.22 
2014/08/30 17:54:58 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.23 
2014/09/01 09:29:28 tomka Exp $
+
+*leptonica-1.71-r1 (01 Sep 2014)
+
+  01 Sep 2014; Thomas Kahle <[email protected]>
+  +files/leptonica-1.71-fix-openjpeg-test.patch, +leptonica-1.71-r1.ebuild:
+  EAPI bump, fix bug 518540 for real
 
   30 Aug 2014; Chema Alonso <[email protected]> leptonica-1.70.ebuild:
   Stable for amd64 wrt bug #513376



1.1                  media-libs/leptonica/leptonica-1.71-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/leptonica-1.71-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/leptonica-1.71-r1.ebuild?rev=1.1&content-type=text/plain

Index: leptonica-1.71-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.71-r1.ebuild,v 1.1 
2014/09/01 09:29:28 tomka Exp $

EAPI=5

AUTOTOOLS_AUTORECONF="1"
inherit eutils autotools-utils

DESCRIPTION="C library for image processing and analysis"
HOMEPAGE="http://code.google.com/p/leptonica/";
SRC_URI="http://www.leptonica.com/source/${P}.tar.gz";

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="gif jpeg jpeg2k png tiff webp utils zlib static-libs"

# N.b. Tests need at least tiff, jpeg and maybe others to work
DEPEND="gif? ( media-libs/giflib )
        jpeg? ( virtual/jpeg )
        jpeg2k? ( media-libs/openjpeg:2= )
        png? ( media-libs/libpng
                   sys-libs/zlib
                 )
        tiff? ( media-libs/tiff )
        webp? ( media-libs/libwebp )
        zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"

DOCS=( README version-notes )
PATCHES=( "${FILESDIR}"/"${P}"-fix-openjpeg-test.patch )

src_prepare() {
        if has_version "<media-libs/openjpeg-2.1" ; then
                epatch "${FILESDIR}"/"${P}"-openjpeg-2.0.patch
        fi

        # 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
        autotools-utils_src_prepare
}

src_configure() {
        # $(use_with webp libwebp) -> unknown
        # so use-flag just for pulling dependencies
        # zlib handling see bug 454890
        local myeconfargs=(
                $(use_with gif giflib)
                $(use_with jpeg)
                $(use_with jpeg2k libopenjpeg)
                $(use_with png libpng)
                $(use_with tiff libtiff)
                $(use_enable utils programs)
                $(use_enable static-libs static)
        )
        # libpng requires zlib:
        if use png && ! use zlib ; then
                # Ignore users non-sensical choice of -zlib
                myeconfargs+=("--with-zlib")
        else
                myeconfargs+=( $(use_with zlib) )
        fi
        autotools-utils_src_configure
}




Reply via email to