summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2013-01-24 21:38:48 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2013-01-24 21:38:48 +0000
commit64666fbc6dde42463b7697d178ef43931544f951 (patch)
treee227f88062c3547ff85303280156c72e78813c11 /media-libs
parentInclude FORCE_PRINT_ELOG variable to for printing of messages when desired. T... (diff)
downloadgentoo-2-64666fbc6dde42463b7697d178ef43931544f951.tar.gz
gentoo-2-64666fbc6dde42463b7697d178ef43931544f951.tar.bz2
gentoo-2-64666fbc6dde42463b7697d178ef43931544f951.zip
version bump, solving bug #447950.
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key BB6C42C7)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/leptonica/ChangeLog9
-rw-r--r--media-libs/leptonica/leptonica-1.69.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/media-libs/leptonica/ChangeLog b/media-libs/leptonica/ChangeLog
index 31ac1a1be6ab..01ff8f39af04 100644
--- a/media-libs/leptonica/ChangeLog
+++ b/media-libs/leptonica/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/leptonica
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.4 2012/10/26 01:21:46 blueness Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.5 2013/01/24 21:38:48 sbriesen Exp $
+
+*leptonica-1.69 (24 Jan 2013)
+
+ 24 Jan 2013; Stefan Briesenick <sbriesen@gentoo.org> +leptonica-1.69.ebuild:
+ version bump, solving bug #447950.
26 Oct 2012; Anthony G. Basile <blueness@gentoo.org> leptonica-1.68.ebuild:
keyword ~ppc ~ppc64, bug #437670
diff --git a/media-libs/leptonica/leptonica-1.69.ebuild b/media-libs/leptonica/leptonica-1.69.ebuild
new file mode 100644
index 000000000000..8db3fa7ba7d0
--- /dev/null
+++ b/media-libs/leptonica/leptonica-1.69.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.69.ebuild,v 1.1 2013/01/24 21:38:48 sbriesen Exp $
+
+EAPI=4
+
+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="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="gif jpeg png tiff webp utils zlib static-libs"
+
+DEPEND="gif? ( media-libs/giflib )
+ jpeg? ( virtual/jpeg )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )
+ webp? ( media-libs/libwebp )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+DOCS=( README version-notes )
+
+src_prepare() {
+ # 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
+ local myeconfargs=(
+ $(use_with gif giflib)
+ $(use_with jpeg)
+ $(use_with png libpng)
+ $(use_with tiff libtiff)
+ $(use_with zlib)
+ $(use_enable utils programs)
+ $(use_enable static-libs static)
+ )
+ autotools-utils_src_configure
+}