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/cheese/
Date: Sun,  1 Mar 2020 16:18:48 +0000 (UTC)	[thread overview]
Message-ID: <1583079460.ebd97f5185301f60902cef42029db41cfce53580.leio@gentoo> (raw)

commit:     ebd97f5185301f60902cef42029db41cfce53580
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  1 15:09:31 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Mar  1 16:17:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd97f51

media-video/cheese-3.34: various packaging fixes

* Drop IUSE=X, it is NOT optional
* Replace wrong intltool dep with gettext
* Fix USE=gtk-doc deps
* Fix lack of gnome2_schemas_update calls
* Use xdg.eclass instead of xdg-utils.eclass (and get missing env reset
  from that added back)
* Re-enable tests, they appear to work fine

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

 ...heese-3.34.0.ebuild => cheese-3.34.0-r1.ebuild} | 63 ++++++++++------------
 1 file changed, 28 insertions(+), 35 deletions(-)

diff --git a/media-video/cheese/cheese-3.34.0.ebuild b/media-video/cheese/cheese-3.34.0-r1.ebuild
similarity index 76%
rename from media-video/cheese/cheese-3.34.0.ebuild
rename to media-video/cheese/cheese-3.34.0-r1.ebuild
index 5260911df0d..17d4540d988 100644
--- a/media-video/cheese/cheese-3.34.0.ebuild
+++ b/media-video/cheese/cheese-3.34.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit gnome.org meson vala virtualx xdg-utils
+inherit gnome.org meson vala virtualx xdg
 
 DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
 HOMEPAGE="https://wiki.gnome.org/Apps/Cheese"
@@ -11,41 +11,30 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Cheese"
 LICENSE="GPL-2+"
 SLOT="0/8" # subslot = libcheese soname version
 KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gtk-doc +introspection test X"
-RESTRICT="test" # Tests fail
+IUSE="gtk-doc +introspection test"
+RESTRICT="!test? ( test )"
 
-REQUIRED_USE="test? ( X )"
-COMMON_DEPEND="
-	>=dev-libs/glib-2.39.90:2
-	>=x11-libs/gtk+-3.13.4:3[introspection?]
-	>=gnome-base/gnome-desktop-2.91.6:3=
-	>=media-libs/libcanberra-0.26[gtk3]
+DEPEND="
 	>=media-libs/clutter-1.13.2:1.0[introspection?]
-	>=media-libs/clutter-gtk-0.91.8:1.0
 	media-libs/clutter-gst:3.0
-	media-libs/cogl:1.0=[introspection?]
-
-	media-video/gnome-video-effects
+	>=media-libs/clutter-gtk-0.91.8:1.0
 	x11-libs/gdk-pixbuf:2[jpeg,introspection?]
-
+	>=dev-libs/glib-2.39.90:2
+	>=gnome-base/gnome-desktop-2.91.6:3=
 	>=media-libs/gstreamer-1.4:1.0[introspection?]
-	>=media-libs/gst-plugins-base-1.4:1.0[introspection?,ogg,pango,theora,vorbis,X?]
-
-	introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
+	>=media-libs/gst-plugins-base-1.4:1.0[ogg,pango,theora,vorbis]
+	>=media-libs/gst-plugins-bad-1.4:1.0
+	>=x11-libs/gtk+-3.13.4:3
+	>=media-libs/libcanberra-0.26[gtk3]
+	x11-libs/libX11
+	sys-apps/dbus
+	media-video/gnome-video-effects
+	introspection? ( >=dev-libs/gobject-introspection-1.56:= )
 
-	X? (
-		x11-base/xorg-proto
-		x11-libs/libX11
-	)
-"
+	media-libs/cogl:1.0=[introspection?]
 
-DEPEND="
-	${COMMON_DEPEND}
-	test? ( x11-libs/libXtst )
 "
-
-RDEPEND="${COMMON_DEPEND}
-	>=media-libs/gst-plugins-bad-1.4:1.0
+RDEPEND="${DEPEND}
 	>=media-libs/gst-plugins-good-1.4:1.0
 
 	>=media-plugins/gst-plugins-jpeg-1.4:1.0
@@ -54,15 +43,18 @@ RDEPEND="${COMMON_DEPEND}
 "
 
 BDEPEND="
