1 |
jer 09/09/07 18:21:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nvclock-0.8_beta4-r4.ebuild |
5 |
Log: |
6 |
No need for virtual/libc. Fix trivial spelling error. Make sure --enable-nvcontrol is only set when either toolkit is in USE (bug #265804). |
7 |
(Portage version: 2.2_rc40/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.37 media-video/nvclock/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/ChangeLog?rev=1.37&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/ChangeLog?rev=1.37&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/ChangeLog?r1=1.36&r2=1.37 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/nvclock/ChangeLog,v |
19 |
retrieving revision 1.36 |
20 |
retrieving revision 1.37 |
21 |
diff -u -r1.36 -r1.37 |
22 |
--- ChangeLog 28 Jul 2009 17:15:42 -0000 1.36 |
23 |
+++ ChangeLog 7 Sep 2009 18:21:38 -0000 1.37 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-video/nvclock |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/ChangeLog,v 1.36 2009/07/28 17:15:42 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/ChangeLog,v 1.37 2009/09/07 18:21:38 jer Exp $ |
29 |
+ |
30 |
+*nvclock-0.8_beta4-r4 (07 Sep 2009) |
31 |
+ |
32 |
+ 07 Sep 2009; Jeroen Roovers <jer@g.o> +nvclock-0.8_beta4-r4.ebuild: |
33 |
+ No need for virtual/libc. Fix trivial spelling error. Make sure |
34 |
+ --enable-nvcontrol is only set when either toolkit is in USE (bug |
35 |
+ #265804). |
36 |
|
37 |
28 Jul 2009; Jeroen Roovers <jer@g.o> -nvclock-0.8_beta2.ebuild, |
38 |
-nvclock-0.8_beta4.ebuild, -nvclock-0.8_beta4-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-video/nvclock/nvclock-0.8_beta4-r4.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nvclock-0.8_beta4-r4.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild,v 1.1 2009/09/07 18:21:38 jer Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils autotools toolchain-funcs |
56 |
|
57 |
MY_P="${PN}${PV/_beta/b}" |
58 |
S=${WORKDIR}/${MY_P} |
59 |
DESCRIPTION="NVIDIA Overclocking Utility" |
60 |
HOMEPAGE="http://www.linuxhardware.org/nvclock/" |
61 |
SRC_URI="http://www.linuxhardware.org/nvclock/${MY_P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="gtk qt3" |
67 |
|
68 |
RDEPEND="virtual/libc |
69 |
gtk? ( =x11-libs/gtk+-2* ) |
70 |
qt3? ( =x11-libs/qt-3* )" |
71 |
|
72 |
src_prepare() { |
73 |
# Patch to fix broken autoconf macro "--with-qt-libs" needed below |
74 |
# Submitted upstream, hopefully fixed in a later version |
75 |
use qt3 && epatch "${FILESDIR}"/nvclock_acinclude_qtlibs.patch |
76 |
|
77 |
# Bug #240846: |
78 |
epatch "${FILESDIR}"/${P}-flags.patch |
79 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
80 |
|
81 |
sed -e 's:NV-CONROL:NV-CONTROL:g' -i configure.in |
82 |
sed -i Makefile.in -e "s:/share/doc/nvclock:/share/doc/${PF}:g" || \ |
83 |
die "sed failed" |
84 |
|
85 |
eautoreconf |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
tc-export CC CXX |
90 |
# Needed to ensure it compiles against Qt3 rather than Qt4 |
91 |
export QTDIR=/usr/qt/3 |
92 |
export MOC=${QTDIR}/bin/moc |
93 |
|
94 |
local myconf |
95 |
|
96 |
myconf="--bindir=/usr/bin" |
97 |
|
98 |
# Qt3 package doesn't install symlinks from ${QTDIR}/lib64 to ${QTDIR}/lib |
99 |
use amd64 && myconf="${myconf} --with-qt-libs=${QTDIR}/lib64" |
100 |
|
101 |
if use gtk || use qt3; then |
102 |
myconf="${myconf} --enable-nvcontrol" |
103 |
else |
104 |
myconf="${myconf} --disable-nvcontrol" |
105 |
fi |
106 |
|
107 |
econf $(use_enable qt3 qt) $(use_enable gtk) ${myconf} || die |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
emake -j1 || die "emake failed" |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
dodir /usr/bin |
116 |
emake DESTDIR="${D}" install || die |
117 |
#dodoc AUTHORS README |
118 |
|
119 |
newinitd "${FILESDIR}"/nvclock_initd nvclock |
120 |
newconfd "${FILESDIR}"/nvclock_confd nvclock |
121 |
|
122 |
#insinto /usr/share/applications |
123 |
#doins nvclock.desktop |
124 |
#validate_desktop_entries /usr/share/applications/nvclock.desktop |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
elog "To enable card overclocking at startup, edit your /etc/conf.d/nvclock" |
129 |
elog "accordingly and then run: rc-update add nvclock default" |
130 |
} |