public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/totem/
Date: Thu, 19 Sep 2019 20:16:50 +0000 (UTC)	[thread overview]
Message-ID: <1568923811.71fd00d68a3a477d2d2281a773eb75333649388a.leio@gentoo> (raw)

commit:     71fd00d68a3a477d2d2281a773eb75333649388a
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 19:02:57 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 20:10:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fd00d6

media-video/totem-3.32: ebuild touchups

* Port to EAPI-7 (BDEPEND + removal of obsolete gnome2_icon_cache_update).
* Drop USE=nautilus and always build save-file plugin (it communicates
  with nautilus via dbus only at runtime).
* Fix tests (an actual first test was added, needing virtx)
* Drop X11 requirements - it will add minimal things for X automagically
  at build time based on gtk+[X] being around or not during build; which
  is the unfortunate status quo elsewhere as well. This change however
  should allow using totem on a pure-wayland system. The libX11 dep is
  also dropped for this, but we can rely on it being there whenever it
  is needed.
* User help got ported to pure its, so now docbook-xml-dtd:4.5 should
  only be necessary for gtk-doc.
* Resort enabled plugin list and drop obsolete comments.
* Restore -Dgst-inspect=false to avoid sandbox issues
* Drop unnecessary src_prepare(), as only xdg_src_prepare is called now,
  which will be the case without src_prepare() in ebuild too.

Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 ...{totem-3.32.1.ebuild => totem-3.32.1-r1.ebuild} | 48 ++++++++++------------
 1 file changed, 21 insertions(+), 27 deletions(-)

diff --git a/media-video/totem/totem-3.32.1.ebuild b/media-video/totem/totem-3.32.1-r1.ebuild
similarity index 71%
rename from media-video/totem/totem-3.32.1.ebuild
rename to media-video/totem/totem-3.32.1-r1.ebuild
index 1046a2c110e..b06daab34a8 100644
--- a/media-video/totem/totem-3.32.1.ebuild
+++ b/media-video/totem/totem-3.32.1-r1.ebuild
@@ -1,32 +1,33 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 PYTHON_COMPAT=( python{3_5,3_6} )
 PYTHON_REQ_USE="threads"
 
-inherit gnome.org gnome2-utils meson xdg python-single-r1
+inherit gnome.org gnome2-utils meson virtualx xdg python-single-r1
 
 DESCRIPTION="Media player for GNOME"
 HOMEPAGE="https://wiki.gnome.org/Apps/Videos"
 
 LICENSE="GPL-2+ LGPL-2+"
 SLOT="0"
-IUSE="cdr gtk-doc +introspection lirc nautilus +python test"
+IUSE="cdr gtk-doc +introspection lirc +python test"
 # see bug #359379
 REQUIRED_USE="
 	python? ( introspection ${PYTHON_REQUIRED_USE} )
 "
+RESTRICT="!test? ( test )"
 
 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
 
 # FIXME:
 # Runtime dependency on gnome-session-2.91
-COMMON_DEPEND="
+DEPEND="
 	>=dev-libs/glib-2.43.4:2
-	>=x11-libs/gtk+-3.19.4:3[X,introspection?]
+	>=x11-libs/gtk+-3.19.4:3[introspection?]
 	>=media-libs/gstreamer-1.6.0:1.0
-	>=media-libs/gst-plugins-base-1.6.0:1.0[X,pango]
+	>=media-libs/gst-plugins-base-1.6.0:1.0[pango]
 	>=media-libs/gst-plugins-good-1.6.0:1.0
 	>=media-libs/grilo-0.3.0:0.3[playlist]
 	>=dev-libs/libpeas-1.1.0[gtk]
@@ -36,19 +37,17 @@ COMMON_DEPEND="
 	>=media-libs/clutter-gtk-1.8.1:1.0
 	gnome-base/gnome-desktop:3=
 	gnome-base/gsettings-desktop-schemas
-	x11-libs/libX11
 	>=x11-libs/cairo-1.14
 	x11-libs/gdk-pixbuf:2
 	introspection? ( >=dev-libs/gobject-introspection-1.54:= )
 
 	cdr? ( >=dev-libs/libxml2-2.6:2 )
 	lirc? ( app-misc/lirc )
-	nautilus? ( >=gnome-base/nautilus-2.91.3 )
 	python? (
 		${PYTHON_DEPS}
 		>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] )
 "
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
 	media-plugins/grilo-plugins:0.3
 	media-plugins/gst-plugins-meta:1.0
 	media-plugins/gst-plugins-taglib:1.0
@@ -57,10 +56,10 @@ RDEPEND="${COMMON_DEPEND}
 		>=dev-libs/libpeas-1.1.0[python,${PYTHON_USEDEP}]
 		dev-python/dbus-python[${PYTHON_USEDEP}] )
 "
-DEPEND="${COMMON_DEPEND}
+BDEPEND="
 	dev-lang/perl
-	app-text/docbook-xml-dtd:4.5
-	gtk-doc? ( >=dev-util/gtk-doc-1.14 )
+	gtk-doc? ( >=dev-util/gtk-doc-1.14
+		app-text/docbook-xml-dtd:4.5 )
 	dev-util/glib-utils
 	dev-util/itstool
 	>=sys-devel/gettext-0.19.8
@@ -68,7 +67,6 @@ DEPEND="${COMMON_DEPEND}
 	x11-base/xorg-proto
 "
 # perl for pod2man
