summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin66125 -> 66123 bytes
-rw-r--r--media-libs/libpng/Manifest4
-rw-r--r--media-libs/libpng/libpng-1.6.38.ebuild50
-rw-r--r--media-libs/libpng/metadata.xml2
4 files changed, 55 insertions, 1 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index bd8a2c1a1778..1f58d1e41558 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index 9827a331c661..7bc87c0f6d3d 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -1,4 +1,6 @@
DIST libpng-1.6.37-apng.patch.gz 10334 BLAKE2B 98660f2c13a78c93f937adf2859447cb0e6fa014b2ef6f0571c910593d94cc0a50137d271dbded0b571a3bc0ce4e9f765be48130ee4ae89884fb7292a1b0cf6e SHA512 a9365257a33d67d7e7284494a37747bb1f3ab89f42a1730f2745c604538f59861828dc91d9bc1d08a5b79ab2f4eef1bb9e438dda1774b3548a1c56be77f8435f
DIST libpng-1.6.37.tar.xz 1012272 BLAKE2B 48e8f48a88e0db6fcbc0c0f1a4d5bda6e6c8b03255bacdc60e353256ae41ccc01b5b2a7e0e7b0dea236c53a3b9d1dd89d4bb19445afbebc37bf0f92691452424 SHA512 59e8c1059013497ae616a14c3abbe239322d3873c6ded0912403fc62fb260561768230b6ab997e2cccc3b868c09f539fd13635616b9fa0dd6279a3f63ec7e074
+DIST libpng-1.6.38.tar.xz 1023168 BLAKE2B b855f85c69336c21891fc9c074e5c03bb074f2262bf99ed6915573664379efcf427834ea049391ffec21e83c89a574c2e888989792fcae4598761718772d29c8 SHA512 4e450636062fcc75ecc65715e0b23ddc1097b73b4c95ffd31bef627144c576f58660b2130105f5f5781212cf54f00c7b6dd3facefd7e9de70c76b981d499f81e
EBUILD libpng-1.6.37-r2.ebuild 1358 BLAKE2B 7c3f016cff4e270addcd3e6b5ba5859f9d9733e60dadb309b4d9a3279abba56f4f1b886bfc1433047f3a82f8139fa66b180215d17f97dea40e5d07b072d0b1d1 SHA512 cb2963cafe245a958278824f882dc2657340203f9b1b584a68347f4a0bbbad4e9a7ff6dec0ed9cdefddec61d20da24874ffa6de1f5d2f40fa9d567876cb6a6b2
-MISC metadata.xml 721 BLAKE2B 71c9fe0c479b2f8269f6a56f6905afb196424d51ca2327e85fb29892ad028cd213e89737974895ca7f621dfe42af8ac0d75c0c572139b7ae7130771a2e3f3f0c SHA512 298a3989e7e7a57af032aea71795fb31387442411e14405ea99ae84c664644ede2248c8a54c3dfa64fed8917a3b2d8715fcd3c8b8d1d9f253f61ede18da29523
+EBUILD libpng-1.6.38.ebuild 1379 BLAKE2B 4b19009781d76eea3bdb736bdd529032aa6d0ae0a739d44ccb660d9953d44e8cd1ed105143e5e6b455cf25f894e2fc3334df4f0282722633c3adb6e1e9888219 SHA512 203b3c6fd4c9997eb27f8161466922faffe550917862ff85d03a6cf8d023d135d25d9d2eaf0ac2e925681a6786395278886cfc945c181701b98974ba61d044cb
+MISC metadata.xml 852 BLAKE2B 9379a55a4838cccb42406fadbff60d7fcd0473a0a7a5b543a2ba2ac13a0471553598b8447ea61a28e052662b7a4f821944043fb93e0946a372c447196689e914 SHA512 228a581e4d03ede59974da226f2892d4ed9c3b21cee02315ea6fc7718d8ae4f8b4654d4ab41f6e3a0509628fe8eff190919585900c802378404da39bb4d6713d
diff --git a/media-libs/libpng/libpng-1.6.38.ebuild b/media-libs/libpng/libpng-1.6.38.ebuild
new file mode 100644
index 000000000000..26f8a8b0427d
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.38.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool multilib-minimal
+
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
+ apng? ( mirror://sourceforge/apng/${PN}-1.6.37-apng.patch.gz )"
+
+LICENSE="libpng2"
+SLOT="0/16"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+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 -p0 "${WORKDIR}"/${PN}-*-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 check)
+ $(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
+}
diff --git a/media-libs/libpng/metadata.xml b/media-libs/libpng/metadata.xml
index 10e62abda656..9fc5e446743d 100644
--- a/media-libs/libpng/metadata.xml
+++ b/media-libs/libpng/metadata.xml
@@ -15,6 +15,8 @@
<upstream>
<remote-id type="cpe">cpe:/a:libpng:libpng</remote-id>
<remote-id type="github">glennrp/libpng</remote-id>
+ <remote-id type="github">pnggroup/libpng-EXPERIMENTAL</remote-id>
+ <remote-id type="github">glennrp/libpng-releases</remote-id>
<remote-id type="sourceforge">libpng</remote-id>
</upstream>
<slots>