mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-08 09:12:08 +01:00
media-libs/libpng: Sync with Gentoo
It's from Gentoo commit ca4cd3b0e0e405047e15623d6c6d913f2890591b. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
e390be27cd
commit
f759fbbc8d
@ -2,3 +2,9 @@ DIST libpng-1.6.47-libpng-apng-apng.patch.gz 10697 BLAKE2B eadf410ea5ef073e444dd
|
||||
DIST libpng-1.6.47.tar.xz 1054664 BLAKE2B 3dafe005931cd5b7709278f8d1961250c1d80ade4e73b568a211b409e7cac44f42692c6501851620ccd549d5c466b697dc6bbecf56e969e00b54c22a7cde0d72 SHA512 932578dedd7916e2c502d8d11eef845e15733e84062510ba246b027d5467efe786725ff3dd22b9a33ff6a052c8dab3da3b45cb737a00caed43b6598c2bd8122b
|
||||
DIST libpng-1.6.49-libpng-apng-apng.patch.gz 10676 BLAKE2B a726acae0da7905c5f1c59e42bcef8c3b46c545bf4955e0c40a21f0ed928b43af47e3dd6a771a3fb954fb6172218bec0472c62f591b4c470fc14a99a873645d3 SHA512 d3a7121f892049f5488f32b5de29fb8892f2b329ee1df956b129918601946ab86a542a4412587ee5f660c581484812aaf101f953bcc187c993d98ba9d8d63a00
|
||||
DIST libpng-1.6.50.tar.xz 1060992 BLAKE2B 2191536b4448d3a058b9dbb31f3d780959c9daf7b104550cc89e8ae984a3c9f01b86bf6c6708983989b4bfbe7232e3716b8a3b8cd3313a12c31e0623b6241d11 SHA512 05adc94ef532bbddaae46e087088a23236e6528fd3fc705c8edfb5ff293983b790d4361d6b20c20df73632a9fbe55d2f394296385cd8efd646f58393ff21257d
|
||||
DIST libpng-1.6.51-libpng-apng-apng.patch.gz 10686 BLAKE2B 71cab27854831c640de6d2d3dc3c1e38cb104ee5fe7012cce5662c4362b2289b3e3a0f623eb3335c025efa12ce81dd3da698f5cc6862a20e7439445bb4153a51 SHA512 746f74058d51d9f042479f296cdbd77b40ddb4cf1f8a94f6e1ca08b453f42bbda780689975f7607d54b8a0cd86f72e7a2804259b3afa1ddc1342e987bed5814d
|
||||
DIST libpng-1.6.51.tar.xz 1060772 BLAKE2B 2d1ee36f9796e90a533abf26597df82c39cfab42f8d4044d35e0fdbab65612b9fc0234780677e2ea758450db9815b9d30870e8024bcebc0170c87361b7c4cc0a SHA512 c723406f050f99783b2576e7e2c84774630a7f46bb8ea82bf4932f82bbb4899f47cb1b19ff9020245a474a0b2fee82c55ac1c58db43e3888ad5cc3a1767e7433
|
||||
DIST libpng-1.6.52.tar.xz 1063580 BLAKE2B 47732b5e1a9d35e6aa2b7d1b967842588410154ada06af9d9c3fafaaf2440f1b70a1c9d4c0329b29b401f182ac4cc1fe88dc312e8a17e82aafd4ca954910221b SHA512 2bb1318f36712fc007613373a44a3276b4ed129b51b908464d9577ea9704d3caa469ec5bc7ebfb8b1de57ba3998c0b3375cd105054011ec54c21e9f208ec3c8b
|
||||
DIST libpng-1.6.53.tar.xz 1063432 BLAKE2B 62e28068e1885305828fff3296b19a7d61e11a52ca425be91289e17087be2c42f06ea2df000169632cc556b398cdcb4784a639879e038962310c53becae779f6 SHA512 569f81d57dcce7bb874a45fa9f8db2044585245d2eb0c0485a1b03c2e338ecaec6bfda3cb94ad2a34951997414c69fc0373c8c5852d6c313c03e8a946ff345c6
|
||||
DIST libpng-1.6.54-libpng-apng-apng.patch.gz 10604 BLAKE2B 8202b80755e6c18227e89567cdb087ac79b4f72862d9a23e29f1271310af4bcb4783a52090e1479724bd9c088a13a7a4e2f2cbda2e958e2c3180619b20ec8a1b SHA512 217449d76fab45707a696ee5926039c6091196abfc33b4e3bec0a5f63d5b17fd4a7e48af41c4cc2536edc527837dc10fe718092d5b1ffc89ee4dc66883e7267a
|
||||
DIST libpng-1.6.54.tar.xz 1064472 BLAKE2B a91ebb8396d9a5de10d642cc8891d594dacd480248fdb73859f8317fc6cbadf0f542acf446955f2e78e8655439464bbad600993491e3e97474a91c65d703fef7 SHA512 fc44530146af15c96232bf9954b9deda93d7bdd726c1a62685062f864215674fd3ae912e8eeafffc04329f2e802464262a8c4bca266ee7bc3559cdcd90eb785e
|
||||
|
||||
@ -19,7 +19,7 @@ SRC_URI="
|
||||
|
||||
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"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="apng cpu_flags_x86_sse static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ SRC_URI="
|
||||
|
||||
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"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="apng cpu_flags_x86_sse static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.51.ebuild
vendored
Normal file
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.51.ebuild
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dot-a libtool multilib-minimal
|
||||
|
||||
APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date
|
||||
APNG_VERSION="1.6.51"
|
||||
DESCRIPTION="Portable Network Graphics library"
|
||||
HOMEPAGE="https://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 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="apng cpu_flags_x86_sse static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
riscv? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(multilib_native_enable tools)
|
||||
$(use_enable test tests)
|
||||
$(use_enable cpu_flags_x86_sse intel-sse)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
|
||||
strip-lto-bytecode
|
||||
find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die
|
||||
}
|
||||
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.52.ebuild
vendored
Normal file
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.52.ebuild
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dot-a libtool multilib-minimal
|
||||
|
||||
APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date
|
||||
APNG_VERSION="1.6.51"
|
||||
DESCRIPTION="Portable Network Graphics library"
|
||||
HOMEPAGE="https://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 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="apng cpu_flags_x86_sse static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
riscv? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(multilib_native_enable tools)
|
||||
$(use_enable test tests)
|
||||
$(use_enable cpu_flags_x86_sse intel-sse)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
|
||||
strip-lto-bytecode
|
||||
find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die
|
||||
}
|
||||
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.53.ebuild
vendored
Normal file
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.53.ebuild
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dot-a libtool multilib-minimal
|
||||
|
||||
APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date
|
||||
APNG_VERSION="1.6.51"
|
||||
DESCRIPTION="Portable Network Graphics library"
|
||||
HOMEPAGE="https://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 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="apng cpu_flags_x86_sse static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
riscv? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(multilib_native_enable tools)
|
||||
$(use_enable test tests)
|
||||
$(use_enable cpu_flags_x86_sse intel-sse)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
|
||||
strip-lto-bytecode
|
||||
find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die
|
||||
}
|
||||
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.54.ebuild
vendored
Normal file
78
sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.54.ebuild
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dot-a libtool multilib-minimal
|
||||
|
||||
APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date
|
||||
APNG_VERSION="1.6.54"
|
||||
DESCRIPTION="Portable Network Graphics library"
|
||||
HOMEPAGE="https://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 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="apng cpu_flags_x86_sse static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
riscv? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(multilib_native_enable tools)
|
||||
$(use_enable test tests)
|
||||
$(use_enable cpu_flags_x86_sse intel-sse)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
|
||||
strip-lto-bytecode
|
||||
find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die
|
||||
}
|
||||
@ -16,7 +16,6 @@
|
||||
<remote-id type="cpe">cpe:/a:libpng:libpng</remote-id>
|
||||
<remote-id type="github">pnggroup/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>
|
||||
<remote-id type="sourceforge">apng</remote-id>
|
||||
<remote-id type="sourceforge">libpng-apng</remote-id>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user