1 |
commit: ddc8452f43229c1426f4aaeacc79fbd57ecafd97 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 23:25:55 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 28 23:03:18 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ddc8452f |
7 |
|
8 |
dev-libs/totem-pl-parser: 3.4.5 → 3.10.0 |
9 |
|
10 |
--- |
11 |
dev-libs/totem-pl-parser/metadata.xml | 13 ++++ |
12 |
.../totem-pl-parser/totem-pl-parser-3.10.0.ebuild | 64 +++++++++++++++++++ |
13 |
.../totem-pl-parser/totem-pl-parser-9999.ebuild | 73 +++++++++++----------- |
14 |
3 files changed, 113 insertions(+), 37 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/totem-pl-parser/metadata.xml b/dev-libs/totem-pl-parser/metadata.xml |
17 |
new file mode 100644 |
18 |
index 0000000..4c6d9e9 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/totem-pl-parser/metadata.xml |
21 |
@@ -0,0 +1,13 @@ |
22 |
+<?xml version="1.0" encoding="UTF-8"?> |
23 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
24 |
+<pkgmetadata> |
25 |
+<herd>gnome</herd> |
26 |
+<use> |
27 |
+ <flag name='archive'>Enables support for accessing media files in archives |
28 |
+ transparently via <pkg>app-arch/libarchive</pkg></flag> |
29 |
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for |
30 |
+ introspection</flag> |
31 |
+ <flag name="quvi">Use <pkg>media-libs/quvi</pkg> for parsing video |
32 |
+ links</flag> |
33 |
+</use> |
34 |
+</pkgmetadata> |
35 |
|
36 |
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.10.0.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.0.ebuild |
37 |
new file mode 100644 |
38 |
index 0000000..d45bd04 |
39 |
--- /dev/null |
40 |
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.0.ebuild |
41 |
@@ -0,0 +1,64 @@ |
42 |
+# Copyright 1999-2013 Gentoo Foundation |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+# $Header: $ |
45 |
+ |
46 |
+EAPI="5" |
47 |
+GCONF_DEBUG="no" |
48 |
+ |
49 |
+inherit gnome2 |
50 |
+ |
51 |
+DESCRIPTION="Playlist parsing library" |
52 |
+HOMEPAGE="http://projects.gnome.org/totem/ http://developer.gnome.org/totem-pl-parser/stable/" |
53 |
+ |
54 |
+LICENSE="LGPL-2+" |
55 |
+SLOT="0/18" |
56 |
+IUSE="archive crypt +introspection +quvi test" |
57 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ >=dev-libs/glib-2.31:2 |
61 |
+ dev-libs/gmime:2.6 |
62 |
+ >=net-libs/libsoup-2.43:2.4 |
63 |
+ archive? ( >=app-arch/libarchive-3 ) |
64 |
+ crypt? ( dev-libs/libgcrypt ) |
65 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
66 |
+ quvi? ( >=media-libs/libquvi-0.9.1:0= ) |
67 |
+" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ !<media-video/totem-2.21 |
70 |
+ >=dev-util/intltool-0.35 |
71 |
+ >=dev-util/gtk-doc-am-1.14 |
72 |
+ >=sys-devel/gettext-0.17 |
73 |
+ virtual/pkgconfig |
74 |
+ test? ( |
75 |
+ gnome-base/gvfs[http] |
76 |
+ sys-apps/dbus ) |
77 |
+" |
78 |
+# eautoreconf needs: |
79 |
+# dev-libs/gobject-introspection-common |
80 |
+# >=gnome-base/gnome-common-3.6 |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ # Disable tests requiring network access, bug #346127 |
84 |
+ # 3rd test fails on upgrade, not once installed |
85 |
+ sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ |
86 |
+ -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ |
87 |
+ -e 's:\(g_test_add_func.*/parser/parsability.*\)/*\1/:'\ |
88 |
+ -i plparse/tests/parser.c || die "sed failed" |
89 |
+ |
90 |
+ gnome2_src_prepare |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ gnome2_src_configure \ |
95 |
+ --disable-static \ |
96 |
+ $(use_enable archive libarchive) \ |
97 |
+ $(use_enable crypt libgcrypt) \ |
98 |
+ $(use_enable quvi) \ |
99 |
+ $(use_enable introspection) |
100 |
+} |
101 |
+ |
102 |
+src_test() { |
103 |
+ # This is required as told by upstream in bgo#629542 |
104 |
+ GVFS_DISABLE_FUSE=1 dbus-launch emake check || die "emake check failed" |
105 |
+} |
106 |
|
107 |
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-9999.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-9999.ebuild |
108 |
index f3a0553..1bb6138 100644 |
109 |
--- a/dev-libs/totem-pl-parser/totem-pl-parser-9999.ebuild |
110 |
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-9999.ebuild |
111 |
@@ -1,10 +1,9 @@ |
112 |
-# Copyright 1999-2012 Gentoo Foundation |
113 |
+# Copyright 1999-2013 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
# $Header: $ |
116 |
|
117 |
-EAPI="4" |
118 |
+EAPI="5" |
119 |
GCONF_DEBUG="no" |
120 |
-GNOME2_LA_PUNT="yes" |
121 |
|
122 |
inherit gnome2 |
123 |
if [[ ${PV} = 9999 ]]; then |
124 |
@@ -14,62 +13,62 @@ fi |
125 |
DESCRIPTION="Playlist parsing library" |
126 |
HOMEPAGE="http://projects.gnome.org/totem/ http://developer.gnome.org/totem-pl-parser/stable/" |
127 |
|
128 |
-LICENSE="LGPL-2" |
129 |
-SLOT="0" |
130 |
+LICENSE="LGPL-2+" |
131 |
+SLOT="0/18" |
132 |
+IUSE="archive crypt +introspection +quvi test" |
133 |
if [[ ${PV} = 9999 ]]; then |
134 |
+ IUSE="${IUSE} doc" |
135 |
KEYWORDS="" |
136 |
else |
137 |
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~sparc ~x86 ~x86-fbsd" |
138 |
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
139 |
fi |
140 |
-IUSE="archive crypt doc +introspection +quvi test" |
141 |
|
142 |
-RDEPEND=">=dev-libs/glib-2.31:2 |
143 |
- dev-libs/gmime:2.4 |
144 |
- >=net-libs/libsoup-gnome-2.30:2.4 |
145 |
- archive? ( >=app-arch/libarchive-2.8.4 ) |
146 |
+RDEPEND=" |
147 |
+ >=dev-libs/glib-2.31:2 |
148 |
+ dev-libs/gmime:2.6 |
149 |
+ >=net-libs/libsoup-2.43:2.4 |
150 |
+ archive? ( >=app-arch/libarchive-3 ) |
151 |
crypt? ( dev-libs/libgcrypt ) |
152 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
153 |
- quvi? ( >=media-libs/libquvi-0.2.15 )" |
154 |
+ quvi? ( >=media-libs/libquvi-0.9.1:0= ) |
155 |
+" |
156 |
DEPEND="${RDEPEND} |
157 |
!<media-video/totem-2.21 |
158 |
>=dev-util/intltool-0.35 |
159 |
+ >=dev-util/gtk-doc-am-1.14 |
160 |
>=sys-devel/gettext-0.17 |
161 |
virtual/pkgconfig |
162 |
- doc? ( >=dev-util/gtk-doc-1.14 ) |
163 |
test? ( |
164 |
gnome-base/gvfs[http] |
165 |
- sys-apps/dbus )" |
166 |
+ sys-apps/dbus ) |
167 |
+" |
168 |
# eautoreconf needs: |
169 |
-# >=dev-util/gtk-doc-am-1.14 |
170 |
+# dev-libs/gobject-introspection-common |
171 |
+# >=gnome-base/gnome-common-3.6 |
172 |
|
173 |
-pkg_setup() { |
174 |
- G2CONF="${G2CONF} |
175 |
- --disable-static |
176 |
- --disable-maintainer-mode |
177 |
- $(use_enable archive libarchive) |
178 |
- $(use_enable crypt libgcrypt) |
179 |
- $(use_enable quvi) |
180 |
- $(use_enable introspection)" |
181 |
- DOCS="AUTHORS ChangeLog NEWS" |
182 |
-} |
183 |
- |
184 |
-# eautoreconf needs: |
185 |
-#src_unpack() { |
186 |
-# # If gobject-introspection is installed, we don't need the extra .m4 |
187 |
-# if has_version "dev-libs/gobject-introspection"; then |
188 |
-# unpack ${P}.tar.bz2 |
189 |
-# else |
190 |
-# unpack ${A} |
191 |
-# fi |
192 |
-#} |
193 |
+if [[ ${PV} = 9999 ]]; then |
194 |
+ DEPEND="${DEPEND} |
195 |
+ doc? ( >=dev-util/gtk-doc-1.14 )" |
196 |
+fi |
197 |
|
198 |
src_prepare() { |
199 |
- gnome2_src_prepare |
200 |
- |
201 |
# Disable tests requiring network access, bug #346127 |
202 |
+ # 3rd test fails on upgrade, not once installed |
203 |
sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ |
204 |
-e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ |
205 |
+ -e 's:\(g_test_add_func.*/parser/parsability.*\)/*\1/:'\ |
206 |
-i plparse/tests/parser.c || die "sed failed" |
207 |
+ |
208 |
+ gnome2_src_prepare |
209 |
+} |
210 |
+ |
211 |
+src_configure() { |
212 |
+ gnome2_src_configure \ |
213 |
+ --disable-static \ |
214 |
+ $(use_enable archive libarchive) \ |
215 |
+ $(use_enable crypt libgcrypt) \ |
216 |
+ $(use_enable quvi) \ |
217 |
+ $(use_enable introspection) |
218 |
} |
219 |
|
220 |
src_test() { |