Gentoo Archives: gentoo-commits

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