diff options
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libpng/libpng-1.6.39.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest index 873d8e3ae5f8..ae942b632d00 100644 --- a/media-libs/libpng/Manifest +++ b/media-libs/libpng/Manifest @@ -2,6 +2,8 @@ DIST libpng-1.6.37-apng.patch.gz 10334 BLAKE2B 98660f2c13a78c93f937adf2859447cb0 DIST libpng-1.6.37.tar.xz 1012272 BLAKE2B 48e8f48a88e0db6fcbc0c0f1a4d5bda6e6c8b03255bacdc60e353256ae41ccc01b5b2a7e0e7b0dea236c53a3b9d1dd89d4bb19445afbebc37bf0f92691452424 SHA512 59e8c1059013497ae616a14c3abbe239322d3873c6ded0912403fc62fb260561768230b6ab997e2cccc3b868c09f539fd13635616b9fa0dd6279a3f63ec7e074 DIST libpng-1.6.38-apng.patch.gz 10766 BLAKE2B 3aa4bf28f5854f3dbafd1b1e92a1b80b23b59279286f730babcb091369c266ab93427223f79c8797139a6624bd41a3485064faedde47680048804ef6d41f892a SHA512 e8cb74d9be6bcbc474b6bbd6200ab5d5111e91d3ab601e5fda04213d2800a4051f04152fa5d47db690612ed06a488ff3b2608a8f0bac0cf207d486107d98da1f DIST libpng-1.6.38.tar.xz 1023168 BLAKE2B b855f85c69336c21891fc9c074e5c03bb074f2262bf99ed6915573664379efcf427834ea049391ffec21e83c89a574c2e888989792fcae4598761718772d29c8 SHA512 4e450636062fcc75ecc65715e0b23ddc1097b73b4c95ffd31bef627144c576f58660b2130105f5f5781212cf54f00c7b6dd3facefd7e9de70c76b981d499f81e +DIST libpng-1.6.39.tar.xz 1020552 BLAKE2B f0a2e643e921587334349f48758e61e69b4708ebc36575567767087878d262d134eeeb98fea7f0b6ff1493ea954910ca1608b10fea57196aad770eb807a9006e SHA512 ce233bb58d70b391b7dc858a132a8f9f66a9e30f5b387426317fdd5e76e8395e00ec36324e5e2caec8fda49a3f2b13fe27594a3466fdf2020ec7520e79a608c9 EBUILD libpng-1.6.37-r2.ebuild 1358 BLAKE2B 7c3f016cff4e270addcd3e6b5ba5859f9d9733e60dadb309b4d9a3279abba56f4f1b886bfc1433047f3a82f8139fa66b180215d17f97dea40e5d07b072d0b1d1 SHA512 cb2963cafe245a958278824f882dc2657340203f9b1b584a68347f4a0bbbad4e9a7ff6dec0ed9cdefddec61d20da24874ffa6de1f5d2f40fa9d567876cb6a6b2 EBUILD libpng-1.6.38.ebuild 1414 BLAKE2B 094af3332cf5b9594c87c3c7348b41bbcb1406fa4e12ee1a1b7b9332ce4a5541277efc4ed490c90ef9a8513f9618762cea997bb6d097e9cdabe05bbbb446f86f SHA512 34c0e096f2447fc99834232a5db163d559bb3da10021023181d1829bdd0975960c466b4d770b350cf66a7493017897e1b8e3266fe78c6de8777a0f8047606357 +EBUILD libpng-1.6.39.ebuild 1477 BLAKE2B 7ef8cdd49d03b1454f3a99fb56df038bec9e7ab2accad9f5412d9dba7a09fb234782c475aca5e8f16f6732d84cc0602295e32e96727c0123480f7836efb0b4a4 SHA512 d8884fe09ee749ed9fab50fd5d882a2c1f55f3dfea4ffe272ec7fb9f96625eb2dff9a9f6b3c7fd6e46c70708c2916568d8f90116d0fd332f39f125cd98e314e1 MISC metadata.xml 957 BLAKE2B ad5743315ed9df28a106d0ffa6a948c1f021ba879e136356672b144f94f4955022d749a0586457648ed304e53fa845c283b2e95884c62e6bf7bd7dc572ac279f SHA512 b4670befc78ec73052ba008a131c4b372c21d6186c7c1496e60325bb9ed2207b3e166e84fb1f4bffb9b2936a9d145ff7a67d5a4a49839438aa0a5be15fac727a diff --git a/media-libs/libpng/libpng-1.6.39.ebuild b/media-libs/libpng/libpng-1.6.39.ebuild new file mode 100644 index 000000000000..f769c7da56ba --- /dev/null +++ b/media-libs/libpng/libpng-1.6.39.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool multilib-minimal + +APNG_VERSION="1.6.38" +DESCRIPTION="Portable Network Graphics library" +HOMEPAGE="http://www.libpng.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" +SRC_URI+=" 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 ~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 "${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) + $(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 +} |