public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stephan Hartmann" <sultan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libwebp/
Date: Fri, 30 Jun 2023 15:40:22 +0000 (UTC)	[thread overview]
Message-ID: <1688139614.a95f573a42dd92a41c8ad8fa03252336d0b06d7c.sultan@gentoo> (raw)

commit:     a95f573a42dd92a41c8ad8fa03252336d0b06d7c
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Fri Jun 30 09:55:46 2023 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 15:40:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a95f573a

media-libs/libwebp: add 1.3.1

Closes: https://bugs.gentoo.org/909367

Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 media-libs/libwebp/Manifest             |  1 +
 media-libs/libwebp/libwebp-1.3.1.ebuild | 73 +++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/media-libs/libwebp/Manifest b/media-libs/libwebp/Manifest
index 46500a38705b..a723dc567d6c 100644
--- a/media-libs/libwebp/Manifest
+++ b/media-libs/libwebp/Manifest
@@ -1,3 +1,4 @@
 DIST libwebp-1.1.0.tar.gz 4033877 BLAKE2B ac6c2267f43ba42079975938c8fecb75237a494ab8a4ca71b68a49c3d219afa92079fd94431ccbcc363a1e6aef890642a658f429b8d75cd90dd5d735fa37dcef SHA512 c8440059a985587d4876a5e7fc2d07523bc7f582a04ee5dab0ef07df32b9635b907224de2cc15246c831dd5d9215569770196626badccc3171fe2832d7cb4549
 DIST libwebp-1.2.2.tar.gz 4117468 BLAKE2B 8bdb5a82317f06c39458b04580fa674399bc02f15a8e28f8a17456e1e26af74d87a63ecfda9f2760822ba318e8bd42a9c84f87cc2a3c63bad4fbdc00d212010e SHA512 0dd0a721352b513a218d55383bcd0cc45b786df8089f70f87257b5dcc0c4e2f1798e20f1ca98b8fe51710abb667f9c4c14f20f980a11c484c8832f0dc66e3bff
 DIST libwebp-1.2.4.tar.gz 4141376 BLAKE2B 522ee427f63ec51040b2813ad4bac9df0c86678ea441a28f36f979b01d35b25d11e5297a139e00ddf3e14bade298d3c1ab9ad3157246926cb9a713d3f51bb205 SHA512 01f21e2c3057f5878b33664d0070832d78420de3cb2fe4379b07ae6a27bb569fd1c27a920fe324beccb96ae7bfa8c05fdd9e7b0aeba6de06ab4d8b084bb38803
+DIST libwebp-1.3.1.tar.gz 4161782 BLAKE2B e3f0b66f98fb5add22653b0f8d7f7f5fff9df4e60eff221da78dda1a13d3a5b9da684d37dd0756dff52b1225c5ee04a54be95c008c34033bbe9fa824cbab7cee SHA512 f2c5e4fbbb5adf63d4a36bad88de23881c296da6f3ec73baded5e80fd55abef6cbeb90c271fd40766a76e170e5499c2983670d91e01064027ede22965d2b1d90

