Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/GD: ChangeLog GD-2.41.ebuild
Date: Wed, 10 Sep 2008 17:12:15
Message-Id: E1KdTEi-0007SK-IV@stork.gentoo.org
1 tove 08/09/10 17:12:12
2
3 Modified: ChangeLog
4 Added: GD-2.41.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-tuxonice i686)
8
9 Revision Changes Path
10 1.79 dev-perl/GD/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 6 Aug 2008 16:48:47 -0000 1.78
23 +++ ChangeLog 10 Sep 2008 17:12:11 -0000 1.79
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-perl/GD
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.78 2008/08/06 16:48:47 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.79 2008/09/10 17:12:11 tove Exp $
29 +
30 +*GD-2.41 (10 Sep 2008)
31 +
32 + 10 Sep 2008; Torsten Veller <tove@g.o> +GD-2.41.ebuild:
33 + Version bump
34
35 06 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
36 add GLEP 56 USE flag desc from use.local.desc
37
38
39
40 1.1 dev-perl/GD/GD-2.41.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/GD-2.41.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/GD/GD-2.41.ebuild?rev=1.1&content-type=text/plain
44
45 Index: GD-2.41.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.41.ebuild,v 1.1 2008/09/10 17:12:12 tove Exp $
50
51 MODULE_AUTHOR=LDS
52 inherit eutils perl-module
53
54 DESCRIPTION="interface to Thomas Boutell's gd library"
55
56 LICENSE="|| ( Artistic GPL-2 )"
57 SLOT="0"
58 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
59 IUSE="animgif gif jpeg png truetype xpm"
60
61 DEPEND=">=media-libs/gd-2.0.33
62 png? ( media-libs/libpng sys-libs/zlib )
63 jpeg? ( media-libs/jpeg )
64 truetype? ( =media-libs/freetype-2* )
65 xpm? ( x11-libs/libXpm )
66 gif? ( media-libs/giflib )
67 dev-lang/perl"
68
69 SRC_TEST=do
70
71 pkg_setup() {
72 local i_can_has_die=0
73
74 if use jpeg && ! built_with_use media-libs/gd jpeg; then
75 echo
76 eerror "If you want to compile dev-perl/GD with USE=jpeg, you must first"
77 eerror "compile media-libs/gd with USE=jpeg"
78 i_can_has_die=1
79 fi
80
81 if use truetype && ! built_with_use media-libs/gd truetype; then
82 echo
83 eerror "If you want to compile dev-perl/GD with USE=truetype, you must first"
84 eerror "compile media-libs/gd with USE=truetype"
85 i_can_has_die=1
86 fi
87
88 if use png && ! built_with_use media-libs/gd png; then
89 echo
90 eerror "If you want to compile dev-perl/GD with USE=png, you must first"
91 eerror "compile media-libs/gd with USE=png"
92 i_can_has_die=1
93 fi
94
95 if use xpm && ! built_with_use media-libs/gd xpm; then
96 echo
97 eerror "If you want to compile dev-perl/GD with USE=xpm, you must first"
98 eerror "compile media-libs/gd with USE=xpm"
99 i_can_has_die=1
100 fi
101
102 [[ ${i_can_has_die} -ne 0 ]] && die "Please fix the errors above before continuing"
103 }
104
105 src_compile() {
106 myconf=""
107 use gif && use animgif && myconf="${myconf},ANIMGIF"
108 use jpeg && myconf="${myconf},JPEG"
109 use truetype && myconf="${myconf},FREETYPE"
110 use png && myconf="${myconf},PNG"
111 use xpm && myconf="${myconf},XPM"
112 use gif && myconf="${myconf},GIF"
113 myconf="-options \"${myconf:1}\""
114 perl-module_src_compile
115 }
116
117 mydoc="GD.html"