public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier (aballier)" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-video/vlc: ChangeLog vlc-0.9.0_alpha20080625.ebuild
Date: Sat, 28 Jun 2008 10:33:06 +0000	[thread overview]
Message-ID: <E1KCXju-0001a7-G9@stork.gentoo.org> (raw)

aballier    08/06/28 10:33:06

  Modified:             ChangeLog vlc-0.9.0_alpha20080625.ebuild
  Log:
  Force qt4 to be enabled instead of having configure to die when enabling skins, bug #229473
  (Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)

Revision  Changes    Path
1.348                media-video/vlc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.348&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.348&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?r1=1.347&r2=1.348

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -r1.347 -r1.348
--- ChangeLog	26 Jun 2008 07:32:26 -0000	1.347
+++ ChangeLog	28 Jun 2008 10:33:06 -0000	1.348
@@ -1,6 +1,11 @@
 # ChangeLog for media-video/vlc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.347 2008/06/26 07:32:26 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.348 2008/06/28 10:33:06 aballier Exp $
+
+  28 Jun 2008; Alexis Ballier <aballier@gentoo.org>
+  vlc-0.9.0_alpha20080625.ebuild:
+  Force qt4 to be enabled instead of having configure to die when enabling
+  skins, bug #229473
 
   26 Jun 2008; Alexis Ballier <aballier@gentoo.org>
   vlc-0.9.0_alpha20080625.ebuild:



1.7                  media-video/vlc/vlc-0.9.0_alpha20080625.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080625.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080625.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080625.ebuild?r1=1.6&r2=1.7

Index: vlc-0.9.0_alpha20080625.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080625.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vlc-0.9.0_alpha20080625.ebuild	26 Jun 2008 07:32:26 -0000	1.6
+++ vlc-0.9.0_alpha20080625.ebuild	28 Jun 2008 10:33:06 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080625.ebuild,v 1.6 2008/06/26 07:32:26 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080625.ebuild,v 1.7 2008/06/28 10:33:06 aballier Exp $
 
 EAPI="1"
 
@@ -111,6 +111,7 @@
 		sdl? ( >=media-libs/libsdl-1.2.8
 			sdl-image? ( media-libs/sdl-image ) )
 		shout? ( media-libs/libshout )
+		skins? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) >=x11-libs/qt-4.2.0:4 ) )
 		speex? ( media-libs/speex )
 		svg? ( >=gnome-base/librsvg-2.9.0 )
 		svga? ( media-libs/svgalib )
@@ -158,9 +159,25 @@
 	use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled."
 }
 
+# Notify the user that some useflag have been forced on
+vlc_use_force() {
+	use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled."
+}
+
+# Use when $2 depends strictly on $3
+# if use $1 then enable $2 and $3, otherwise disable $2
+vlc_use_enable_force() {
+	if use $1 ; then
+		echo "--enable-$2 --enable-$3"
+	else
+		echo "--disable-$2"
+	fi
+}
+
+
 pkg_setup() {
 	vlc_use_needs skins truetype
-	vlc_use_needs skins qt4
+	vlc_use_force skins qt4
 	vlc_use_needs cdda cdio
 	vlc_use_needs vcdx cdio
 	vlc_use_needs bidi truetype
@@ -182,10 +199,6 @@
 	local XPIDL=""
 	local MOZILLA_CONFIG=""
 
-	use vlm && \
-		myconf="${myconf} --enable-vlm --enable-sout" || \
-		myconf="${myconf} --disable-vlm"
-
 	if use nsplugin; then
 		if use xulrunner; then
 			XPIDL=/usr/$(get_libdir)/xulrunner
@@ -298,7 +311,8 @@
 		--disable-growl \
 		--disable-optimizations \
 		--enable-fast-install \
-		${myconf} || die "configuration failed"
+		$(vlc_use_enable_force vlm vlm sout) \
+		$(vlc_use_enable_force skins skins2 qt4)
 
 	# Reminder to re-add this when disabling it will not be broken
 	# $(use_enable stream sout) \



-- 
gentoo-commits@lists.gentoo.org mailing list



             reply	other threads:[~2008-06-28 10:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 10:33 Alexis Ballier (aballier) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-03 19:13 [gentoo-commits] gentoo-x86 commit in media-video/vlc: ChangeLog vlc-0.9.0_alpha20080625.ebuild Alexis Ballier (aballier)
2008-06-29 19:40 Alexis Ballier (aballier)
2008-06-29 14:15 Alexis Ballier (aballier)
2008-06-26  7:32 Alexis Ballier (aballier)
2008-06-25 20:06 Alexis Ballier (aballier)
2008-06-25 15:14 Alexis Ballier (aballier)
2008-06-25 14:15 Alexis Ballier (aballier)
2008-06-25 14:06 Alexis Ballier (aballier)
2008-06-25  8:49 Alexis Ballier (aballier)

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=E1KCXju-0001a7-G9@stork.gentoo.org \
    --to=aballier@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