Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/totem/
Date: Thu, 17 Jun 2021 06:59:57
Message-Id: 1623913187.4d3efd15a07aa8518df8f3afd77c14ab411066d1.mattst88@gentoo
1 commit: 4d3efd15a07aa8518df8f3afd77c14ab411066d1
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 17 06:57:41 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 17 06:59:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3efd15
7
8 media-video/totem: Version bump to 3.38.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-video/totem/Manifest | 1 +
13 media-video/totem/totem-3.38.1.ebuild | 119 ++++++++++++++++++++++++++++++++++
14 2 files changed, 120 insertions(+)
15
16 diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest
17 index a7edde067de..356e0932a15 100644
18 --- a/media-video/totem/Manifest
19 +++ b/media-video/totem/Manifest
20 @@ -1 +1,2 @@
21 DIST totem-3.38.0.tar.xz 2235672 BLAKE2B 31a69bce69316e06b6ba1b1c98bfc5b87cae0b30e682bb1b32bbac713fb2ff262084e76c19690eb78495969a67c2be484bc45adcd1b432a3de7a33c3dc04109c SHA512 231aca873bb53f23f81a7981177761d0bf7768baa845309b0dc0821db58377d692cf7e8a65135090dac14e856aa3e1dc0c1f11c55a7b25d694822019bfa9eecf
22 +DIST totem-3.38.1.tar.xz 2196156 BLAKE2B a9f5771d7406df9490b6eb0f9dc03ef449bee05d6ff038fce9adbac63692b5555de6ff36fe90b3b63cf4bc59739d91b23e57b3a03bf953594567e6a21060b509 SHA512 f33583b0890bfdd0dfff0722f73242b1d38605564a3055b587a30eae4c0ba51159c105ef577ab144792ca1994f385c2b8a9375a356b7cdf2b93bfeb6317f6040
23
24 diff --git a/media-video/totem/totem-3.38.1.ebuild b/media-video/totem/totem-3.38.1.ebuild
25 new file mode 100644
26 index 00000000000..4ec9514a009
27 --- /dev/null
28 +++ b/media-video/totem/totem-3.38.1.ebuild
29 @@ -0,0 +1,119 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +PYTHON_COMPAT=( python3_{7..9} )
35 +PYTHON_REQ_USE="threads(+)"
36 +
37 +inherit gnome.org gnome2-utils meson virtualx xdg python-single-r1
38 +
39 +DESCRIPTION="Media player for GNOME"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Videos"
41 +
42 +LICENSE="GPL-2+ LGPL-2+"
43 +SLOT="0"
44 +IUSE="gtk-doc +python test"
45 +# see bug #359379
46 +REQUIRED_USE="
47 + python? ( ${PYTHON_REQUIRED_USE} )
48 +"
49 +RESTRICT="!test? ( test )"
50 +
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
52 +
53 +DEPEND="
54 + >=dev-libs/glib-2.56.0:2
55 + >=x11-libs/gtk+-3.19.4:3[introspection]
56 + >=media-libs/gstreamer-1.6.0:1.0
57 + >=media-libs/gst-plugins-base-1.6.0:1.0[pango]
58 + >=media-libs/gst-plugins-good-1.6.0:1.0
59 + >=media-libs/grilo-0.3.0:0.3[playlist]
60 + >=dev-libs/libpeas-1.1.0[gtk]
61 + >=dev-libs/totem-pl-parser-3.26.5: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.8.1:1.0
65 + gnome-base/gnome-desktop:3=
66 + gnome-base/gsettings-desktop-schemas
67 + >=x11-libs/cairo-1.14
68 + x11-libs/gdk-pixbuf:2
69 + >=dev-libs/gobject-introspection-1.54:=
70 +
71 + python? (
72 + ${PYTHON_DEPS}
73 + $(python_gen_cond_dep '
74 + >=dev-python/pygobject-2.90.3:3[${PYTHON_MULTI_USEDEP}]
75 + ')
76 + )
77 +"
78 +RDEPEND="${DEPEND}
79 + media-plugins/grilo-plugins:0.3
80 + media-plugins/gst-plugins-meta:1.0
81 + media-plugins/gst-plugins-taglib:1.0
82 + x11-themes/adwaita-icon-theme
83 + python? (
84 + x11-libs/pango[introspection]
85 + >=dev-libs/libpeas-1.1.0[python,${PYTHON_SINGLE_USEDEP}]
86 + $(python_gen_cond_dep '
87 + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
88 + ')
89 + )
90 +"
91 +BDEPEND="
92 + dev-lang/perl
93 + gtk-doc? ( >=dev-util/gtk-doc-1.14
94 + app-text/docbook-xml-dtd:4.5 )
95 + dev-util/glib-utils
96 + dev-util/itstool
97 + >=sys-devel/gettext-0.19.8
98 + virtual/pkgconfig
99 + x11-base/xorg-proto
100 +"
101 +# perl for pod2man
102 +# Prevent dev-python/pylint dep, bug #482538
103 +
104 +PATCHES=(
105 + "${FILESDIR}"/3.38.0-gst-inspect-sandbox.patch # Allow disabling calls to gst-inspect (sandbox issue)
106 +)
107 +
108 +pkg_setup() {
109 + use python && python-single-r1_pkg_setup
110 +}
111 +
112 +src_prepare() {
113 + # Drop pointless samplepython plugin from build
114 + sed -e '/samplepython/d' -i src/plugins/meson.build || die
115 + xdg_src_prepare
116 +}
117 +
118 +src_configure() {
119 + local emesonargs=(
120 + -Denable-easy-codec-installation=yes
121 + -Denable-python=$(usex python yes no)
122 + -Dwith-plugins=all # in 3.34.1 only builtin and python plugins are left, and python is extra controlled by enable-python
123 + $(meson_use gtk-doc enable-gtk-doc)
124 + -Dgst-inspect=false
125 + )
126 + meson_src_configure
127 +}
128 +
129 +src_install() {
130 + meson_src_install
131 + if use python ; then
132 + python_optimize "${ED}"/usr/$(get_libdir)/totem/plugins/
133 + fi
134 +}
135 +
136 +pkg_postinst() {
137 + xdg_pkg_postinst
138 + gnome2_schemas_update
139 +}
140 +
141 +pkg_postrm() {
142 + xdg_pkg_postrm
143 + gnome2_schemas_update
144 +}
145 +
146 +src_test() {
147 + virtx meson_src_test
148 +}