From 262dea609d1cde1b7d3f556b5e77f6ba6f6d272b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 31 Jan 2024 23:49:10 +0000 Subject: gentoo auto-resync : 31:01:2024 - 23:49:10 --- media-libs/libpng/Manifest | 2 + media-libs/libpng/libpng-1.6.42.ebuild | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 media-libs/libpng/libpng-1.6.42.ebuild (limited to 'media-libs/libpng') diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest index dfcb12ad38ee..cffc7d64b408 100644 --- a/media-libs/libpng/Manifest +++ b/media-libs/libpng/Manifest @@ -3,6 +3,8 @@ DIST libpng-1.6.40-apng-apng.patch.gz 10330 BLAKE2B e2a5ff10ebaf75019d20edb148ea DIST libpng-1.6.40-libpng-apng-apng.patch.gz 10815 BLAKE2B 47b09d730d6be1d481ab48e511068a38fc3448339aaeab1d8ad21f26de6cb79006c64785de2e0514ff820a75101c0010b84cce923d10e8f6198e4e99916d08f2 SHA512 373cc9f0df15f7c77c0a59ddaac22374cfae37174b63a642e68e3a17a6d0bb1015399d771998c7eb6b356b634f157f0009743f4cc659f3b8e480a9533010ef9c DIST libpng-1.6.40.tar.xz 1021332 BLAKE2B 4dd2df57791ca68cc31ba966b9176ecb37458572c60eef34e31ff0d3266d25ad6ea9d2e8cae6bfaf7932b5c7bc231047d3ed139b3464304c41cc4d89611f5ba8 SHA512 a2ec37c529bf80f3fee3798191d080d06e14d6a1ffecd3c1a02845cb9693b5e308a1d82598a376101f9312d989d19f1fb6735b225d4b0b9f1b73f9f8a3edb17f DIST libpng-1.6.41.tar.xz 1035328 BLAKE2B 43d8d1c563d9df46b663f706dca9563e31e6e47a2809a77a5d059de8cfa348721054df724d08ac24ef4717ffc101989941127df2d026c9537532375d9b432b68 SHA512 046d0328255572ee2ccab7e751ed457b07e0aedc72474c2f4675a8303e628de3ef8afa1a00c60d768eb788546d1cda1e8b800b2497d9c352694faba6dde2c5b4 +DIST libpng-1.6.42.tar.xz 1035484 BLAKE2B 8a8895b673ff90416a00c9ff775d7bdc38ab1ab0d83fd6e70cfffea2ed78bd42896950a64bf48ad9a00ea50d8c5d5702975b0bae7bb3300d4de4c82b334e513e SHA512 a9e8641f79ebc811e8e1e94c4966737f8d0f3aef33c86834c419ca76050567891c065899c3bc0c945c59b5d50c5ff7d693cc51089d06efe92e71ae8014fa157c EBUILD libpng-1.6.40-r1.ebuild 1911 BLAKE2B e95dd7c1dd841404513628bda79780fd77ffb33f6f08ef138c31f47bc2ecf42bfccbd6f4b678e61af9a0bf2c1269990692affe45c91c93260e1737d17fcf73a3 SHA512 f4a910abd65acd9445e0f393b2c354bbd9539c3860fe311582de19eb43930e23eaff41675676c2a1816d8b4d069852ad84e84eedcf06df2894ea6c3487871388 EBUILD libpng-1.6.41-r1.ebuild 2076 BLAKE2B 2341b8d974ea6b42115ef28646788b3d98b91e835d628425e17882063643285246ba92eba01c9894c202ef0af51da8aa4ceb72bdbb4e8c04fa3ffafc2cc22e8e SHA512 e31cda268166830a5919030000b6f56115152eddf067ecc10d01981c6bb52982011c87cda19127f634ad0f9229e10be3309a6a12bc9c99d14f1be7a648fba696 +EBUILD libpng-1.6.42.ebuild 2019 BLAKE2B f29620569a4a23e3a1e552520e76754c43820f70f31324a0341cf2f9c0f69d192eec221d222d94092d48bcedf14f84ae90f6d850fb87d7cb5381c321310028a3 SHA512 d1a2f30d1f00dba9a21adc5225e659ec62b542dabff39bd987f3dd5f46e70f603d85997c1c7b417e96718f33013ed577c47e45aaccbdd58f47703257c29c4276 MISC metadata.xml 958 BLAKE2B 6d7a0f6ea2903876e7df7b07f0a5f116d83b188ca1acba2dd6664ecda03a9695c9e3b76b26649dd5198e49d950d91e31f5aa792b3abd7109b76aedbf43cfc843 SHA512 15269d4c49e08bfd993b4248cbef9ea095f0254c68177bc498ddf622a8fdcda01e6e6f17550c698ab79e896d9f3b4af01ef7966006d4902d9101b39844c1670d diff --git a/media-libs/libpng/libpng-1.6.42.ebuild b/media-libs/libpng/libpng-1.6.42.ebuild new file mode 100644 index 000000000000..b198fcd653b4 --- /dev/null +++ b/media-libs/libpng/libpng-1.6.42.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool multilib-minimal + +APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date +APNG_VERSION="1.6.40" +DESCRIPTION="Portable Network Graphics library" +HOMEPAGE="http://www.libpng.org/" +SRC_URI=" + mirror://sourceforge/${PN}/${P}.tar.xz + apng? ( + mirror://sourceforge/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PV}/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz + mirror://sourceforge/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz + ) +" + +LICENSE="libpng2" +SLOT="0/16" +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" +IUSE="apng cpu_flags_arm_neon cpu_flags_x86_sse static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) + +src_prepare() { + default + + if use apng; then + case ${APNG_REPO} in + apng) + eapply -p0 "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch + ;; + libpng-apng) + eapply "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch + ;; + *) + die "Unknown APNG_REPO!" + ;; + esac + + # Don't execute symbols check with apng patch, bug #378111 + sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die + fi + + elibtoolize +} + +multilib_src_configure() { + local myeconfargs=( + $(multilib_native_enable tools) + $(use_enable test tests) + $(use_enable cpu_flags_arm_neon arm-neon) + $(use_enable cpu_flags_x86_sse intel-sse) + $(use_enable static-libs static) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + default + + find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die +} -- cgit v1.2.3