From 5d5e56d92268c2b9b6ccc38eeaa3516ce9b1e8fd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 12 Sep 2023 04:40:07 +0100 Subject: gentoo auto-resync : 12:09:2023 - 04:40:07 --- media-libs/Manifest.gz | Bin 69161 -> 69161 bytes media-libs/libwebp/Manifest | 4 +- media-libs/libwebp/libwebp-1.3.1.ebuild | 73 --------------------- media-libs/libwebp/libwebp-1.3.1_p20230908.ebuild | 74 ++++++++++++++++++++++ 4 files changed, 76 insertions(+), 75 deletions(-) delete mode 100644 media-libs/libwebp/libwebp-1.3.1.ebuild create mode 100644 media-libs/libwebp/libwebp-1.3.1_p20230908.ebuild (limited to 'media-libs') diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz index 0e6d2e964dec..a70be5f077f5 100644 Binary files a/media-libs/Manifest.gz and b/media-libs/Manifest.gz differ diff --git a/media-libs/libwebp/Manifest b/media-libs/libwebp/Manifest index 83a87a0ad853..d218b022aa20 100644 --- a/media-libs/libwebp/Manifest +++ b/media-libs/libwebp/Manifest @@ -1,7 +1,7 @@ AUX libwebp-1.2.3-libpng-pkg-config.patch 1894 BLAKE2B 80c19e65b1f913fdf0e9dd37ca603bcf89bd7dd71cf81ebd8beab6bcf671b76482b3d6d053f53558463c7f3e139897382c90aad5a5cebbd8c49ce4512e7f048c SHA512 3b80c89eb4643a315af594158ca370b71f38ab285cfaa3d1b8d90b09aa420750dccd46f1222b1b9a983af6e9dc501da2d6c732c05a2a3b097ba0437785cc80c7 AUX libwebp-1.2.4-CVE-2023-1999.patch 1734 BLAKE2B 087b1bb4be5d3aceb7796ecbf497d6dc5396eab4b944d7c29bd15f939c9d891d5b0463770196cae87fa8bce2561e874e00fdaf1c05eada87258546956ca26c0a SHA512 6b108f30b2aa3326d1f4acf69bc7b01145e9a6922bcdaf01d5bd052418b9789706dd3757341a7eb5847e7ef42146fdd0ba7397b66e0003571008de7d88371d8f DIST libwebp-1.2.4.tar.gz 4141376 BLAKE2B 522ee427f63ec51040b2813ad4bac9df0c86678ea441a28f36f979b01d35b25d11e5297a139e00ddf3e14bade298d3c1ab9ad3157246926cb9a713d3f51bb205 SHA512 01f21e2c3057f5878b33664d0070832d78420de3cb2fe4379b07ae6a27bb569fd1c27a920fe324beccb96ae7bfa8c05fdd9e7b0aeba6de06ab4d8b084bb38803 -DIST libwebp-1.3.1.tar.gz 4161782 BLAKE2B e3f0b66f98fb5add22653b0f8d7f7f5fff9df4e60eff221da78dda1a13d3a5b9da684d37dd0756dff52b1225c5ee04a54be95c008c34033bbe9fa824cbab7cee SHA512 f2c5e4fbbb5adf63d4a36bad88de23881c296da6f3ec73baded5e80fd55abef6cbeb90c271fd40766a76e170e5499c2983670d91e01064027ede22965d2b1d90 +DIST libwebp-1.3.1-p20230908.tar.gz 3690666 BLAKE2B 895c9d384e0b40403940db093f8022fa81e67ce980711e3958d6614bf6aa9c9bd2cb01c1eba02b72028474f662f2ac996b14f0df5029690881053d55016dd9ab SHA512 4f93ef865dd653254089c9fdc8209a3add9a909002fbb56fc0784856dc50a6349c95ca6a06cb26601cd4233a09122009d61ad24e67258b069748ad9bb4da0c80 EBUILD libwebp-1.2.4-r2.ebuild 1982 BLAKE2B d9cecd99518bd522a8359360bf221c483a24ddf6ab7ffd41ced900b57acd139dd10032852b842301e2e5d31a447d64128395bd4e064d43aa4a14de33093423f2 SHA512 6c0bb4b6197ecff259832345a366749e3f4c2c024035af3583af1607401035a9f0a226ed15c7aa92bd443bd5c97dcbc721c74f7248acf5d62a9e7f23488e9d83 -EBUILD libwebp-1.3.1.ebuild 1949 BLAKE2B 1ccb08e40133258b412daaee199326d0a3d3de9be3b73f3a75ddd7f3c96f3fa05dbfbc9dc57038e6354cc4a96c2bc4eea1142f40a3c400f04828446d6c6a9518 SHA512 87d98e966723de15abc8aa3cac9a6b88ecdb5cd2f42027a45c41fd1c39cc73c02db280b205eb076722837cd1f320a3d9dec24928ed095b48b1c153b278702eb6 +EBUILD libwebp-1.3.1_p20230908.ebuild 2010 BLAKE2B de65916095d6228bf835b821e6bcd03568671f97a93e56cf8aa5526f7ebc70308a9505d81d5d7ae534dae458395b1041caf9e1dadedb8d706738cc2ff5fa0d8f SHA512 a685f5947efc81245bae5232e44b1b9ffe8bc7433a30dcdb2857c38ad8460f0255c1285a6a5ba7de672fc3404cfdb82b43d78f333054129d8d971f36ea495bad MISC metadata.xml 442 BLAKE2B 3700315ba8872e208756f663236158c42f967eab7bec9b440b238b14f76357fe7721e571b7c11d79fff0f8df90f9ad35504cef3f6dc2803b8e5394ac0e3ea437 SHA512 5fceda7410ea654e3d9297f3adcad43b99c298b436ec5d77a9396259b61a0c9dd2945b98f7fa7d0b7d38622e14bf82bcfbbbdc18f011f0b949ae61a9a8794800 diff --git a/media-libs/libwebp/libwebp-1.3.1.ebuild b/media-libs/libwebp/libwebp-1.3.1.ebuild deleted file mode 100644 index 533658e7e1a7..000000000000 --- a/media-libs/libwebp/libwebp-1.3.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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 ~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 -} diff --git a/media-libs/libwebp/libwebp-1.3.1_p20230908.ebuild b/media-libs/libwebp/libwebp-1.3.1_p20230908.ebuild new file mode 100644 index 000000000000..5c782945d337 --- /dev/null +++ b/media-libs/libwebp/libwebp-1.3.1_p20230908.ebuild @@ -0,0 +1,74 @@ +# 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" +MY_COMMIT=902bc9190331343b2017211debcec8d2ab87e17a +SRC_URI="https://github.com/webmproject/libwebp/archive/${MY_COMMIT}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +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 +} -- cgit v1.2.3