public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/vbam/
Date: Sat, 13 Jan 2018 22:17:37 +0000 (UTC)	[thread overview]
Message-ID: <1515881837.9da917d8e4fdf15ddae409534ea7c4bc29e6115c.soap@gentoo> (raw)

commit:     9da917d8e4fdf15ddae409534ea7c4bc29e6115c
Author:     Nado <nado <AT> troglodyte <DOT> be>
AuthorDate: Fri Jan 12 22:36:25 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 22:17:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da917d8

games-emulation/vbam: 9999 update to new requirements from upstream

* switch from fdo-mime to xdg-utils
* add missing REQUIRED_USE constraints
* remove gtk port as it is no longer supported by upstream
* remove cairo support for the same reason

Closes: https://bugs.gentoo.org/638300
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6847

 games-emulation/vbam/vbam-9999.ebuild | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

diff --git a/games-emulation/vbam/vbam-9999.ebuild b/games-emulation/vbam/vbam-9999.ebuild
index 0af06c4e2c8..357c9489310 100644
--- a/games-emulation/vbam/vbam-9999.ebuild
+++ b/games-emulation/vbam/vbam-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 WX_GTK_VER="3.0"
-inherit cmake-utils wxwidgets gnome2-utils fdo-mime eutils
+inherit cmake-utils wxwidgets gnome2-utils eutils xdg-utils
 
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/visualboyadvance-m/visualboyadvance-m.git"
@@ -18,8 +18,8 @@ HOMEPAGE="https://github.com/visualboyadvance-m/visualboyadvance-m"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="cairo ffmpeg gtk link lirc nls openal +sdl wxwidgets"
-REQUIRED_USE="|| ( sdl gtk wxwidgets )"
+IUSE="ffmpeg link lirc nls openal +sdl wxwidgets"
+REQUIRED_USE="openal? ( wxwidgets ) || ( sdl wxwidgets )"
 
 RDEPEND=">=media-libs/libpng-1.4:0=
 	media-libs/libsdl2[joystick]
@@ -28,13 +28,9 @@ RDEPEND=">=media-libs/libpng-1.4:0=
 	virtual/glu
 	virtual/opengl
 	ffmpeg? ( virtual/ffmpeg[-libav] )
-	gtk? ( >=dev-cpp/glibmm-2.4.0:2
-		>=dev-cpp/gtkmm-2.4.0:2.4
-		>=dev-cpp/gtkglextmm-1.2.0 )
 	lirc? ( app-misc/lirc )
 	nls? ( virtual/libintl )
 	wxwidgets? (
-		cairo? ( x11-libs/cairo )
 		openal? ( media-libs/openal )
 		x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
 	)"
@@ -48,15 +44,13 @@ src_prepare() {
 	default
 
 	# fix desktop file QA warnings
-	edos2unix src/gtk/gvbam.desktop src/wx/wxvbam.desktop
+	edos2unix src/wx/wxvbam.desktop
 }
 
 src_configure() {
 	use wxwidgets && setup-wxwidgets
 	local mycmakeargs=(
-		-DENABLE_CAIRO=$(usex cairo)
 		-DENABLE_FFMPEG=$(usex ffmpeg)
-		-DENABLE_GTK=$(usex gtk)
 		-DENABLE_LINK=$(usex link)
 		-DENABLE_LIRC=$(usex lirc)
 		-DENABLE_NLS=$(usex nls)
@@ -79,28 +73,27 @@ src_install() {
 
 	if use sdl ; then
 		dodoc doc/ReadMe.SDL.txt
-		doman src/debian/vbam.1
+		doman src/debian/vbam.6
 	fi
-	use wxwidgets && doman src/debian/wxvbam.1
-	use gtk && doman src/debian/gvbam.1
+	use wxwidgets && doman src/debian/visualboyadvance-m.6
 }
 
 pkg_preinst() {
-	if use gtk || use wxwidgets ; then
+	if use wxwidgets ; then
 		gnome2_icon_savelist
 	fi
 }
 
 pkg_postinst() {
-	if use gtk || use wxwidgets ; then
+	if use wxwidgets ; then
 		gnome2_icon_cache_update
+		xdg_desktop_database_update
 	fi
-	use gtk && fdo-mime_desktop_database_update
 }
 
 pkg_postrm() {
-	if use gtk || use wxwidgets ; then
+	if use wxwidgets ; then
 		gnome2_icon_cache_update
+		xdg_desktop_database_update
 	fi
-	use gtk && fdo-mime_desktop_database_update
 }


             reply	other threads:[~2018-01-13 22:17 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-13 22:17 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-08 20:59 [gentoo-commits] repo/gentoo:master commit in: games-emulation/vbam/ James Le Cuirot
2025-05-08 20:59 James Le Cuirot
2025-03-14 13:55 David Seifert
2025-03-13 22:10 Ionen Wolkens
2024-06-16  9:37 Pacho Ramos
2024-06-16  9:37 Pacho Ramos
2024-04-18 16:56 Pacho Ramos
2024-03-22  5:33 Sam James
2023-11-24 12:59 Pacho Ramos
2023-01-20  3:54 Sam James
2020-11-07 22:48 James Le Cuirot
2020-07-25 20:26 James Le Cuirot
2020-06-05 23:12 Andreas Sturmlechner
2019-12-06 11:08 Lars Wendler
2019-12-06 11:08 Lars Wendler
2018-08-29 21:22 James Le Cuirot
2018-03-18  4:48 Tim Harder
2018-01-21 10:20 David Seifert
2018-01-20 19:54 David Seifert
2017-12-30 21:41 David Seifert
2017-12-16 10:31 Tobias Klausmann
2016-12-27  5:43 Lars Wendler
2016-12-11 18:10 David Seifert
2016-12-11 13:49 David Seifert
2016-12-06  9:13 Pacho Ramos
2016-08-26  5:17 Tim Harder
2016-08-26  5:17 Tim Harder
2016-04-03  3:08 Michael Sterrett
2016-01-01  7:21 Michael Sterrett
2015-12-11 10:06 Agostino Sarubbo
2015-11-10 16:57 Michael Sterrett
2015-08-29 20:26 Tim Harder
2015-08-29 20:26 Tim Harder

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=1515881837.9da917d8e4fdf15ddae409534ea7c4bc29e6115c.soap@gentoo \
    --to=soap@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