summaryrefslogtreecommitdiff
path: root/media-libs/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/Manifest3
-rw-r--r--media-libs/libpng/libpng-1.6.44.ebuild70
2 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index 978f0acd27c5..a30b0e241b5c 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -4,7 +4,10 @@ DIST libpng-1.6.40.tar.xz 1021332 BLAKE2B 4dd2df57791ca68cc31ba966b9176ecb374585
DIST libpng-1.6.42.tar.xz 1035484 BLAKE2B 8a8895b673ff90416a00c9ff775d7bdc38ab1ab0d83fd6e70cfffea2ed78bd42896950a64bf48ad9a00ea50d8c5d5702975b0bae7bb3300d4de4c82b334e513e SHA512 a9e8641f79ebc811e8e1e94c4966737f8d0f3aef33c86834c419ca76050567891c065899c3bc0c945c59b5d50c5ff7d693cc51089d06efe92e71ae8014fa157c
DIST libpng-1.6.43-apng-apng.patch.gz 10333 BLAKE2B 11bc92064e52f8a045b9d2a7158808471faf3e94b08dceae6aa5cfef635731ef3740e69b27118b9a5b2f2d3b810f108b8c30192388c569de1371f34a5f49f592 SHA512 3a3320c682fe8a575e76e9ede0a2d2d62533cbb206b428bfdf2729c649aaf3061b21e55c1d8848d474e40615b4e9870d49927b14de237777135524f904bac36c
DIST libpng-1.6.43.tar.xz 1044076 BLAKE2B e8781001f001e6f514ca01ceafc51557e6cdedcbed3aa64df213d02635eec937cac4ccc0f34b636f582a7d141b67ec6c8d90a6ffb15c679ab0c3f4f8798be791 SHA512 c95d661fed548708ce7de5d80621a432272bdfe991f0d4db3695036e5fafb8a717b4e4314991bdd3227d7aa07f8c6afb6037c57fa0fe3349334a0b6c58268487
+DIST libpng-1.6.44-apng-apng.patch.gz 10336 BLAKE2B 3c78cadd08b48466eee7c271ec82649dab55f28977622128c78764257a3f53e3255ddb1d728f10cb457b4db314566fe54b7edc88ab68b3dd1a8310bda500ab4f SHA512 5b8502abd3fad84772136a9eea53a918f806ef7035fe6df5d2b631a5279f298b9f125922d5aab7306e7c7aa1445ac9e36072e22fab4005d20662232078187f3c
+DIST libpng-1.6.44.tar.xz 1045640 BLAKE2B 61064dd83f40a7e2e60ff723a568b7d0cda95aa80621a211aee7127b9783fbfc20cd82a2fe2d03584cbf9ab77c5444e3e008ac5ccc7f64af6e858ebcbcb78822 SHA512 bbd3e5e68d8b6fe3d85e59ca0babe8b522c19cac4b6ce0fcf21516cda7120b642be611eb1eaa565b7eabbacd22606593619aabd227b43a36f1efc707e7e11851
EBUILD libpng-1.6.40-r1.ebuild 1944 BLAKE2B 4d4cac640d98d8062ccb3687655ffa1d682c7824a0e6303a58b7137f9e0c5f77be5710fc36313930bb0da3b3a63e33b7511ca6ddf612398a13be3c860ebcd46a SHA512 2e4fba5a3c6b9edbf2953c6abd56ef15bbfa6e2b58e9c3e293ec24b236c39788b866e348a4b739f258feae2e153722cae1a3021ca4075c5ee8ae7ec070b30f1f
EBUILD libpng-1.6.42.ebuild 2052 BLAKE2B c88b0dc987340739c40120d860a7c703f1a6c468381cabba080be6590c4790a5fa6449d5487db4a33f615f66a959b5a7c6e206ca6e160475247f6b364e931802 SHA512 4445961ea64588c86f74cccde38b3e732202150dafe15ca1ad9bd0ec460b4bcf002659a7f11b4a86d026e98faca3bd59d8134818722e51bf5aeababc9e123336
EBUILD libpng-1.6.43.ebuild 2037 BLAKE2B 39b884fd0d3a57f95ebef922de125498c3e4b81fa489179dd9aa3b211159dd807ef7ae22b2a59842691f7f683da963291fefb6c80a5fec32ba8dfae71223bbe7 SHA512 8c3bb16d6d814e47c08051bff857400cdebe9f48d91da27683464963defbb631a82678097007367991f6e75ffc3120669bb311d97d2a398a2b11294645cd4d5e
+EBUILD libpng-1.6.44.ebuild 2045 BLAKE2B 73884550ab1b31159aad015364c22727497cb56f7b12149c3d81b8d20feb8da2a35aec89a9ac10f766021089d390b08acfd1d0e83a7580bba9a08c0a02f8e27f SHA512 a41b194ed546dc4aa4a53108dfa7c218749aae3c983cb45a69e9d7b4e5a767fe76e3ac82d65b26e80f95217e40bad703c579bf7a9510946185785bc32fc9f9ce
MISC metadata.xml 958 BLAKE2B 6d7a0f6ea2903876e7df7b07f0a5f116d83b188ca1acba2dd6664ecda03a9695c9e3b76b26649dd5198e49d950d91e31f5aa792b3abd7109b76aedbf43cfc843 SHA512 15269d4c49e08bfd993b4248cbef9ea095f0254c68177bc498ddf622a8fdcda01e6e6f17550c698ab79e896d9f3b4af01ef7966006d4902d9101b39844c1670d
diff --git a/media-libs/libpng/libpng-1.6.44.ebuild b/media-libs/libpng/libpng-1.6.44.ebuild
new file mode 100644
index 000000000000..2cf06113dcc7
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.44.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=apng # sometimes libpng-apng is more up to date
+APNG_VERSION="1.6.44"
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="
+ https://downloads.sourceforge.net/${PN}/${P}.tar.xz
+ apng? (
+ https://downloads.sourceforge.net/${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
+ https://downloads.sourceforge.net/${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 ~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
+}