public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/makemkv/
Date: Sun, 22 Oct 2017 16:35:24 +0000 (UTC)	[thread overview]
Message-ID: <1508690118.4fc9a2ac4be43af35159bfcbcc5a671dae7ee008.chewi@gentoo> (raw)

commit:     4fc9a2ac4be43af35159bfcbcc5a671dae7ee008
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 16:33:41 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 16:35:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc9a2ac

media-video/makemkv: Drop Qt4 support and introduce gui USE flag

Qt4 will be dropped from the tree soon.

Package-Manager: Portage-2.3.12, Repoman-2.3.2

 ...emkv-1.10.7.ebuild => makemkv-1.10.7-r1.ebuild} | 23 +++++-----------------
 media-video/makemkv/metadata.xml                   |  5 ++++-
 2 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/media-video/makemkv/makemkv-1.10.7.ebuild b/media-video/makemkv/makemkv-1.10.7-r1.ebuild
similarity index 90%
rename from media-video/makemkv/makemkv-1.10.7.ebuild
rename to media-video/makemkv/makemkv-1.10.7-r1.ebuild
index f01bbdb662f..8ae13a9e98f 100644
--- a/media-video/makemkv/makemkv-1.10.7.ebuild
+++ b/media-video/makemkv/makemkv-1.10.7-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
 LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE="libav multilib qt4 qt5"
+IUSE="+gui libav multilib"
 
 QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
 
@@ -25,17 +25,12 @@ DEPEND="
 	dev-libs/expat
 	dev-libs/openssl:0[-bindist(-)]
 	sys-libs/zlib
-	qt5? (
+	gui? (
 		dev-qt/qtcore:5
 		dev-qt/qtdbus:5
 		dev-qt/qtgui:5
 		dev-qt/qtwidgets:5
 	)
-	!qt5? ( qt4? (
-		dev-qt/qtcore:4
-		dev-qt/qtdbus:4
-		dev-qt/qtgui:4
-	) )
 	!libav? ( >=media-video/ffmpeg-1.0.0:0= )
 	libav? ( >=media-video/libav-0.8.9:0= )
 "
@@ -49,20 +44,12 @@ src_configure() {
 	# See bug #439380.
 	replace-flags -O* -Os
 
-	local econf_args=()
-
-	if use qt5 || use qt4; then
-		econf_args+=( --enable-gui )
-	else
-		econf_args+=( --disable-gui )
-	fi
-
 	econf \
 		--enable-debug \
 		--disable-noec \
-		$(use_enable qt5) \
-		$(use_enable qt4) \
-		"${econf_args[@]}"
+		--disable-qt4 \
+		$(use_enable gui) \
+		$(use_enable gui qt5)
 }
 
 src_install() {

diff --git a/media-video/makemkv/metadata.xml b/media-video/makemkv/metadata.xml
index b650d107cd5..9de3ac702c5 100644
--- a/media-video/makemkv/metadata.xml
+++ b/media-video/makemkv/metadata.xml
@@ -21,5 +21,8 @@
       without intermediate conversion to wide range of players, so you
       may watch Blu-ray and DVD discs with your favorite player on
       your favorite OS or on your favorite device.
-</longdescription>
+	</longdescription>
+	<use>
+		<flag name="gui">Build the Qt5 GUI</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2017-10-22 16:35 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-22 16:35 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-30 21:37 [gentoo-commits] repo/gentoo:master commit in: media-video/makemkv/ James Le Cuirot
2024-06-24 17:56 Jakov Smolić
2024-06-23 16:10 Arthur Zamarin
2024-06-23 16:01 Sam James
2024-05-16 22:53 James Le Cuirot
2024-01-20 22:14 James Le Cuirot
2024-01-16  5:46 Viorel Munteanu
2023-09-27 20:21 James Le Cuirot
2023-09-26 21:46 James Le Cuirot
2023-09-26 20:27 James Le Cuirot
2023-06-02 21:03 James Le Cuirot
2023-02-04 17:56 James Le Cuirot
2022-10-12 20:23 James Le Cuirot
2022-10-02 20:29 James Le Cuirot
2022-09-18 13:10 James Le Cuirot
2022-03-01 20:40 James Le Cuirot
2022-01-06 22:30 James Le Cuirot
2021-11-01 21:43 James Le Cuirot
2021-07-10 11:24 James Le Cuirot
2021-05-03  9:24 Mikle Kolyada
2021-03-04 22:41 James Le Cuirot
2021-03-02 22:07 James Le Cuirot
2020-07-23 21:47 James Le Cuirot
2020-04-26 10:13 Mikle Kolyada
2020-04-15 22:51 James Le Cuirot
2020-03-07 21:45 James Le Cuirot
2020-03-07 20:32 James Le Cuirot
2020-01-12 11:14 David Seifert
2019-12-10 20:41 James Le Cuirot
2019-12-03 23:16 James Le Cuirot
2019-09-05 21:16 James Le Cuirot
2019-06-09 14:14 James Le Cuirot
2019-04-30 22:00 James Le Cuirot
2019-04-14 20:05 James Le Cuirot
2018-12-02 22:29 James Le Cuirot
2018-12-02 22:29 James Le Cuirot
2018-11-16 21:00 James Le Cuirot
2018-11-15 15:55 Lars Wendler
2018-11-09 22:48 James Le Cuirot
2018-11-09 22:48 James Le Cuirot
2018-11-06 23:26 James Le Cuirot
2018-11-06 23:26 James Le Cuirot
2018-02-26 23:29 James Le Cuirot
2018-01-24 21:03 James Le Cuirot
2018-01-24 21:03 James Le Cuirot
2018-01-18 15:02 James Le Cuirot
2017-12-05 22:36 James Le Cuirot
2017-11-26 23:11 David Seifert
2017-09-06 19:03 James Le Cuirot
2017-05-28 19:03 James Le Cuirot
2016-12-25 23:34 James Le Cuirot
2016-12-25 23:34 James Le Cuirot
2016-12-13 23:02 James Le Cuirot
2016-09-26 22:24 James Le Cuirot
2016-08-15 21:02 James Le Cuirot
2016-07-24 21:23 James Le Cuirot
2016-05-08 16:28 James Le Cuirot
2016-05-08 16:28 James Le Cuirot
2016-05-08 16:28 James Le Cuirot
2016-01-19 14:55 James Le Cuirot
2015-12-25 15:03 James Le Cuirot
2015-10-04 18:51 James Le Cuirot
2015-09-26 18:05 James Le Cuirot

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=1508690118.4fc9a2ac4be43af35159bfcbcc5a671dae7ee008.chewi@gentoo \
    --to=chewi@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