public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/leptonica/
Date: Sat, 25 Sep 2021 22:47:09 +0000 (UTC)	[thread overview]
Message-ID: <1632609971.02a892aa5e8b6df33e2b667368506f875822f80f.chewi@gentoo> (raw)

commit:     02a892aa5e8b6df33e2b667368506f875822f80f
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 22:46:11 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 22:46:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a892aa

media-libs/leptonica: Version bump to 1.82.0

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/leptonica/Manifest                |  1 +
 media-libs/leptonica/leptonica-1.82.0.ebuild | 77 ++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/media-libs/leptonica/Manifest b/media-libs/leptonica/Manifest
index 0a99028753e..4f95540cb54 100644
--- a/media-libs/leptonica/Manifest
+++ b/media-libs/leptonica/Manifest
@@ -1,3 +1,4 @@
 DIST leptonica-1.80.0.tar.gz 13926793 BLAKE2B 1c8916acbea7411038c27ad422f7ac8d5769680ae0554a50da332676de4abdd3c6dfab69dfa4abc3525f3aa298062f4f2315548bda9d120e91abf6ffb5b41e1c SHA512 f8062a169b7ac558c8818615e534c0dcb5db48924af4d3106d0e0929e9b2f03347bdeaae45f80bded0b2aed135bb133f775244c8c752891ca4948b5d6b21e147
 DIST leptonica-1.81.0.tar.gz 14056128 BLAKE2B 21a6be10d8579746855b6c12785ecd75ce475cc24601ddd2b71ac79aee1a82dd96d26a0b779feae6b0a4028fca4556accd6a208525999c457250a6fcd0e0a5cf SHA512 e6e530a490337941018393ffc69ca45a92fecdee290c6de63f7656207228c19e474ec2e9291591cee85c782edbc46d51d69692871e425ed2367a7dd679dc7771
 DIST leptonica-1.81.1.tar.gz 14056320 BLAKE2B 09a3859d8d2bbef4ea5d450c81dd5af1c95752501e4b40779a57d099eb30934fbfe4099ab2d7abadf518af25cbd3c36269261c9c6d3850a44a2b16c2eb795801 SHA512 3c24e30eab21b634094543a722172553e35d928b3a50bfe78e9b0123cd16d710b4be8714acaac87344b22292b460d6ffb06b05a8e7f3df060544a2bbf3f8a7d2
+DIST leptonica-1.82.0.tar.gz 14041481 BLAKE2B 2e60a7e14bf9120348460ac122fe0e9a1c696f17fd8f23cd3eb1b1316e13ae7fd25bbaef3fc8531df6e2572fa06e86d757138b11b29dcc24dda9576b9c00f3b0 SHA512 cb0484570bf3921307ab5c805b3f0e08d4aaa811adfb592f3956b563fc145f7a45173e2278fc5d8a9e37f729bb34dbf8068e030e2066d54547f82d26b56aa27d

diff --git a/media-libs/leptonica/leptonica-1.82.0.ebuild b/media-libs/leptonica/leptonica-1.82.0.ebuild
new file mode 100644
index 00000000000..f831a57c4e7
--- /dev/null
+++ b/media-libs/leptonica/leptonica-1.82.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit libtool 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 ~riscv ~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 )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	gif? ( >=media-libs/giflib-5.1.3:=[${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}] )"
+DEPEND="${RDEPEND}
+	test? ( media-libs/tiff:0[jpeg,zlib] )"
+
+DOCS=( README version-notes )
+
+src_prepare() {
+	default
+	elibtoolize
+
+	# 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_SOURCE="${S}" 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 webp libwebpmux) \
+		$(use_with zlib) \
+		$(use_enable static-libs static) \
+		$(multilib_native_use_enable utils programs)
+}
+
+multilib_src_test() {
+	default
+
+	# ${TMPDIR} is not respected. It used to be but it lead to issues
+	# and there have been long debates with upstream about it. :(
+	rm -rf /tmp/lept/ || die
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	# libtool archives covered by pkg-config
+	find "${ED}" -name '*.la' -delete || die
+}


             reply	other threads:[~2021-09-25 22:47 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-25 22:47 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-11 22:17 [gentoo-commits] repo/gentoo:master commit in: media-libs/leptonica/ James Le Cuirot
2024-01-10 22:11 James Le Cuirot
2024-01-07 14:52 James Le Cuirot
2023-08-03 20:10 James Le Cuirot
2023-08-02 18:27 Arthur Zamarin
2023-07-16 23:01 Sam James
2023-07-12  6:39 Jakov Smolić
2023-04-01 16:07 Arthur Zamarin
2023-03-17  6:47 Arthur Zamarin
2023-03-16 22:20 Sam James
2023-01-27 23:20 James Le Cuirot
2023-01-13 23:33 James Le Cuirot
2022-09-29 22:32 James Le Cuirot
2022-09-27  7:10 Agostino Sarubbo
2022-09-27  7:09 Agostino Sarubbo
2022-09-27  7:08 Agostino Sarubbo
2022-09-27  7:07 Agostino Sarubbo
2022-09-27  7:06 Agostino Sarubbo
2022-09-27  7:06 Agostino Sarubbo
2022-05-14  7:28 WANG Xuerui
2021-09-25 22:47 James Le Cuirot
2021-08-24 21:02 Marek Szuba
2021-06-14 21:47 James Le Cuirot
2021-06-08 13:26 James Le Cuirot
2021-06-08  9:23 Sam James
2021-05-22  1:32 Sam James
2021-05-16 12:45 Sam James
2021-05-16 12:45 Sam James
2021-05-16  0:13 Sam James
2021-05-16  0:13 Sam James
2020-08-18 22:48 James Le Cuirot
2020-04-04  3:38 Mike Gilbert
2019-05-16 19:30 Aaron Bauman
2019-03-30 10:12 James Le Cuirot
2018-10-19  8:51 Michał Górny
2018-05-03 22:11 James Le Cuirot
2018-03-17 13:49 James Le Cuirot
2018-03-17 13:31 Mikle Kolyada
2018-02-12 23:00 James Le Cuirot
2017-11-10 10:10 Sergei Trofimovich
2017-11-08 20:50 Tobias Klausmann
2017-11-07 18:22 Thomas Deutschmann
2017-11-07 13:16 Manuel Rüger
2017-08-26  7:56 James Le Cuirot
2017-07-11  8:41 Alexis Ballier
2017-02-24  0:13 Michael Weber
2017-02-17 10:56 Agostino Sarubbo
2017-02-15 13:49 Tobias Klausmann
2017-02-12 17:01 Agostino Sarubbo
2017-02-07 11:28 Agostino Sarubbo
2017-01-07 14:20 James Le Cuirot
2016-12-31 16:38 James Le Cuirot
2016-12-31 16:38 James Le Cuirot
2016-01-27 13:53 James Le Cuirot
2015-11-07 16:13 Fabian Groffen
2015-09-01 19:43 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632609971.02a892aa5e8b6df33e2b667368506f875822f80f.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox