From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1E3E158009 for ; Fri, 30 Jun 2023 15:40:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0503DE0A00; Fri, 30 Jun 2023 15:40:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E317AE0A00 for ; Fri, 30 Jun 2023 15:40:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF2B8340CC4 for ; Fri, 30 Jun 2023 15:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E302551F for ; Fri, 30 Jun 2023 15:40:22 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1688139614.a95f573a42dd92a41c8ad8fa03252336d0b06d7c.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libwebp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libwebp/Manifest media-libs/libwebp/libwebp-1.3.1.ebuild X-VCS-Directories: media-libs/libwebp/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: a95f573a42dd92a41c8ad8fa03252336d0b06d7c X-VCS-Branch: master Date: Fri, 30 Jun 2023 15:40:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d504546-cd97-4d01-a6d5-04bff8d5a63f X-Archives-Hash: a32e5c5b6bf00a7330de9494f64943f5 commit: a95f573a42dd92a41c8ad8fa03252336d0b06d7c Author: Matt Jolly footclan ninja> AuthorDate: Fri Jun 30 09:55:46 2023 +0000 Commit: Stephan Hartmann gentoo 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 footclan.ninja> Signed-off-by: Stephan Hartmann 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 +}