-# docbook-xml-dtd is needed for user doc
 # Prevent dev-python/pylint dep, bug #482538
 
 PATCHES=(
@@ -80,21 +78,14 @@ pkg_setup() {
 	use python && python-single-r1_pkg_setup
 }
 
-src_prepare() {
-	xdg_src_prepare
-}
-
 src_configure() {
-	# Disabled: sample-python, zeitgeist-dp
-	# brasero-disc-recorder and gromit require gtk+[X], but totem itself does
-	# for now still too, so no point in optionality based on that yet.
+	# Disabled: samplepython
 	local plugins="apple-trailers,autoload-subtitles"
-	plugins+=",im-status,media-player-keys"
-	plugins+=",properties,recent,screensaver,screenshot"
-	plugins+=",skipto,variable-rate,vimeo,rotation"
+	plugins+=",im-status,media-player-keys,properties"
+	plugins+=",recent,rotation,save-file,screensaver,screenshot"
+	plugins+=",skipto,variable-rate,vimeo"
 	use cdr && plugins+=",brasero-disc-recorder"
 	use lirc && plugins+=",lirc"
-	use nautilus && plugins+=",save-file"
 	use python && plugins+=",dbusservice,pythonconsole,opensubtitles"
 
 	local emesonargs=(
@@ -103,6 +94,7 @@ src_configure() {
 		-Dwith-plugins=${plugins}
 		$(meson_use gtk-doc enable-gtk-doc)
 		-Denable-introspection=$(usex introspection yes no)
+		-Dgst-inspect=false
 	)
 	meson_src_configure
 }
@@ -110,18 +102,20 @@ src_configure() {
 src_install() {
 	meson_src_install
 	if use python ; then
-		python_optimize "${ED}"usr/$(get_libdir)/totem/plugins/
+		python_optimize "${ED}"/usr/$(get_libdir)/totem/plugins/
 	fi
 }
 
 pkg_postinst() {
 	xdg_pkg_postinst
-	gnome2_icon_cache_update
 	gnome2_schemas_update
 }
 
 pkg_postrm() {
 	xdg_pkg_postrm
-	gnome2_icon_cache_update
 	gnome2_schemas_update
 }
+
+src_test() {
+	virtx meson_src_test
+}


             reply	other threads:[~2019-09-19 20:16 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19 20:16 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-18 15:37 [gentoo-commits] repo/gentoo:master commit in: media-video/totem/ Sam James
2024-12-20 20:37 Arthur Zamarin
2024-11-08 16:32 Pacho Ramos
2024-05-10  7:20 Mart Raudsepp
2023-10-29 22:23 Mart Raudsepp
2023-07-27  8:29 WANG Xuerui
2022-11-23 17:52 Jakov Smolić
2022-11-14  6:53 Arthur Zamarin
2022-11-09 14:11 Matt Turner
2022-11-07  7:26 Sam James
2022-11-05  5:59 Arthur Zamarin
2022-05-28  5:45 Sam James
2022-05-28  1:27 Sam James
2022-05-28  1:20 Sam James
2022-03-30 19:30 Matt Turner
2022-03-26  0:23 Matt Turner
2022-01-24  3:39 Sam James
2022-01-20 10:02 Jakov Smolić
2021-12-31  3:42 Yixun Lan
2021-11-11 13:52 Pacho Ramos
2021-10-17 21:07 Mart Raudsepp
2021-10-17 11:36 Mart Raudsepp
2021-10-17 11:36 Mart Raudsepp
2021-07-26  7:15 Matt Turner
2021-07-10 15:40 Sam James
2021-06-17  6:59 Matt Turner
2021-04-13 16:12 Matt Turner
2021-04-01 16:44 Thomas Deutschmann
2021-03-12  8:01 Mikle Kolyada
2021-02-25 12:02 Ben Kohler
2020-02-09 16:31 Michał Górny
2019-12-08 11:52 Mikle Kolyada
2019-12-08 11:41 Mikle Kolyada
2019-12-04 20:17 Matt Turner
2019-09-19 20:16 Mart Raudsepp
2019-05-18 23:05 Mart Raudsepp
2018-02-03 23:00 Mart Raudsepp
2018-01-28 14:47 Mikle Kolyada
2018-01-18  2:58 Mikle Kolyada
2017-12-09 19:40 Pacho Ramos
2017-08-13  9:51 Gilles Dartiguelongue
2017-07-19  3:47 Alexis Ballier
2017-06-19  4:01 Mart Raudsepp
2017-06-17  8:32 Sergei Trofimovich
2017-04-27 22:08 Mart Raudsepp
2017-04-27 10:36 Agostino Sarubbo
2017-04-23 21:23 Agostino Sarubbo
2017-04-17 16:49 David Seifert
2017-04-17 10:31 Gilles Dartiguelongue
2017-04-04 21:04 Markus Meier
2017-03-23  4:04 Mart Raudsepp
2016-11-01 17:31 Gilles Dartiguelongue
2016-10-23 23:02 Gilles Dartiguelongue
2016-07-02 17:12 Pacho Ramos
2016-07-02 17:12 Pacho Ramos
2016-03-06 17:23 Mikle Kolyada
2015-11-14 15:27 Pacho Ramos
2015-11-14 15:27 Pacho Ramos
2015-11-11  8:20 Agostino Sarubbo
2015-11-10 17:02 Agostino Sarubbo
2015-09-20 18:53 Pacho Ramos
2015-09-20 18:49 Pacho Ramos
2015-09-05 13:15 Pacho Ramos
2015-09-05 13:14 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568923811.71fd00d68a3a477d2d2281a773eb75333649388a.leio@gentoo \
    --to=leio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox