Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/totem/
Date: Sat, 02 Jul 2016 17:12:38
Message-Id: 1467479485.3b464906c47a8167497d2800cc1059fcde03012b.pacho@gentoo
1 commit: 3b464906c47a8167497d2800cc1059fcde03012b
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 16:53:41 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 17:11:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b464906
7
8 media-video/totem: Version bump
9
10 Package-Manager: portage-2.3.0_rc1
11
12 media-video/totem/Manifest | 1 +
13 media-video/totem/totem-3.20.1.ebuild | 131 ++++++++++++++++++++++++++++++++++
14 2 files changed, 132 insertions(+)
15
16 diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest
17 index b2dd03e..b036b7b 100644
18 --- a/media-video/totem/Manifest
19 +++ b/media-video/totem/Manifest
20 @@ -1 +1,2 @@
21 DIST totem-3.18.1.tar.xz 3172416 SHA256 d7816eae9606846c44fd508902eae10bdaed28e6d4f621531990d473184107a2 SHA512 cc4dcd81c2473a2c91786d0d329d1426cb23c372fbef9738be21762b00aaf02e50f54ed6d6c81b9325312db02347baf267d73d74be4052ffdb14c899e1f4f069 WHIRLPOOL 195b3d62101edaa33ca27238f200b51073810500b552c5ba3592e17ba51f8a4c451e209611b4ceb2d4827856ac20fecc6bf164547e34ab7bbbc77b702cb0b29a
22 +DIST totem-3.20.1.tar.xz 3190932 SHA256 6f22480361ae869fd336854b4f83614fde528aff4e808eb716de33432eb45c27 SHA512 2dc856d1f911d9ca79a3610ea2616281227d7980801325ec7b6649f46e13ac33b125bcfff79b3954db7358ab764fd8b2fcf7f93a209c4343c8708cb9d8efda62 WHIRLPOOL 6beae91b82c9b92dedf7f399c93d6420259aa5ed6766bfee5763d686cb5126d6c737671af28dfb381e5ea32efe7ad48afe3c72e157b4bdfdeef3c62df3c78102
23
24 diff --git a/media-video/totem/totem-3.20.1.ebuild b/media-video/totem/totem-3.20.1.ebuild
25 new file mode 100644
26 index 0000000..208866f
27 --- /dev/null
28 +++ b/media-video/totem/totem-3.20.1.ebuild
29 @@ -0,0 +1,131 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +GNOME2_LA_PUNT="yes" # plugins are dlopened
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
37 +PYTHON_REQ_USE="threads"
38 +
39 +inherit autotools eutils gnome2 multilib python-single-r1
40 +
41 +DESCRIPTION="Media player for GNOME"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Videos"
43 +
44 +LICENSE="GPL-2+ LGPL-2+"
45 +SLOT="0"
46 +IUSE="debug +introspection lirc nautilus +python test zeitgeist"
47 +# see bug #359379
48 +REQUIRED_USE="
49 + python? ( introspection ${PYTHON_REQUIRED_USE} )
50 + zeitgeist? ( introspection )
51 +"
52 +
53 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
54 +
55 +# FIXME:
56 +# Runtime dependency on gnome-session-2.91
57 +RDEPEND="
58 + >=dev-libs/glib-2.35:2[dbus]
59 + >=dev-libs/libpeas-1.1[gtk]
60 + >=dev-libs/libxml2-2.6:2
61 + >=dev-libs/totem-pl-parser-3.10.1:0=[introspection?]
62 + >=media-libs/clutter-1.17.3:1.0[gtk]
63 + >=media-libs/clutter-gst-2.99.2:3.0
64 + >=media-libs/clutter-gtk-1.7.1:1.0
65 + >=x11-libs/cairo-1.14
66 + >=x11-libs/gdk-pixbuf-2.23.0:2
67 + >=x11-libs/gtk+-3.19.4:3[introspection?]
68 +
69 + >=media-libs/grilo-0.3.0:0.3[playlist]
70 + media-plugins/grilo-plugins:0.3
71 + >=media-libs/gstreamer-1.6.0:1.0
72 + >=media-libs/gst-plugins-base-1.6.0:1.0[X,introspection?,pango]
73 + media-libs/gst-plugins-good:1.0
74 + media-plugins/gst-plugins-meta:1.0
75 + media-plugins/gst-plugins-taglib:1.0
76 +
77 + x11-libs/libX11
78 +
79 + gnome-base/gnome-desktop:3=
80 + gnome-base/gsettings-desktop-schemas
81 + x11-themes/adwaita-icon-theme
82 +
83 + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
84 + lirc? ( app-misc/lirc )
85 + nautilus? ( >=gnome-base/nautilus-2.91.3 )
86 + python? (
87 + ${PYTHON_DEPS}
88 + >=dev-libs/libpeas-1.1.0[${PYTHON_USEDEP}]
89 + >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
90 + dev-python/pyxdg[${PYTHON_USEDEP}]
91 + dev-python/dbus-python[${PYTHON_USEDEP}]
92 + >=x11-libs/gtk+-3.5.2:3[introspection] )
93 + zeitgeist? ( >=gnome-extra/zeitgeist-0.9.12 )
94 +"
95 +DEPEND="${RDEPEND}
96 + app-text/docbook-xml-dtd:4.5
97 + app-text/yelp-tools
98 + dev-libs/appstream-glib
99 + >=dev-util/gtk-doc-am-1.14
100 + >=dev-util/intltool-0.50.1
101 + sys-devel/gettext
102 + virtual/pkgconfig
103 + x11-proto/xextproto
104 + x11-proto/xproto
105 +
106 + dev-libs/gobject-introspection-common
107 + gnome-base/gnome-common
108 +"
109 +# eautoreconf needs:
110 +# app-text/yelp-tools
111 +# dev-libs/gobject-introspection-common
112 +# gnome-base/gnome-common
113 +# docbook-xml-dtd is needed for user doc
114 +# Prevent dev-python/pylint dep, bug #482538
115 +
116 +pkg_setup() {
117 + use python && python-single-r1_pkg_setup
118 +}
119 +
120 +src_prepare() {
121 + # Prevent pylint usage by tests, bug #482538
122 + sed -i -e 's/ check-pylint//' src/plugins/Makefile.plugins || die
123 +
124 + eautoreconf
125 + gnome2_src_prepare
126 +
127 + # FIXME: upstream should provide a way to set GST_INSPECT, bug #358755 & co.
128 + # gst-inspect causes sandbox violations when a plugin needs write access to
129 + # /dev/dri/card* in its init phase.
130 + sed -e "s|\(gst10_inspect=\).*|\1$(type -P true)|" \
131 + -i configure || die
132 +}
133 +
134 +src_configure() {
135 + # Disabled: sample-python, sample-vala
136 + local plugins="apple-trailers,autoload-subtitles,brasero-disc-recorder"
137 + plugins+=",im-status,gromit,media-player-keys,ontop"
138 + plugins+=",properties,recent,rotation,screensaver,screenshot"
139 + plugins+=",skipto,vimeo"
140 + use lirc && plugins+=",lirc"
141 + use nautilus && plugins+=",save-file"
142 + use python && plugins+=",dbusservice,pythonconsole,opensubtitles"
143 + use zeitgeist && plugins+=",zeitgeist-dp"
144 +
145 + # pylint is checked unconditionally, but is only used for make check
146 + # appstream-util overriding necessary until upstream fixes their macro
147 + # to respect configure switch
148 + gnome2_src_configure \
149 + --disable-run-in-source-tree \
150 + --disable-static \
151 + --enable-easy-codec-installation \
152 + --enable-vala \
153 + $(use_enable introspection) \
154 + $(use_enable nautilus) \
155 + $(use_enable python) \
156 + PYLINT=$(type -P true) \
157 + VALAC=$(type -P true) \
158 + APPSTREAM_UTIL=$(type -P true) \
159 + --with-plugins=${plugins}
160 +}