Diff libpng-1.6.39 with a libpng-1.6.40
/usr/portage/media-libs/libpng/libpng-1.6.40.ebuild 2023-10-09 14:52:31.692368406 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
inherit libtool multilib-minimal |
7 | 7 | |
8 |
APNG_VERSION="1.6.38" |
|
8 |
APNG_VERSION="1.6.39" |
|
9 | 9 |
DESCRIPTION="Portable Network Graphics library" |
10 | 10 |
HOMEPAGE="http://www.libpng.org/" |
11 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" |
|
12 |
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 )" |
|
11 |
SRC_URI=" |
|
12 |
mirror://sourceforge/${PN}/${P}.tar.xz |
|
13 |
apng? ( |
|
14 |
mirror://sourceforge/libpng-apng/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PV}/${PN}-${APNG_VERSION}-apng.patch.gz |
|
15 |
) |
|
16 |
" |
|
13 | 17 | |
14 | 18 |
LICENSE="libpng2" |
15 | 19 |
SLOT="0/16" |
... | ... | |
25 | 29 |
default |
26 | 30 | |
27 | 31 |
if use apng; then |
28 |
eapply "${WORKDIR}"/${PN}-*-apng.patch |
|
32 |
eapply "${WORKDIR}"/${PN}-${APNG_VERSION}-apng.patch |
|
29 | 33 | |
30 | 34 |
# Don't execute symbols check with apng patch, bug #378111 |
31 | 35 |
sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die |