summaryrefslogtreecommitdiff
path: root/media-libs/libpng
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-23 07:23:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-23 07:23:47 +0100
commit8702447e13af0a540c01f75bee0416677bced231 (patch)
treec48f57af58200e8671b2cf0e8685449dffe3a12c /media-libs/libpng
parent7828eef5de9e45f50282e2b1eaf348f1ac7af477 (diff)
gentoo auto-resync : 23:06:2023 - 07:23:46
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/Manifest3
-rw-r--r--media-libs/libpng/libpng-1.6.40.ebuild55
2 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index a9e04e86b8ed..6d08fa518bf1 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -1,4 +1,7 @@
DIST libpng-1.6.38-apng.patch.gz 10766 BLAKE2B 3aa4bf28f5854f3dbafd1b1e92a1b80b23b59279286f730babcb091369c266ab93427223f79c8797139a6624bd41a3485064faedde47680048804ef6d41f892a SHA512 e8cb74d9be6bcbc474b6bbd6200ab5d5111e91d3ab601e5fda04213d2800a4051f04152fa5d47db690612ed06a488ff3b2608a8f0bac0cf207d486107d98da1f
+DIST libpng-1.6.39-apng.patch.gz 10730 BLAKE2B 966b8ee5c0c880452c5f8c6b449272ff3a32b01322cc879122433970db881085f7ae2bf89bc2ea381589d5d90721f866153202d9fc446f40bd74864547623480 SHA512 97a182da0b3b54aecf735e3655d8e8f1a569ae957b23fc3d7a9c8cc65dcdd26f34f173ce9f60af99b01d5347267b2afefaf787c500ce1005e86bf2810b3d0738
DIST libpng-1.6.39.tar.xz 1020552 BLAKE2B f0a2e643e921587334349f48758e61e69b4708ebc36575567767087878d262d134eeeb98fea7f0b6ff1493ea954910ca1608b10fea57196aad770eb807a9006e SHA512 ce233bb58d70b391b7dc858a132a8f9f66a9e30f5b387426317fdd5e76e8395e00ec36324e5e2caec8fda49a3f2b13fe27594a3466fdf2020ec7520e79a608c9
+DIST libpng-1.6.40.tar.xz 1021332 BLAKE2B 4dd2df57791ca68cc31ba966b9176ecb37458572c60eef34e31ff0d3266d25ad6ea9d2e8cae6bfaf7932b5c7bc231047d3ed139b3464304c41cc4d89611f5ba8 SHA512 a2ec37c529bf80f3fee3798191d080d06e14d6a1ffecd3c1a02845cb9693b5e308a1d82598a376101f9312d989d19f1fb6735b225d4b0b9f1b73f9f8a3edb17f
EBUILD libpng-1.6.39.ebuild 1414 BLAKE2B e26c003923a5335ddfc838685ef26e33b79adff2cd584604e176bfd75733c1f3abe2b3835cd60f097fd385f640dd291efc8efa234e0a4bdc9115c5a5cea73db7 SHA512 abad377c565a3cee2aa39d6049236577d6123b048c253519ca1c3aeae4334b32f121b205a264005bc67bbbb8e788217abf4fe53f157d7371f9b9d349826aeadd
+EBUILD libpng-1.6.40.ebuild 1431 BLAKE2B 07aacdaad115ab103d9035b65a7f1282d7d3ea36ab7ec0fd2c27a0b7195e296aa5504acbfc9b3f9bcc1b8d67c0388cf42353eea06854ba581fa6cf66f2f08cd2 SHA512 3a415e2d048071e7d6e7c26b0b323822ced24bc6765d5de9363c5659942dffa19516dd1fc5633cbaba0a2ac8238c587380a5e3328087522fbc0f39ade82543bc
MISC metadata.xml 957 BLAKE2B ad5743315ed9df28a106d0ffa6a948c1f021ba879e136356672b144f94f4955022d749a0586457648ed304e53fa845c283b2e95884c62e6bf7bd7dc572ac279f SHA512 b4670befc78ec73052ba008a131c4b372c21d6186c7c1496e60325bb9ed2207b3e166e84fb1f4bffb9b2936a9d145ff7a67d5a4a49839438aa0a5be15fac727a
diff --git a/media-libs/libpng/libpng-1.6.40.ebuild b/media-libs/libpng/libpng-1.6.40.ebuild
new file mode 100644
index 000000000000..191746391cb0
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.40.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool multilib-minimal
+
+APNG_VERSION="1.6.39"
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.xz
+ apng? (
+ mirror://sourceforge/libpng-apng/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PV}/${PN}-${APNG_VERSION}-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"
+
+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
+ eapply "${WORKDIR}"/${PN}-${APNG_VERSION}-apng.patch
+
+ # 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=(
+ $(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
+}