1 |
mgorny 14/06/25 13:40:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libpng-1.5.18-r1.ebuild |
5 |
Log: |
6 |
Enable multilib support on :1.5, needed for games-action/trine2. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.455 media-libs/libpng/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/ChangeLog?rev=1.455&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/ChangeLog?rev=1.455&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/ChangeLog?r1=1.454&r2=1.455 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v |
20 |
retrieving revision 1.454 |
21 |
retrieving revision 1.455 |
22 |
diff -u -r1.454 -r1.455 |
23 |
--- ChangeLog 25 Jun 2014 01:18:57 -0000 1.454 |
24 |
+++ ChangeLog 25 Jun 2014 13:40:15 -0000 1.455 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-libs/libpng |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.454 2014/06/25 01:18:57 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.455 2014/06/25 13:40:15 mgorny Exp $ |
30 |
+ |
31 |
+*libpng-1.5.18-r1 (25 Jun 2014) |
32 |
+ |
33 |
+ 25 Jun 2014; Michał Górny <mgorny@g.o> +libpng-1.5.18-r1.ebuild: |
34 |
+ Enable multilib support on :1.5, needed for games-action/trine2. |
35 |
|
36 |
*libpng-1.6.12 (25 Jun 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-libs/libpng/libpng-1.5.18-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/libpng-1.5.18-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/libpng-1.5.18-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libpng-1.5.18-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.5.18-r1.ebuild,v 1.1 2014/06/25 13:40:15 mgorny Exp $ |
51 |
|
52 |
# this ebuild is only for the libpng15.so.15 SONAME for ABI compat |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils libtool multilib-minimal |
57 |
|
58 |
DESCRIPTION="Portable Network Graphics library" |
59 |
HOMEPAGE="http://www.libpng.org/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz |
61 |
apng? ( mirror://sourceforge/apng/${P}-apng.patch.gz )" |
62 |
|
63 |
LICENSE="libpng" |
64 |
SLOT="1.5" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
66 |
IUSE="apng neon" |
67 |
|
68 |
RDEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}] |
69 |
!=media-libs/libpng-1.5*:0 |
70 |
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140406-r4 |
71 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" |
72 |
DEPEND="${RDEPEND} |
73 |
app-arch/xz-utils" |
74 |
|
75 |
pkg_setup() { |
76 |
local _preserved_lib=${EROOT}/usr/$(get_libdir)/libpng15.so.15 |
77 |
[[ -e ${_preserved_lib} ]] && rm -f "${_preserved_lib}" |
78 |
} |
79 |
|
80 |
src_prepare() { |
81 |
if use apng; then |
82 |
epatch "${WORKDIR}"/${PN}-*-apng.patch |
83 |
# Don't execute symbols check with apng patch wrt #378111 |
84 |
sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die |
85 |
fi |
86 |
elibtoolize |
87 |
} |
88 |
|
89 |
multilib_src_configure() { |
90 |
ECONF_SOURCE="${S}" \ |
91 |
econf \ |
92 |
--disable-static \ |
93 |
--enable-arm-neon=$(usex neon) |
94 |
} |
95 |
|
96 |
multilib_src_compile() { |
97 |
emake libpng15.la |
98 |
} |
99 |
|
100 |
multilib_src_install() { |
101 |
newlib.so .libs/libpng15.so.15.* libpng15.so.15 |
102 |
} |