From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libwebp/
Date: Mon, 13 May 2024 09:31:52 +0000 (UTC) [thread overview]
Message-ID: <1715592589.37d3632f3837718f710ec0882488c044ce9f55cb.kangie@gentoo> (raw)
commit: 37d3632f3837718f710ec0882488c044ce9f55cb
Author: Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 09:29:49 2024 +0000
Commit: Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Mon May 13 09:29:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d3632f
media-libs/libwebp: add 1.4.0
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>
media-libs/libwebp/Manifest | 1 +
media-libs/libwebp/libwebp-1.4.0.ebuild | 73 +++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/media-libs/libwebp/Manifest b/media-libs/libwebp/Manifest
index 752ba0d1b12d..e1c3ef2495d7 100644
--- a/media-libs/libwebp/Manifest
+++ b/media-libs/libwebp/Manifest
@@ -1 +1,2 @@
DIST libwebp-1.3.2.tar.gz 4162949 BLAKE2B 12b3ff3aa9952dd32ce13656146556d5efb6a66860249a8676721980aee10253a1b0335685a769d995e9954cd305190a8ed1878ba4fefce9dcaf41a3976f9e3d SHA512 2b624d2ecfbff6b4db2719e38f146722638ae262acd96327073a04451dd05fb27ef70c5681187821d251df728a6be7e89209c861c561a13bfb786495a830bc20
+DIST libwebp-1.4.0.tar.gz 4281370 BLAKE2B 022cef190284b69af781718a82b28ee9806d7e6b1e642ee0833e608f64f691ef918a83e99db02335fb9f60d24d6f0cfc58e7e05e99a3f13d2118719d40a71722 SHA512 1217363fbb5c860b17c2ba4612f240f121c74ced6e3e58e8aa61252a9022f59893c5874bfa433cc50a7e65bac1ae2bfa99fa2cede070183b7a467f148cebb0bd
diff --git a/media-libs/libwebp/libwebp-1.4.0.ebuild b/media-libs/libwebp/libwebp-1.4.0.ebuild
new file mode 100644
index 000000000000..d9a49f914a11
--- /dev/null
+++ b/media-libs/libwebp/libwebp-1.4.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 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 ~arm64-macos ~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
+}
next reply other threads:[~2024-05-13 9:31 UTC|newest]
Thread overview: 114+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 9:31 Matt Jolly [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-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
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=1715592589.37d3632f3837718f710ec0882488c044ce9f55cb.kangie@gentoo \
--to=kangie@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