1 |
commit: 88dc7c59ac02df6243f41be9433bf1e7460e44d8 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 23 22:19:04 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 23 22:23:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88dc7c59 |
7 |
|
8 |
media-video/totem: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
media-video/totem/Manifest | 1 - |
14 |
.../totem/files/3.30.0-control-plugins.patch | 199 --------------------- |
15 |
media-video/totem/files/3.30.0-vala-errormsg.patch | 31 ---- |
16 |
media-video/totem/metadata.xml | 2 - |
17 |
media-video/totem/totem-3.30.0.ebuild | 137 -------------- |
18 |
5 files changed, 370 deletions(-) |
19 |
|
20 |
diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest |
21 |
index 78d9ede9162..b52e07163d5 100644 |
22 |
--- a/media-video/totem/Manifest |
23 |
+++ b/media-video/totem/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST totem-3.30.0.tar.xz 3275852 BLAKE2B 9a5f97229a8aa6f7665c6d3e79dff48cfcce3caeab69510361ef3e9e1a107f7a56c66a5ae89ba3ae0a77d4b0ae8a16ac1f61e77278c82bf768e50009420110d0 SHA512 9d2e0a9e89358eea03404afd9353d18fa23afee7a34612912411ef10d4fb0b26ee02db002e6f8e05f68a333202d419f1e1a35188da23f87189e3093dac655742 |
26 |
DIST totem-3.32.1.tar.xz 2154892 BLAKE2B ff9ec2facbada0f72ae82bbb35d03e82b574be02d7c1f1d4c4dd3262e2b302d3430ba953cd9f4b4e1d1e5151f9b5987986c7ea387a7f5d6667eb931d41805659 SHA512 31a3e3ac7628b992da3cf99570d013eb8b972e28465db30a9ec68291f8e19ab498d89df6275228367a7e3e43121bcebda2654f2b0461a9d1d561cf46e0029f67 |
27 |
|
28 |
diff --git a/media-video/totem/files/3.30.0-control-plugins.patch b/media-video/totem/files/3.30.0-control-plugins.patch |
29 |
deleted file mode 100644 |
30 |
index 4d57ad0971c..00000000000 |
31 |
--- a/media-video/totem/files/3.30.0-control-plugins.patch |
32 |
+++ /dev/null |
33 |
@@ -1,199 +0,0 @@ |
34 |
-From 5bdfac8a4a34e3edec05439fa3cd5544e0515e24 Mon Sep 17 00:00:00 2001 |
35 |
-From: =?UTF-8?q?R=C3=A9mi=20Cardona?= <remi@g.o> |
36 |
-Date: Sun, 10 Jun 2018 10:09:16 +0200 |
37 |
-Subject: [PATCH] Allow full control over which plugins are built |
38 |
- |
39 |
---- |
40 |
- meson.build | 2 +- |
41 |
- meson_options.txt | 28 ++++++++++++++++++++- |
42 |
- src/plugins/meson.build | 56 ++++++++++++++++++++++++++++++----------- |
43 |
- 3 files changed, 69 insertions(+), 17 deletions(-) |
44 |
- |
45 |
-diff --git a/meson.build b/meson.build |
46 |
-index 9c4797dd..aa91ae10 100644 |
47 |
---- a/meson.build |
48 |
-+++ b/meson.build |
49 |
-@@ -3,7 +3,7 @@ project( |
50 |
- version: '3.30.0', |
51 |
- license: 'GPL2+ with exception', |
52 |
- default_options: 'buildtype=debugoptimized', |
53 |
-- meson_version: '>= 0.43.0' |
54 |
-+ meson_version: '>= 0.44.0' |
55 |
- ) |
56 |
- |
57 |
- totem_version = meson.project_version() |
58 |
-diff --git a/meson_options.txt b/meson_options.txt |
59 |
-index 3b6ff67b..6e056952 100644 |
60 |
---- a/meson_options.txt |
61 |
-+++ b/meson_options.txt |
62 |
-@@ -1,7 +1,33 @@ |
63 |
- option('enable-easy-codec-installation', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'Whether to enable easy codec installation support for GStreamer') |
64 |
- option('enable-python', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'Enable python support') |
65 |
- option('enable-vala', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'whether Vala plugin support is requested') |
66 |
--option('with-plugins', type: 'combo', choices: ['all', 'none', 'auto'], value: 'auto', description: 'Which Totem plugins to compile (default: auto; "all", "none" and "auto" are valid)') |
67 |
-+option('with-plugins', type: 'array', choices: [ |
68 |
-+ 'all', |
69 |
-+ 'auto', |
70 |
-+ 'apple-trailers', |
71 |
-+ 'autoload-subtitles', |
72 |
-+ 'brasero-disc-recorder', |
73 |
-+ 'dbusservice', |
74 |
-+ 'gromit', |
75 |
-+ 'im-status', |
76 |
-+ 'lirc', |
77 |
-+ 'media-player-keys', |
78 |
-+ 'ontop', |
79 |
-+ 'opensubtitles', |
80 |
-+ 'properties', |
81 |
-+ 'pythonconsole', |
82 |
-+ 'recent', |
83 |
-+ 'rotation', |
84 |
-+ 'sample-vala', |
85 |
-+ 'samplepython', |
86 |
-+ 'save-file', |
87 |
-+ 'screensaver', |
88 |
-+ 'screenshot', |
89 |
-+ 'skipto', |
90 |
-+ 'variable-rate', |
91 |
-+ 'vimeo', |
92 |
-+ 'zeitgeist-dp' |
93 |
-+], value: ['auto'], description: 'Which Totem plugins to compile (default: auto; "all", "none" and "auto" are valid)') |
94 |
- option('enable-nautilus', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto', description: 'compile the nautilus plugin') |
95 |
- option('with-nautilusdir', type: 'string', value: '', description: 'Installation path for Nautilus extension') |
96 |
- option('enable-gtk-doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation') |
97 |
-diff --git a/src/plugins/meson.build b/src/plugins/meson.build |
98 |
-index 95af6485..289ba811 100644 |
99 |
---- a/src/plugins/meson.build |
100 |
-+++ b/src/plugins/meson.build |
101 |
-@@ -41,8 +41,8 @@ allowed_plugins = [ |
102 |
- plugins = [] |
103 |
- |
104 |
- plugins_option = get_option('with-plugins') |
105 |
--if plugins_option != 'none' |
106 |
-- plugins += [ |
107 |
-+if plugins_option.length() > 0 |
108 |
-+ foreach plugin: [ |
109 |
- 'apple-trailers', |
110 |
- 'autoload-subtitles', |
111 |
- 'im-status', |
112 |
-@@ -56,26 +56,38 @@ if plugins_option != 'none' |
113 |
- 'variable-rate', |
114 |
- 'vimeo' |
115 |
- ] |
116 |
-+ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains(plugin) |
117 |
-+ plugins += plugin |
118 |
-+ endif |
119 |
-+ endforeach |
120 |
- |
121 |
-- plugin_error = (plugins_option == 'all') |
122 |
-+ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('gromit') |
123 |
-+ gdk_targets = gtk_dep.get_pkgconfig_variable('targets') |
124 |
-+ else |
125 |
-+ gdk_targets = [] |
126 |
-+ endif |
127 |
- |
128 |
-- gdk_targets = gtk_dep.get_pkgconfig_variable('targets') |
129 |
- if gdk_targets.contains('x11') |
130 |
- plugins += 'gromit' |
131 |
- else |
132 |
- str = 'the gromit plugin is not supported on non-X11 targets' |
133 |
-- if plugin_error |
134 |
-+ if plugins_option.contains('all') or plugins_option.contains('gromit') |
135 |
- error(str) |
136 |
- endif |
137 |
- message(str) |
138 |
- endif |
139 |
- |
140 |
-- lirc_dep = dependency('lirc', required: false) |
141 |
-+ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('lirc') |
142 |
-+ lirc_dep = dependency('lirc', required: false) |
143 |
-+ else |
144 |
-+ lirc_dep = disabler() |
145 |
-+ endif |
146 |
-+ |
147 |
- if lirc_dep.found() and cc.has_function('lirc_init', dependencies: lirc_dep) and cc.has_header('lirc/lirc_client.h') |
148 |
- plugins += 'lirc' |
149 |
- else |
150 |
- str = 'you need lirc_client installed for the lirc plugin' |
151 |
-- if plugin_error |
152 |
-+ if plugins_option.contains('all') or plugins_option.contains('lirc') |
153 |
- error(str) |
154 |
- endif |
155 |
- message(str) |
156 |
-@@ -84,33 +96,38 @@ if plugins_option != 'none' |
157 |
- libxml_req_version = '>= 2.6.0' |
158 |
- libxml_dep = dependency('libxml-2.0', version: libxml_req_version, required: false) |
159 |
- gtk_x11_dep = dependency('gtk+-x11-3.0', version: gtk_req_version, required: false) |
160 |
-- if libxml_dep.found() and gtk_x11_dep.found() |
161 |
-+ |
162 |
-+ if libxml_dep.found() and gtk_x11_dep.found() and (plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('brasero-disc-recorder')) |
163 |
- plugins += 'brasero-disc-recorder' |
164 |
- else |
165 |
- str = 'you need libxml-2.0 ' + libxml_req_version + ' and gtk+-x11-3.0 to use the brasero-disc-recorder plugin' |
166 |
-- if plugin_error |
167 |
-+ if plugins_option.contains('all') or plugins_option.contains('brasero-disc-recorder') |
168 |
- error(str) |
169 |
- endif |
170 |
- message(str) |
171 |
- endif |
172 |
- |
173 |
-- if have_nautilus |
174 |
-+ if have_nautilus and (plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('save-file')) |
175 |
- plugins += 'save-file' |
176 |
- else |
177 |
- str = 'you need libnautilus-extension to use the save-file plugin' |
178 |
-- if plugin_error |
179 |
-+ if plugins_option.contains('all') or plugins_option.contains('save-file') |
180 |
- error(str) |
181 |
- endif |
182 |
- message(str) |
183 |
- endif |
184 |
- |
185 |
- if have_python |
186 |
-- plugins += [ |
187 |
-+ foreach plugin: [ |
188 |
- 'dbusservice', |
189 |
- 'opensubtitles', |
190 |
- 'pythonconsole', |
191 |
- 'samplepython' |
192 |
- ] |
193 |
-+ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains(plugin) |
194 |
-+ plugins += plugin |
195 |
-+ endif |
196 |
-+ endforeach |
197 |
- endif |
198 |
- |
199 |
- if have_vala |
200 |
-@@ -129,17 +146,26 @@ if plugins_option != 'none' |
201 |
- '--pkg=@0@-@1@'.format(totem_gir_ns, totem_api_version) |
202 |
- ] |
203 |
- |
204 |
-- plugins += [ |
205 |
-+ foreach plugin: [ |
206 |
- 'rotation', |
207 |
- 'sample-vala' |
208 |
- ] |
209 |
-+ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains(plugin) |
210 |
-+ plugins += plugin |
211 |
-+ endif |
212 |
-+ endforeach |
213 |
-+ |
214 |
-+ if plugins_option.contains('all') or plugins_option.contains('auto') or plugins_option.contains('zeitgeist-dp') |
215 |
-+ zeitgeist_dep = dependency('zeitgeist-2.0', version: '>= 0.9.12', required: false) |
216 |
-+ else |
217 |
-+ zeitgeist_dep = disabler() |
218 |
-+ endif |
219 |
- |
220 |
-- zeitgeist_dep = dependency('zeitgeist-2.0', version: '>= 0.9.12', required: false) |
221 |
- if zeitgeist_dep.found() |
222 |
- plugins += 'zeitgeist-dp' |
223 |
- else |
224 |
- str = 'you need zeitgeist-2.0 >= 0.9.12 to use the zeitgeist-dp plugin' |
225 |
-- if plugin_error |
226 |
-+ if plugins_option.contains('all') or plugins_option.contains('zeitgeist-dp') |
227 |
- error(str) |
228 |
- endif |
229 |
- message(str) |
230 |
--- |
231 |
-2.17.1 |
232 |
- |
233 |
|
234 |
diff --git a/media-video/totem/files/3.30.0-vala-errormsg.patch b/media-video/totem/files/3.30.0-vala-errormsg.patch |
235 |
deleted file mode 100644 |
236 |
index 37816784ded..00000000000 |
237 |
--- a/media-video/totem/files/3.30.0-vala-errormsg.patch |
238 |
+++ /dev/null |
239 |
@@ -1,31 +0,0 @@ |
240 |
-From 4fba51c82d855426ad73f8215d0ed7bfdfa4fae2 Mon Sep 17 00:00:00 2001 |
241 |
-From: Mart Raudsepp <leio@g.o> |
242 |
-Date: Sat, 15 Dec 2018 20:50:34 +0200 |
243 |
-Subject: [PATCH] build: Fix error message with -Denable-vala without vala |
244 |
- found |
245 |
- |
246 |
-Fixes |
247 |
-ERROR: Unknown variable "vala_options" |
248 |
-to |
249 |
-ERROR: Problem encountered: you need vala >= 0.14.1 installed to use vala plugins |
250 |
-by correcting a typo. |
251 |
---- |
252 |
- meson.build | 2 +- |
253 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
254 |
- |
255 |
-diff --git a/meson.build b/meson.build |
256 |
-index c0679d25..5647376f 100644 |
257 |
---- a/meson.build |
258 |
-+++ b/meson.build |
259 |
-@@ -230,7 +230,7 @@ if vala_option != 'no' |
260 |
- endif |
261 |
- |
262 |
- if not have_vala |
263 |
-- if vala_options == 'yes' or introspection_option == 'yes' |
264 |
-+ if vala_option == 'yes' or introspection_option == 'yes' |
265 |
- error(str) |
266 |
- endif |
267 |
- message(str) |
268 |
--- |
269 |
-2.17.0 |
270 |
- |
271 |
|
272 |
diff --git a/media-video/totem/metadata.xml b/media-video/totem/metadata.xml |
273 |
index 1daea3f76b2..39dcd376510 100644 |
274 |
--- a/media-video/totem/metadata.xml |
275 |
+++ b/media-video/totem/metadata.xml |
276 |
@@ -19,8 +19,6 @@ Totem is movie player for the GNOME desktop. It features a playlist, fullscreen |
277 |
<use> |
278 |
<flag name="lirc">Enable support for controlling Totem with a remote control |
279 |
using <pkg>app-misc/lirc</pkg></flag> |
280 |
- <flag name="nautilus">Enable the nautilus extension</flag> |
281 |
<flag name="python">Build <pkg>dev-lang/python</pkg> using plugins (dbusservice for notifications and MPRIS control, interactive python console and opensubtitles lookup)</flag> |
282 |
- <flag name="vala">Build the rotation plugin, which allows videos to be rotated if they are in the wrong orientation</flag> |
283 |
</use> |
284 |
</pkgmetadata> |
285 |
|
286 |
diff --git a/media-video/totem/totem-3.30.0.ebuild b/media-video/totem/totem-3.30.0.ebuild |
287 |
deleted file mode 100644 |
288 |
index 9506455784d..00000000000 |
289 |
--- a/media-video/totem/totem-3.30.0.ebuild |
290 |
+++ /dev/null |
291 |
@@ -1,137 +0,0 @@ |
292 |
-# Copyright 1999-2019 Gentoo Authors |
293 |
-# Distributed under the terms of the GNU General Public License v2 |
294 |
- |
295 |
-EAPI=6 |
296 |
-PYTHON_COMPAT=( python{3_5,3_6} ) |
297 |
-PYTHON_REQ_USE="threads" |
298 |
- |
299 |
-inherit gnome.org gnome2-utils meson vala xdg python-single-r1 |
300 |
- |
301 |
-DESCRIPTION="Media player for GNOME" |
302 |
-HOMEPAGE="https://wiki.gnome.org/Apps/Videos" |
303 |
- |
304 |
-LICENSE="GPL-2+ LGPL-2+" |
305 |
-SLOT="0" |
306 |
-IUSE="cdr gtk-doc +introspection lirc nautilus +python test vala" |
307 |
-RESTRICT="!test? ( test )" |
308 |
-# see bug #359379 |
309 |
-REQUIRED_USE=" |
310 |
- python? ( introspection ${PYTHON_REQUIRED_USE} ) |
311 |
- vala? ( introspection ) |
312 |
-" |
313 |
- |
314 |
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86" |
315 |
- |
316 |
-# FIXME: |
317 |
-# Runtime dependency on gnome-session-2.91 |
318 |
-COMMON_DEPEND=" |
319 |
- >=dev-libs/glib-2.43.4:2 |
320 |
- >=x11-libs/gtk+-3.19.4:3[X,introspection?] |
321 |
- >=media-libs/gstreamer-1.6.0:1.0 |
322 |
- >=media-libs/gst-plugins-base-1.6.0:1.0[X,pango] |
323 |
- >=media-libs/gst-plugins-good-1.6.0:1.0 |
324 |
- >=media-libs/grilo-0.3.0:0.3[playlist] |
325 |
- >=dev-libs/libpeas-1.1.0[gtk] |
326 |
- >=dev-libs/totem-pl-parser-3.10.1:0=[introspection?] |
327 |
- >=media-libs/clutter-1.17.3:1.0[gtk] |
328 |
- >=media-libs/clutter-gst-2.99.2:3.0 |
329 |
- >=media-libs/clutter-gtk-1.8.1:1.0 |
330 |
- gnome-base/gnome-desktop:3= |
331 |
- gnome-base/gsettings-desktop-schemas |
332 |
- x11-libs/libX11 |
333 |
- >=x11-libs/cairo-1.14 |
334 |
- x11-libs/gdk-pixbuf:2 |
335 |
- introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
336 |
- |
337 |
- cdr? ( >=dev-libs/libxml2-2.6:2 ) |
338 |
- lirc? ( app-misc/lirc ) |
339 |
- nautilus? ( >=gnome-base/nautilus-2.91.3 ) |
340 |
- python? ( |
341 |
- ${PYTHON_DEPS} |
342 |
- >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] ) |
343 |
-" |
344 |
-RDEPEND="${COMMON_DEPEND} |
345 |
- media-plugins/grilo-plugins:0.3 |
346 |
- media-plugins/gst-plugins-meta:1.0 |
347 |
- media-plugins/gst-plugins-taglib:1.0 |
348 |
- x11-themes/adwaita-icon-theme |
349 |
- python? ( |
350 |
- >=dev-libs/libpeas-1.1.0[python,${PYTHON_USEDEP}] |
351 |
- dev-python/dbus-python[${PYTHON_USEDEP}] ) |
352 |
-" |
353 |
-DEPEND="${COMMON_DEPEND} |
354 |
- dev-lang/perl |
355 |
- app-text/docbook-xml-dtd:4.5 |
356 |
- gtk-doc? ( >=dev-util/gtk-doc-1.14 ) |
357 |
- dev-util/glib-utils |
358 |
- dev-util/itstool |
359 |
- >=dev-util/intltool-0.50.1 |
360 |
- >=sys-devel/gettext-0.19.8 |
361 |
- virtual/pkgconfig |
362 |
- x11-base/xorg-proto |
363 |
- vala? ( $(vala_depend) ) |
364 |
-" |
365 |
-# perl for pod2man |
366 |
-# docbook-xml-dtd is needed for user doc |
367 |
-# Prevent dev-python/pylint dep, bug #482538 |
368 |
- |
369 |
-PATCHES=( |
370 |
- "${FILESDIR}"/${PV}-vala-errormsg.patch |
371 |
- "${FILESDIR}"/${PV}-control-plugins.patch # Do not force all plugins |
372 |
- "${FILESDIR}"/3.26-gst-inspect-sandbox.patch # Allow disabling calls to gst-inspect (sandbox issue) |
373 |
-) |
374 |
- |
375 |
-pkg_setup() { |
376 |
- use python && python-single-r1_pkg_setup |
377 |
-} |
378 |
- |
379 |
-src_prepare() { |
380 |
- use vala && vala_src_prepare |
381 |
- xdg_src_prepare |
382 |
-} |
383 |
- |
384 |
-src_configure() { |
385 |
- # Disabled: sample-python, sample-vala, zeitgeist-dp |
386 |
- # brasero-disc-recorder and gromit require gtk+[X], but totem itself does |
387 |
- # for now still too, so no point in optionality based on that yet. |
388 |
- local plugins="apple-trailers,autoload-subtitles" |
389 |
- plugins+=",im-status,gromit,media-player-keys,ontop" |
390 |
- plugins+=",properties,recent,screensaver,screenshot" |
391 |
- plugins+=",skipto,variable-rate,vimeo" |
392 |
- use cdr && plugins+=",brasero-disc-recorder" |
393 |
- use lirc && plugins+=",lirc" |
394 |
- use nautilus && plugins+=",save-file" |
395 |
- use python && plugins+=",dbusservice,pythonconsole,opensubtitles" |
396 |
- use vala && plugins+=",rotation" |
397 |
- |
398 |
- local emesonargs=( |
399 |
- -Denable-easy-codec-installation=yes |
400 |
- -Denable-python=$(usex python yes no) |
401 |
- -Denable-vala=$(usex vala yes no) |
402 |
- -Dwith-plugins=${plugins} |
403 |
- -Denable-nautilus=$(usex nautilus yes no) |
404 |
- $(meson_use gtk-doc enable-gtk-doc) |
405 |
- -Denable-introspection=$(usex introspection yes no) |
406 |
- -Dgst-inspect=false |
407 |
- ) |
408 |
- meson_src_configure |
409 |
-} |
410 |
- |
411 |
-src_install() { |
412 |
- meson_src_install |
413 |
- if use python ; then |
414 |
- python_optimize "${ED}"usr/$(get_libdir)/totem/plugins/ |
415 |
- fi |
416 |
-} |
417 |
- |
418 |
-pkg_postinst() { |
419 |
- xdg_pkg_postinst |
420 |
- gnome2_icon_cache_update |
421 |
- gnome2_schemas_update |
422 |
-} |
423 |
- |
424 |
-pkg_postrm() { |
425 |
- xdg_pkg_postrm |
426 |
- gnome2_icon_cache_update |
427 |
- gnome2_schemas_update |
428 |
-} |