From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libpng: ChangeLog libpng-1.4.4.ebuild |
Date: | Tue, 05 Oct 2010 10:48:18 |
Message-Id: | 20101005104811.DCDBF20051@flycatcher.gentoo.org |
1 | ssuominen 10/10/05 10:48:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libpng-1.4.4.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2_rc88/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.273 media-libs/libpng/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/ChangeLog?rev=1.273&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/ChangeLog?rev=1.273&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/ChangeLog?r1=1.272&r2=1.273 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v |
20 | retrieving revision 1.272 |
21 | retrieving revision 1.273 |
22 | diff -u -r1.272 -r1.273 |
23 | --- ChangeLog 19 Jul 2010 01:06:05 -0000 1.272 |
24 | +++ ChangeLog 5 Oct 2010 10:48:11 -0000 1.273 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-libs/libpng |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.272 2010/07/19 01:06:05 josejx Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.273 2010/10/05 10:48:11 ssuominen Exp $ |
30 | + |
31 | +*libpng-1.4.4 (05 Oct 2010) |
32 | + |
33 | + 05 Oct 2010; Samuli Suominen <ssuominen@g.o> +libpng-1.4.4.ebuild: |
34 | + Version bump. |
35 | |
36 | 19 Jul 2010; Joseph Jezak <josejx@g.o> libpng-1.2.44.ebuild, |
37 | libpng-1.4.3.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/libpng/libpng-1.4.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/libpng-1.4.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libpng/libpng-1.4.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libpng-1.4.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 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.4.4.ebuild,v 1.1 2010/10/05 10:48:11 ssuominen Exp $ |
51 | |
52 | EAPI=3 |
53 | inherit eutils libtool multilib prefix |
54 | |
55 | DESCRIPTION="Portable Network Graphics library" |
56 | HOMEPAGE="http://www.libpng.org/" |
57 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" |
58 | |
59 | LICENSE="as-is" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
62 | IUSE="" |
63 | |
64 | RDEPEND="sys-libs/zlib" |
65 | DEPEND="${RDEPEND} |
66 | app-arch/xz-utils" |
67 | |
68 | src_prepare() { |
69 | cp "${FILESDIR}"/libpng-1.4.x-update.sh "${T}" |
70 | eprefixify "${T}"/libpng-1.4.x-update.sh |
71 | elibtoolize |
72 | } |
73 | |
74 | src_install() { |
75 | emake DESTDIR="${D}" install || die |
76 | dodoc ANNOUNCE CHANGES README TODO |
77 | dosbin "${T}"/libpng-1.4.x-update.sh |
78 | } |
79 | |
80 | pkg_preinst() { |
81 | has_version ${CATEGORY}/${PN}:1.2 && return 0 |
82 | preserve_old_lib /usr/$(get_libdir)/libpng12.so.0 |
83 | } |
84 | |
85 | pkg_postinst() { |
86 | elog |
87 | elog "Run ${EPREFIX}/usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)" |
88 | elog |
89 | |
90 | has_version ${CATEGORY}/${PN}:1.2 && return 0 |
91 | preserve_old_lib_notify /usr/$(get_libdir)/libpng12.so.0 |
92 | } |