-	$(vala_depend)
+	gtk-doc? ( dev-util/gtk-doc )
+	dev-libs/libxslt
 	app-text/docbook-xml-dtd:4.3
 	dev-util/itstool
 	dev-libs/appstream-glib
-	>=dev-util/intltool-0.50
-	dev-libs/libxslt
 	dev-libs/libxml2:2
 	dev-util/glib-utils
+	>=sys-devel/gettext-0.19.8
 	virtual/pkgconfig
+	x11-base/xorg-proto
+	test? ( x11-libs/libXtst )
+	$(vala_depend)
 "
 
 PATCHES=(
@@ -71,9 +63,8 @@ PATCHES=(
 )
 
 src_prepare() {
+	xdg_src_prepare
 	vala_src_prepare
-
-	default
 }
 
 src_configure() {
@@ -95,9 +86,11 @@ src_test() {
 }
 
 pkg_postinst() {
-	xdg_icon_cache_update
+	xdg_pkg_postinst
+	gnome2_schemas_update
 }
 
 pkg_postrm() {
-	xdg_icon_cache_update
+	xdg_pkg_postrm
+	gnome2_schemas_update
 }


             reply	other threads:[~2020-03-01 16:18 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-01 16:18 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04 18:39 [gentoo-commits] repo/gentoo:master commit in: media-video/cheese/ Andreas Sturmlechner
2023-08-30  7:57 Arthur Zamarin
2023-07-18 22:39 Matt Turner
2023-05-17 21:55 Matt Turner
2023-05-05  9:19 Arthur Zamarin
2023-05-05  9:13 Arthur Zamarin
2023-05-02 18:00 Arthur Zamarin
2023-04-17 23:45 Matt Turner
2023-04-10 14:16 Matt Turner
2023-02-17  8:23 Arthur Zamarin
2021-12-31  3:42 Yixun Lan
2021-12-26 22:32 Mart Raudsepp
2021-12-19  2:00 Matt Turner
2021-11-06  4:09 Sam James
2021-10-04  1:25 Sam James
2021-10-04  1:24 Sam James
2021-09-25 10:40 Mart Raudsepp
2021-04-24  9:20 Mart Raudsepp
2021-04-15  5:25 Sam James
2021-04-15  1:33 Sam James
2021-04-14 18:51 Mikle Kolyada
2021-03-13 18:32 Matt Turner
2021-03-04  0:23 Sam James
2020-05-03 20:22 Mart Raudsepp
2020-04-25 20:17 Mart Raudsepp
2019-12-23 22:23 Mart Raudsepp
2019-12-08 11:52 Mikle Kolyada
2019-12-08 11:41 Mikle Kolyada
2019-10-13 12:14 Mart Raudsepp
2019-10-13  0:18 Matt Turner
2019-08-03 19:04 Aaron Bauman
2019-05-18 23:05 Mart Raudsepp
2019-01-18 22:15 Mart Raudsepp
2019-01-18 22:15 Mart Raudsepp
2018-12-21 22:17 Gilles Dartiguelongue
2018-12-02 17:27 Mart Raudsepp
2018-12-02 14:29 Mikle Kolyada
2018-12-02 10:12 Mikle Kolyada
2018-08-03 11:45 Mart Raudsepp
2018-02-03 23:00 Mart Raudsepp
2018-01-27  0:41 Thomas Deutschmann
2018-01-19  7:34 Gilles Dartiguelongue
2018-01-18  2:58 Mikle Kolyada
2017-08-13  9:51 Gilles Dartiguelongue
2016-10-23 23:01 Gilles Dartiguelongue
2016-10-23 23:01 Gilles Dartiguelongue
2016-09-04 16:22 Gilles Dartiguelongue
2016-07-02 17:12 Pacho Ramos
2016-07-02 17:12 Pacho Ramos
2016-03-06 18:03 Mikle Kolyada
2015-11-24 20:02 Gilles Dartiguelongue
2015-11-17 20:23 Pacho Ramos
2015-11-17 20:23 Pacho Ramos
2015-11-17 20:23 Pacho Ramos
2015-09-07 19:58 Mikle Kolyada

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=1583079460.ebd97f5185301f60902cef42029db41cfce53580.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