summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-04-29 07:03:48 +0000
committerJustin Lecher <jlec@gentoo.org>2010-04-29 07:03:48 +0000
commitc39efd0bc13ba85053acc0a9e5b0b4b0bdaf84aa (patch)
tree54d680974303aabc95b62f268d014290450761bf /media-video
parentVersion bump (diff)
downloadgentoo-2-c39efd0bc13ba85053acc0a9e5b0b4b0bdaf84aa.tar.gz
gentoo-2-c39efd0bc13ba85053acc0a9e5b0b4b0bdaf84aa.tar.bz2
gentoo-2-c39efd0bc13ba85053acc0a9e5b0b4b0bdaf84aa.zip
Version Bump, on permission of #315141, requested by wired on IRC
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/nvidia-settings/ChangeLog8
-rw-r--r--media-video/nvidia-settings/nvidia-settings-195.36.24.ebuild77
2 files changed, 84 insertions, 1 deletions
diff --git a/media-video/nvidia-settings/ChangeLog b/media-video/nvidia-settings/ChangeLog
index 0e0c7eca0f32..a30cc4c7adc3 100644
--- a/media-video/nvidia-settings/ChangeLog
+++ b/media-video/nvidia-settings/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/nvidia-settings
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.81 2010/03/25 20:57:03 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.82 2010/04/29 07:03:48 jlec Exp $
+
+*nvidia-settings-195.36.24 (29 Apr 2010)
+
+ 29 Apr 2010; Justin Lecher <jlec@gentoo.org>
+ +nvidia-settings-195.36.24.ebuild:
+ Version Bump, on permission of #315141, requested by wired on IRC
*nvidia-settings-195.36.15 (25 Mar 2010)
diff --git a/media-video/nvidia-settings/nvidia-settings-195.36.24.ebuild b/media-video/nvidia-settings/nvidia-settings-195.36.24.ebuild
new file mode 100644
index 000000000000..8b18fc260756
--- /dev/null
+++ b/media-video/nvidia-settings/nvidia-settings-195.36.24.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-195.36.24.ebuild,v 1.1 2010/04/29 07:03:48 jlec Exp $
+
+inherit eutils toolchain-funcs multilib flag-o-matic
+
+MY_P="${PN}-1.0"
+
+DESCRIPTION="NVIDIA Linux X11 Settings Utility"
+HOMEPAGE="http://www.nvidia.com/"
+SRC_URI="ftp://download.nvidia.com/XFree86/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+# xorg-server is used in the depends as nvidia-settings builds against some
+# headers in /usr/include/xorg/.
+# This also allows us to optimize out a lot of the other dependancies, as
+# between gtk and xorg-server, almost all libraries and headers are accounted
+# for.
+DEPEND=">=x11-libs/gtk+-2
+ dev-util/pkgconfig
+ x11-base/xorg-server
+ x11-libs/libXt
+ x11-libs/libXv
+ x11-proto/xf86driproto
+ x11-proto/xf86vidmodeproto"
+
+RDEPEND=">=x11-libs/gtk+-2
+ x11-base/xorg-server
+ x11-libs/libXt
+ x11-drivers/nvidia-drivers"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-190.53-xf86vidmodeproto.patch"
+}
+
+src_compile() {
+ einfo "Building libXNVCtrl..."
+ cd "${S}/src/libXNVCtrl"
+ make clean || die "Cleaning old libXNVCtrl failed"
+ append-flags -fPIC
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" libXNVCtrl.a || die "Building libXNVCtrl failed!"
+ filter-flags -fPIC
+
+ cd "${S}"
+ einfo "Building nVidia-Settings..."
+ emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings"
+}
+
+src_install() {
+ # Install the executable
+ exeinto /usr/bin
+ doexe nvidia-settings
+
+ # Install libXNVCtrl and headers
+ insinto "/usr/$(get_libdir)"
+ doins src/libXNVCtrl/libXNVCtrl.a
+ insinto /usr/include/NVCtrl
+ doins src/libXNVCtrl/{NVCtrl,NVCtrlLib}.h
+
+ # Install icon and .desktop entry
+ doicon "${FILESDIR}/icon/${PN}.png"
+ domenu "${FILESDIR}/icon/${PN}.desktop"
+
+ # Install manpage
+ doman doc/nvidia-settings.1
+
+ # Now install documentation
+ dodoc doc/*.txt
+}