summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2007-03-16 00:02:53 +0000
committerMart Raudsepp <leio@gentoo.org>2007-03-16 00:02:53 +0000
commit1f26b50d0be718186bf626bc4a14676edad24aa8 (patch)
treefee4824d1d410f1ab09e7381046c923c0c1bd679 /media-sound
parentMarked ppc stable. (diff)
downloadgentoo-2-1f26b50d0be718186bf626bc4a14676edad24aa8.tar.gz
gentoo-2-1f26b50d0be718186bf626bc4a14676edad24aa8.tar.bz2
gentoo-2-1f26b50d0be718186bf626bc4a14676edad24aa8.zip
Fix QA violations noticed by Brian Harring and actually disable lirc support when lirc USE flag isn't used
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/gnomeradio/ChangeLog6
-rw-r--r--media-sound/gnomeradio/gnomeradio-1.6.ebuild10
2 files changed, 10 insertions, 6 deletions
diff --git a/media-sound/gnomeradio/ChangeLog b/media-sound/gnomeradio/ChangeLog
index 199be945bd8e..a6f6066bd188 100644
--- a/media-sound/gnomeradio/ChangeLog
+++ b/media-sound/gnomeradio/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/gnomeradio
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/ChangeLog,v 1.14 2007/02/03 18:59:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/ChangeLog,v 1.15 2007/03/16 00:02:53 leio Exp $
+
+ 15 Mar 2007; Mart Raudsepp <leio@gentoo.org> gnomeradio-1.6.ebuild:
+ Fix QA violations noticed by Brian Harring and actually disable lirc support
+ when lirc USE flag isn't used
03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/media-sound/gnomeradio/gnomeradio-1.6.ebuild b/media-sound/gnomeradio/gnomeradio-1.6.ebuild
index 0d35d6ddf67b..ffe1a6dcbc70 100644
--- a/media-sound/gnomeradio/gnomeradio-1.6.ebuild
+++ b/media-sound/gnomeradio/gnomeradio-1.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/gnomeradio-1.6.ebuild,v 1.1 2005/04/25 10:44:56 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/gnomeradio-1.6.ebuild,v 1.2 2007/03/16 00:02:53 leio Exp $
inherit gnome2
@@ -24,6 +24,6 @@ DEPEND="${RDEPEND}
DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING README* INSTALL NEWS TODO"
-use lirc \
- && G2CONF="${G2CONF} --enable-lirc " \
- || G2CONF="${G2CONF} --enable-lirc "
+pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable lirc)"
+}