summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-04-25 03:41:08 +0000
committerJeroen Roovers <jer@gentoo.org>2011-04-25 03:41:08 +0000
commit0e6b6670c0f2aaf13479fdf99b021a52361c4834 (patch)
tree14217c29bdf501d40b8157b185e1273872859190 /sys-power/nvclock
parentadd 0.4.14 (diff)
downloadgentoo-2-0e6b6670c0f2aaf13479fdf99b021a52361c4834.tar.gz
gentoo-2-0e6b6670c0f2aaf13479fdf99b021a52361c4834.tar.bz2
gentoo-2-0e6b6670c0f2aaf13479fdf99b021a52361c4834.zip
Add USE=nvcontrol and dependencies (bug #364665). Comment on --disable-qt.
(Portage version: 2.2.0_alpha30/cvs/Linux i686)
Diffstat (limited to 'sys-power/nvclock')
-rw-r--r--sys-power/nvclock/ChangeLog6
-rw-r--r--sys-power/nvclock/metadata.xml1
-rw-r--r--sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild12
3 files changed, 14 insertions, 5 deletions
diff --git a/sys-power/nvclock/ChangeLog b/sys-power/nvclock/ChangeLog
index c6563de2146a..bbd733b200dd 100644
--- a/sys-power/nvclock/ChangeLog
+++ b/sys-power/nvclock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/nvclock
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.8 2011/04/25 03:04:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.9 2011/04/25 03:41:08 jer Exp $
+
+ 25 Apr 2011; Jeroen Roovers <jer@gentoo.org> nvclock-0.8_p20110102-r1.ebuild,
+ metadata.xml:
+ Add USE=nvcontrol and dependencies (bug #364665). Comment on --disable-qt.
25 Apr 2011; Jeroen Roovers <jer@gentoo.org> nvclock-0.8_p20110102-r1.ebuild,
files/nvclock-0.8_p20110102-make.patch:
diff --git a/sys-power/nvclock/metadata.xml b/sys-power/nvclock/metadata.xml
index c9589d3d7648..20dd8bd07e18 100644
--- a/sys-power/nvclock/metadata.xml
+++ b/sys-power/nvclock/metadata.xml
@@ -8,5 +8,6 @@
</maintainer>
<use>
<flag name="gtk">Install the GTK+ based graphical interface</flag>
+ <flag name="nvcontrol">Add NVCONTROL support for OpenGL options</flag>
</use>
</pkgmetadata>
diff --git a/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild b/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
index e21dd1fe167f..b7655ddaf880 100644
--- a/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
+++ b/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild,v 1.4 2011/04/25 03:04:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild,v 1.5 2011/04/25 03:41:08 jer Exp $
EAPI="2"
@@ -13,9 +13,12 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="gtk"
+IUSE="gtk nvcontrol"
-RDEPEND="gtk? ( x11-libs/gtk+:2 )"
+RDEPEND="
+ gtk? ( x11-libs/gtk+:2 )
+ nvcontrol? ( x11-libs/libX11 x11-libs/libXext )
+"
DEPEND="${RDEPEND}"
src_prepare() {
@@ -24,8 +27,9 @@ src_prepare() {
}
src_configure() {
+ # Qt support would mean Qt 3.
econf --bindir=/usr/bin --disable-qt --docdir=/usr/share/doc/${PF} \
- $(use_enable gtk) $(use_enable gtk nvcontrol)
+ $(use_enable gtk) $(use_enable nvcontrol)
}
src_compile() {