summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-12-15 11:48:50 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-12-15 11:48:50 +0000
commit4522697c0ab9ed9954839e5db505cfeb9bc51033 (patch)
tree25d9f420cf482c69396c497acf363f4f04ef1b80 /sys-power
parentsparc stable wrt bug #461898 (diff)
downloadgentoo-2-4522697c0ab9ed9954839e5db505cfeb9bc51033.tar.gz
gentoo-2-4522697c0ab9ed9954839e5db505cfeb9bc51033.tar.bz2
gentoo-2-4522697c0ab9ed9954839e5db505cfeb9bc51033.zip
[QA] Create /usr/bin/ in image such that the rest of the src_install phase can proceed; for bug #481244, reported by Alex Barker. Removed old revision. Stabilization of newer version in bug #494320.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/nvclock/ChangeLog8
-rw-r--r--sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild62
-rw-r--r--sys-power/nvclock/nvclock-0.8_p20110102-r2.ebuild4
3 files changed, 10 insertions, 64 deletions
diff --git a/sys-power/nvclock/ChangeLog b/sys-power/nvclock/ChangeLog
index 76da32a1be8c..87849247f74b 100644
--- a/sys-power/nvclock/ChangeLog
+++ b/sys-power/nvclock/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/nvclock
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.14 2013/08/16 14:23:04 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.15 2013/12/15 11:48:50 tomwij Exp $
+
+ 15 Dec 2013; Tom Wijsman <TomWij@gentoo.org> -nvclock-0.8_p20110102-r1.ebuild,
+ nvclock-0.8_p20110102-r2.ebuild:
+ [QA] Create /usr/bin/ in image such that the rest of the src_install phase can
+ proceed; for bug #481244, reported by Alex Barker. Removed old revision.
+ Stabilization of newer version in bug #494320.
16 Aug 2013; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Set new maintainer.
diff --git a/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild b/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
deleted file mode 100644
index 34e139f9d259..000000000000
--- a/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2012 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.8 2012/09/05 08:12:47 jlec Exp $
-
-EAPI="2"
-
-inherit autotools eutils flag-o-matic
-
-DESCRIPTION="NVIDIA Overclocking Utility"
-HOMEPAGE="http://www.linuxhardware.org/nvclock/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="gtk nvcontrol"
-
-RDEPEND="
- gtk? ( x11-libs/gtk+:2 )
- nvcontrol? ( x11-libs/libX11 x11-libs/libXext )
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-make.patch \
- "${FILESDIR}"/${P}-usleep.patch
- eautoreconf
-}
-
-src_configure() {
- # libc_wrapper.c:54: warning: implicit declaration of function usleep
- append-flags -D_BSD_SOURCE
-
- # Qt support would mean Qt 3.
- econf --bindir=/usr/bin --disable-qt --docdir=/usr/share/doc/${PF} \
- $(use_enable gtk) $(use_enable nvcontrol)
-}
-
-src_compile() {
- emake -C src/ nvclock smartdimmer || die
- if use gtk; then
- emake -C src/gtk/ || die
- fi
-}
-
-src_install() {
- dodir /usr/bin
- emake DESTDIR="${D}" install || die
- #dodoc AUTHORS README
-
- newinitd "${FILESDIR}"/nvclock_initd nvclock
- newconfd "${FILESDIR}"/nvclock_confd nvclock
-
- #domenu nvclock.desktop
- #validate_desktop_entries /usr/share/applications/nvclock.desktop
-}
-
-pkg_postinst() {
- elog "To enable card overclocking at startup, edit your /etc/conf.d/nvclock"
- elog "accordingly and then run: rc-update add nvclock default"
-}
diff --git a/sys-power/nvclock/nvclock-0.8_p20110102-r2.ebuild b/sys-power/nvclock/nvclock-0.8_p20110102-r2.ebuild
index 9dc29dd2fdef..a0063d7e4f4d 100644
--- a/sys-power/nvclock/nvclock-0.8_p20110102-r2.ebuild
+++ b/sys-power/nvclock/nvclock-0.8_p20110102-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 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-r2.ebuild,v 1.1 2013/08/15 21:47:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-0.8_p20110102-r2.ebuild,v 1.2 2013/12/15 11:48:50 tomwij Exp $
EAPI="4"
@@ -52,6 +52,8 @@ src_compile() {
}
src_install() {
+ mkdir -p "${D}"/usr/bin || die
+
default
newinitd "${FILESDIR}"/nvclock_initd nvclock