Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/babl: ChangeLog babl-9999.ebuild babl-0.1.10.ebuild
Date: Tue, 30 Apr 2013 20:37:50
Message-Id: 20130430203744.6A4C82171D@flycatcher.gentoo.org
1 sping 13/04/30 20:37:44
2
3 Modified: ChangeLog babl-9999.ebuild babl-0.1.10.ebuild
4 Log:
5 media-libs/babl: vala eclass (bug #467394)
6
7 (Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
8
9 Revision Changes Path
10 1.48 media-libs/babl/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/babl/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 30 Apr 2013 20:13:01 -0000 1.47
23 +++ ChangeLog 30 Apr 2013 20:37:44 -0000 1.48
24 @@ -1,6 +1,10 @@
25 # ChangeLog for media-libs/babl
26 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/ChangeLog,v 1.47 2013/04/30 20:13:01 sping Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/ChangeLog,v 1.48 2013/04/30 20:37:44 sping Exp $
29 +
30 + 30 Apr 2013; Sebastian Pipping <sping@g.o> babl-0.1.10.ebuild,
31 + babl-9999.ebuild:
32 + Migrate to vala eclass (bug #467394)
33
34 30 Apr 2013; Sebastian Pipping <sping@g.o> babl-0.1.8.ebuild:
35 Apply g-ir crash patch to 0.1.8, too (bug #413663)
36
37
38
39 1.2 media-libs/babl/babl-9999.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/babl-9999.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/babl-9999.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/babl-9999.ebuild?r1=1.1&r2=1.2
44
45 Index: babl-9999.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/media-libs/babl/babl-9999.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- babl-9999.ebuild 17 May 2012 18:50:59 -0000 1.1
52 +++ babl-9999.ebuild 30 Apr 2013 20:37:44 -0000 1.2
53 @@ -1,12 +1,14 @@
54 -# Copyright 1999-2012 Gentoo Foundation
55 +# Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-9999.ebuild,v 1.1 2012/05/17 18:50:59 sping Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-9999.ebuild,v 1.2 2013/04/30 20:37:44 sping Exp $
59
60 EAPI=4
61 -VALASLOT=0.14
62 +
63 +VALA_MIN_API_VERSION=0.14
64 +VALA_USE_DEPEND=vapigen
65 EGIT_REPO_URI="git://git.gnome.org/babl"
66
67 -inherit autotools eutils git-2
68 +inherit vala autotools eutils git-2
69
70 DESCRIPTION="A dynamic, any to any, pixel format conversion library"
71 HOMEPAGE="http://www.gegl.org/babl/"
72 @@ -19,7 +21,7 @@
73 RDEPEND="introspection? ( >=dev-libs/gobject-introspection-0.10 )"
74 DEPEND="${RDEPEND}
75 >=sys-devel/libtool-2.2
76 - vala? ( dev-lang/vala:${VALASLOT}[vapigen] )
77 + vala? ( $(vala_depend) )
78 virtual/pkgconfig"
79
80 src_prepare() {
81 @@ -27,6 +29,8 @@
82 # http://mail.gnome.org/archives/commits-list/2012-April/msg02589.html
83 sed -i -e 's/values\.h/limits.h/' babl/babl-palette.c || die
84 eautoreconf
85 +
86 + use vala && vala_src_prepare
87 }
88
89 src_configure() {
90 @@ -34,7 +38,6 @@
91 # so we don't need to fix it
92 # w3m is used for dist target thus no issue for us that it is automagically
93 # detected
94 - VAPIGEN="$(type -p vapigen-${VALASLOT})" \
95 econf \
96 --disable-static \
97 --disable-maintainer-mode \
98 @@ -46,7 +49,7 @@
99 }
100
101 src_install() {
102 - emake install DESTDIR="${D}"
103 + default
104 find "${ED}" -name '*.la' -delete
105 dodoc AUTHORS MAINTAINERS NEWS TODO
106 }
107
108
109
110 1.8 media-libs/babl/babl-0.1.10.ebuild
111
112 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/babl-0.1.10.ebuild?rev=1.8&view=markup
113 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/babl-0.1.10.ebuild?rev=1.8&content-type=text/plain
114 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/babl/babl-0.1.10.ebuild?r1=1.7&r2=1.8
115
116 Index: babl-0.1.10.ebuild
117 ===================================================================
118 RCS file: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.1.10.ebuild,v
119 retrieving revision 1.7
120 retrieving revision 1.8
121 diff -u -r1.7 -r1.8
122 --- babl-0.1.10.ebuild 29 Apr 2013 21:46:02 -0000 1.7
123 +++ babl-0.1.10.ebuild 30 Apr 2013 20:37:44 -0000 1.8
124 @@ -1,11 +1,13 @@
125 # Copyright 1999-2013 Gentoo Foundation
126 # Distributed under the terms of the GNU General Public License v2
127 -# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.1.10.ebuild,v 1.7 2013/04/29 21:46:02 sping Exp $
128 +# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.1.10.ebuild,v 1.8 2013/04/30 20:37:44 sping Exp $
129
130 -EAPI=3
131 -VALASLOT=0.14
132 +EAPI=4
133
134 -inherit autotools eutils
135 +VALA_MIN_API_VERSION=0.14
136 +VALA_USE_DEPEND=vapigen
137 +
138 +inherit vala autotools eutils
139
140 DESCRIPTION="A dynamic, any to any, pixel format conversion library"
141 HOMEPAGE="http://www.gegl.org/babl/"
142 @@ -19,7 +21,7 @@
143 RDEPEND="introspection? ( >=dev-libs/gobject-introspection-0.10 )"
144 DEPEND="${RDEPEND}
145 >=sys-devel/libtool-2.2
146 - vala? ( dev-lang/vala:${VALASLOT}[vapigen] )
147 + vala? ( $(vala_depend) )
148 virtual/pkgconfig"
149
150 src_prepare() {
151 @@ -31,6 +33,8 @@
152 epatch "${FILESDIR}"/${P}-introspection.patch
153 epatch "${FILESDIR}"/${P}-g-ir-compiler-crash.patch
154 eautoreconf
155 +
156 + use vala && vala_src_prepare
157 }
158
159 src_configure() {
160 @@ -38,7 +42,6 @@
161 # so we don't need to fix it
162 # w3m is used for dist target thus no issue for us that it is automagically
163 # detected
164 - VAPIGEN="$(type -p vapigen-${VALASLOT})" \
165 econf \
166 --disable-static \
167 --disable-maintainer-mode \
168 @@ -50,7 +53,7 @@
169 }
170
171 src_install() {
172 - emake install DESTDIR="${D}" || die "emake install failed"
173 + default
174 find "${ED}" -name '*.la' -delete
175 - dodoc AUTHORS ChangeLog README NEWS || die "dodoc failed"
176 + dodoc AUTHORS ChangeLog README NEWS
177 }