diff --git a/media-libs/libwebp/libwebp-1.3.1.ebuild b/media-libs/libwebp/libwebp-1.3.1.ebuild
new file mode 100644
index 000000000000..c89017f87f12
--- /dev/null
+++ b/media-libs/libwebp/libwebp-1.3.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="A lossy image compression format"
+HOMEPAGE="https://developers.google.com/speed/webp/download"
+SRC_URI="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0/7" # subslot = libwebp soname version
+if [[ ${PV} != *_rc* ]] ; then
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+fi
+IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 gif +jpeg opengl +png static-libs swap-16bit-csp tiff"
+
+# TODO: dev-lang/swig bindings in swig/ subdirectory
+RDEPEND="gif? ( media-libs/giflib:= )
+	jpeg? ( media-libs/libjpeg-turbo:= )
+	opengl? (
+		media-libs/freeglut
+		virtual/opengl
+	)
+	png? ( media-libs/libpng:= )
+	tiff? ( media-libs/tiff:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.2.3-libpng-pkg-config.patch
+)
+
+src_prepare() {
+	default
+	# Needed for pkg-config patch; use elibtoolize instead if that's ever dropped
+	eautoreconf
+}
+
+multilib_src_configure() {
+	local args=(
+		--enable-libwebpmux
+		--enable-libwebpdemux
+		--enable-libwebpdecoder
+		$(use_enable static-libs static)
+		$(use_enable swap-16bit-csp)
+		$(use_enable jpeg)
+		$(use_enable png)
+		$(use_enable opengl gl)
+		$(use_enable tiff)
+
+		$(use_enable cpu_flags_x86_sse2 sse2)
+		$(use_enable cpu_flags_x86_sse4_1 sse4.1)
+		$(use_enable cpu_flags_arm_neon neon)
+
+		# Only used for gif2webp binary wrt bug #486646
+		$(multilib_native_use_enable gif)
+	)
+
+	ECONF_SOURCE="${S}" econf "${args[@]}"
+}
+
+multilib_src_install() {
+	emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+	find "${ED}" -type f -name "*.la" -delete || die
+	dodoc AUTHORS ChangeLog doc/*.txt NEWS README.md
+}


             reply	other threads:[~2023-06-30 15:40 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 15:40 Stephan Hartmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-12 22:19 [gentoo-commits] repo/gentoo:master commit in: media-libs/libwebp/ Andreas Sturmlechner
2024-11-12 20:46 Sam James
2024-10-15 12:47 Arthur Zamarin
2024-10-03 16:11 Arthur Zamarin
2024-10-03 10:18 Sam James
2024-05-13  9:31 Matt Jolly
2024-01-05  9:59 Sam James
2023-12-22  1:40 John Helmert III
2023-10-01  3:40 Sam James
2023-10-01  3:40 Sam James
2023-10-01  2:53 Sam James
2023-10-01  2:33 Sam James
2023-10-01  2:33 Sam James
2023-10-01  2:27 Sam James
2023-10-01  2:27 Sam James
2023-10-01  2:27 Sam James
2023-09-17  6:15 Sam James
2023-09-14  2:51 Sam James
2023-09-12 14:20 Sam James
2023-09-12 14:20 Sam James
2023-09-12 13:49 Sam James
2023-09-12 13:49 Sam James
2023-09-12 13:49 Sam James
2023-09-12 13:49 Sam James
2023-09-12 13:49 Sam James
2023-09-12  2:42 Mike Gilbert
2023-09-12  2:42 Mike Gilbert
2023-07-01 12:58 Stephan Hartmann
2023-07-01  9:02 Arthur Zamarin
2023-06-30 21:14 Sam James
2023-06-30 21:14 Sam James
2023-06-30 19:30 Sam James
2023-06-30 19:30 Sam James
2023-06-30 19:28 Arthur Zamarin
2023-06-30 19:19 Sam James
2023-06-30 19:19 Sam James
2023-06-30 15:40 Stephan Hartmann
2022-12-18  8:32 Sam James
2022-08-25 18:24 Agostino Sarubbo
2022-08-25 18:15 Agostino Sarubbo
2022-08-25  4:02 Arthur Zamarin
2022-08-25  4:02 Arthur Zamarin
2022-08-25  4:02 Arthur Zamarin
2022-08-25  3:33 Sam James
2022-08-25  3:33 Sam James
2022-08-25  3:33 Sam James
2022-08-08  6:08 Sam James
2022-05-13  6:33 WANG Xuerui
2022-02-17 18:48 Arthur Zamarin
2022-02-17  7:35 Agostino Sarubbo
2022-02-17  7:32 Agostino Sarubbo
2022-02-16 22:06 Arthur Zamarin
2022-02-16 20:39 Arthur Zamarin
2022-02-16 20:25 Arthur Zamarin
2022-02-16 20:17 Arthur Zamarin
2022-02-16 17:35 Arthur Zamarin
2022-01-27 19:47 Stephan Hartmann
2021-12-22 20:18 Stephan Hartmann
2021-12-22 20:18 Stephan Hartmann
2021-12-22 20:08 Stephan Hartmann
2021-12-21 17:26 Stephan Hartmann
2021-09-19 19:58 James Le Cuirot
2021-02-12 15:42 Stephan Hartmann
2021-01-23 21:13 Andreas Sturmlechner
2021-01-06 14:27 Fabian Groffen
2020-12-27 17:47 Fabian Groffen
2020-06-07 21:02 Mart Raudsepp
2020-05-25 21:33 Sergei Trofimovich
2020-05-21  8:06 Agostino Sarubbo
2020-05-21  8:03 Agostino Sarubbo
2020-05-21  8:02 Agostino Sarubbo
2020-05-21  8:00 Agostino Sarubbo
2020-05-21  7:58 Agostino Sarubbo
2020-05-21  7:57 Agostino Sarubbo
2020-05-21  7:53 Agostino Sarubbo
2020-02-26 12:56 Lars Wendler
2019-12-11 21:26 Mike Gilbert
2019-07-13 12:47 Lars Wendler
2019-07-11  7:56 Lars Wendler
2019-07-11  7:56 Lars Wendler
2019-06-13 19:17 Markus Meier
2019-05-08 19:21 Mikle Kolyada
2019-05-07  8:46 Tobias Klausmann
2019-04-28 20:25 Mikle Kolyada
2019-04-27 15:48 Sergei Trofimovich
2019-04-27  8:47 Sergei Trofimovich
2019-04-22 14:40 Sergei Trofimovich
2019-04-21 22:21 Aaron Bauman
2019-04-20 17:46 Mikle Kolyada
2019-01-20  0:55 Thomas Deutschmann
2018-12-27 18:48 Fabian Groffen
2018-11-20 11:37 Lars Wendler
2018-11-12  9:19 Lars Wendler
2018-06-22 10:15 Mikle Kolyada
2018-04-26 10:52 Lars Wendler
2018-04-09 15:01 Lars Wendler
2018-04-09 15:01 Lars Wendler
2017-12-07 23:39 Thomas Deutschmann
2017-08-06 22:47 Sebastian Pipping
2017-05-27  2:30 Mike Gilbert
2017-01-15 22:10 Tobias Klausmann
2017-01-15  1:17 Mike Gilbert
2017-01-14 23:17 Jeroen Roovers
2017-01-13 16:55 Markus Meier
2017-01-10 12:35 Aaron Bauman
2017-01-03 10:38 Agostino Sarubbo
2016-12-30 19:51 Lars Wendler
2016-12-30 19:51 Lars Wendler
2016-11-16 21:09 Markus Meier
2016-11-15 14:53 Tobias Klausmann
2016-11-03 12:07 Pacho Ramos
2016-08-16 22:06 Mike Gilbert
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=1688139614.a95f573a42dd92a41c8ad8fa03252336d0b06d7c.sultan@gentoo \
    --to=sultan@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