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: Sat, 26 Mar 2022 00:23:47
Message-Id: 1648254209.c8d257a26e1a5522b7b4d00054f25383ddb04746.mattst88@gentoo
1 commit: c8d257a26e1a5522b7b4d00054f25383ddb04746
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 25 23:19:14 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 00:23:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d257a2
7
8 media-video/totem: Version bump to 42.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-video/totem/Manifest | 1 +
13 media-video/totem/totem-42.0.ebuild | 121 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 122 insertions(+)
15
16 diff --git a/media-video/totem/Manifest b/media-video/totem/Manifest
17 index 537bbeac0ce6..9e11ac415eca 100644
18 --- a/media-video/totem/Manifest
19 +++ b/media-video/totem/Manifest
20 @@ -1 +1,2 @@
21 DIST totem-3.38.2.tar.xz 2190700 BLAKE2B 3b3b8166cf674b882a3a66a5729d794489fe779944bb277fad35fe027b56270e6ef578590924309b9fe28aca0544754696acd98d31a7243a33a533abe73ed6fd SHA512 1dac3a0afe31b47147a129c70dddf7480446fc1bb5432f9cd537384e3be25da6a9b87918fa7bcf7e7cd68c8dac45e75f6b1f7c1885edefac846c52f96b40567f
22 +DIST totem-42.0.tar.xz 2476952 BLAKE2B 45eac2e586c3c17eab9f570812ae2c79812859635d1ef6df1d0d2c526436558dbab9581699ce86d3e2cd3048f5d65bbd1927c3faa5f7575a5468d0813ce68bcc SHA512 67872d06a7d691a23b97255c5ee5f8d90a1fdf2b36f064f26c10fb4958733772eea456aab4f0fe2c89d23ec987cf5b9c2383c97ba5bec45247953296f1cd6c4b
23
24 diff --git a/media-video/totem/totem-42.0.ebuild b/media-video/totem/totem-42.0.ebuild
25 new file mode 100644
26 index 000000000000..66b603f2b2ad
27 --- /dev/null
28 +++ b/media-video/totem/totem-42.0.ebuild
29 @@ -0,0 +1,121 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +PYTHON_COMPAT=( python3_{8..10} )
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 https://gitlab.gnome.org/GNOME/totem/"
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 ~riscv ~x86"
52 +
53 +DEPEND="
54 + >=dev-libs/glib-2.56.0:2
55 + >=x11-libs/gtk+-3.22.0:3[introspection]
56 + >=gui-libs/libhandy-1.5.0:1
57 + >=media-libs/gstreamer-1.6.0:1.0
58 + >=media-libs/gst-plugins-base-1.6.0:1.0[pango]
59 + >=media-libs/gst-plugins-good-1.6.0:1.0
60 + >=media-libs/grilo-0.3.0:0.3[playlist]
61 + >=dev-libs/libpeas-1.1.0[gtk]
62 + >=dev-libs/totem-pl-parser-3.26.5:0=[introspection]
63 + gnome-base/gnome-desktop:3=
64 + gnome-base/gsettings-desktop-schemas
65 + >=x11-libs/cairo-1.14
66 + x11-libs/gdk-pixbuf:2
67 + >=dev-libs/gobject-introspection-1.54:=
68 +
69 + python? (
70 + ${PYTHON_DEPS}
71 + $(python_gen_cond_dep '
72 + >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
73 + ')
74 + )
75 +"
76 +RDEPEND="${DEPEND}
77 + media-plugins/grilo-plugins:0.3
78 + media-plugins/gst-plugins-meta:1.0
79 + media-plugins/gst-plugins-taglib:1.0
80 + x11-themes/adwaita-icon-theme
81 + python? (
82 + x11-libs/pango[introspection]
83 + >=dev-libs/libpeas-1.1.0[python,${PYTHON_SINGLE_USEDEP}]
84 + $(python_gen_cond_dep '
85 + dev-python/dbus-python[${PYTHON_USEDEP}]
86 + ')
87 + )
88 +"
89 +BDEPEND="
90 + dev-lang/perl
91 + gtk-doc? ( >=dev-util/gtk-doc-1.14
92 + app-text/docbook-xml-dtd:4.5 )
93 + dev-util/glib-utils
94 + dev-util/itstool
95 + >=sys-devel/gettext-0.19.8
96 + virtual/pkgconfig
97 + x11-base/xorg-proto
98 +"
99 +# perl for pod2man
100 +# Prevent dev-python/pylint dep, bug #482538
101 +
102 +PATCHES=(
103 + "${FILESDIR}"/3.38.0-gst-inspect-sandbox.patch # Allow disabling calls to gst-inspect (sandbox issue)
104 +)
105 +
106 +pkg_setup() {
107 + use python && python-single-r1_pkg_setup
108 +}
109 +
110 +src_prepare() {
111 + default
112 + xdg_environment_reset
113 +
114 + # Drop pointless samplepython plugin from build
115 + sed -e '/samplepython/d' -i src/plugins/meson.build || die
116 +}
117 +
118 +src_configure() {
119 + local emesonargs=(
120 + -Dhelp=true
121 + -Denable-easy-codec-installation=yes
122 + -Denable-python=$(usex python yes no)
123 + -Dwith-plugins=all # in 3.34.1 only builtin and python plugins are left, and python is extra controlled by enable-python
124 + $(meson_use gtk-doc enable-gtk-doc)
125 + -Dgst-inspect=false
126 + )
127 + meson_src_configure
128 +}
129 +
130 +src_install() {
131 + local -x GST_PLUGIN_SYSTEM_PATH_1_0= # bug 812170
132 + meson_src_install
133 + if use python ; then
134 + python_optimize "${ED}"/usr/$(get_libdir)/totem/plugins/
135 + fi
136 +}
137 +
138 +pkg_postinst() {
139 + xdg_pkg_postinst
140 + gnome2_schemas_update
141 +}
142 +
143 +pkg_postrm() {
144 + xdg_pkg_postrm
145 + gnome2_schemas_update
146 +}
147 +
148 +src_test() {
149 + virtx meson_src_test
150 +}