Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libafterimage: ChangeLog libafterimage-1.20.ebuild
Date: Mon, 28 Feb 2011 17:47:28
Message-Id: 20110228174715.5E32C20054@flycatcher.gentoo.org
1 bicatali 11/02/28 17:47:15
2
3 Modified: ChangeLog
4 Added: libafterimage-1.20.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 media-libs/libafterimage/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libafterimage/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libafterimage/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libafterimage/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 11 Nov 2010 10:08:26 -0000 1.29
24 +++ ChangeLog 28 Feb 2011 17:47:15 -0000 1.30
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/libafterimage
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.29 2010/11/11 10:08:26 ssuominen Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.30 2011/02/28 17:47:15 bicatali Exp $
31 +
32 +*libafterimage-1.20 (28 Feb 2011)
33 +
34 + 28 Feb 2011; S├ębastien Fabbro <bicatali@g.o>
35 + +libafterimage-1.20.ebuild:
36 + Version bump
37
38 11 Nov 2010; Samuli Suominen <ssuominen@g.o>
39 libafterimage-1.18-r1.ebuild:
40
41
42
43 1.1 media-libs/libafterimage/libafterimage-1.20.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libafterimage/libafterimage-1.20.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libafterimage/libafterimage-1.20.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libafterimage-1.20.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.20.ebuild,v 1.1 2011/02/28 17:47:15 bicatali Exp $
53
54 EAPI=3
55 inherit eutils
56
57 MY_PN=libAfterImage
58
59 DESCRIPTION="Afterstep's standalone generic image manipulation library"
60 HOMEPAGE="http://www.afterstep.org/afterimage/index.php"
61 SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="gif jpeg mmx nls png svg tiff examples static-libs truetype"
67
68 RDEPEND="x11-libs/libSM
69 x11-libs/libXext
70 x11-libs/libXrender
71 png? ( >=media-libs/libpng-1.4 )
72 jpeg? ( virtual/jpeg )
73 gif? ( media-libs/giflib )
74 svg? ( gnome-base/librsvg )
75 tiff? ( media-libs/tiff )
76 truetype? ( media-libs/freetype )"
77 DEPEND="${RDEPEND}
78 dev-util/pkgconfig
79 x11-proto/xextproto
80 !x11-wm/afterstep"
81
82 S="${WORKDIR}/${MY_PN}-${PV}"
83
84 src_prepare() {
85 # fix some ldconfig problem in makefile.in
86 epatch "${FILESDIR}"/${PN}-makefile.in.patch
87 # fix lib paths in afterimage-config
88 epatch "${FILESDIR}"/${PN}-config.patch
89 # remove forced flags
90 sed -i \
91 -e 's/CFLAGS="-O3"//' \
92 -e 's/ -rdynamic//' \
93 configure || die "sed failed"
94 }
95
96 src_configure() {
97 econf \
98 $(use_enable static-libs staticlibs) \
99 $(use_enable nls i18n) \
100 $(use_enable mmx mmx-optimization) \
101 $(use_with png) \
102 $(use_with jpeg) \
103 $(use_with gif) \
104 $(use_with svg) \
105 $(use_with tiff) \
106 $(use_with truetype ttf) \
107 --enable-glx \
108 --enable-sharedlibs \
109 --with-x \
110 --with-xpm \
111 --without-builtin-gif \
112 --without-builtin-ungif \
113 --without-builtin-zlib \
114 --without-afterbase
115 }
116
117 src_install() {
118 emake \
119 DESTDIR="${ED}" \
120 AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \
121 install || die "emake install failed"
122 dodoc ChangeLog README || die
123 if use examples; then
124 cd apps || die
125 emake clean
126 rm -f Makefile*
127 insinto /usr/share/doc/${PF}/examples
128 doins * || die "install examples failed"
129 fi
130 }