summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-04 13:54:48 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-04 13:54:48 +0000
commite1e8ed0da49aa2c3143dec7987c159e8db796d56 (patch)
treea6c78253a9214dd1f402c7abc7980fb9dbe7e2ab /media-video
parentVersion bump (diff)
downloadgentoo-2-e1e8ed0da49aa2c3143dec7987c159e8db796d56.tar.gz
gentoo-2-e1e8ed0da49aa2c3143dec7987c159e8db796d56.tar.bz2
gentoo-2-e1e8ed0da49aa2c3143dec7987c159e8db796d56.zip
Version Bump
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/nvidia-settings/ChangeLog8
-rw-r--r--media-video/nvidia-settings/metadata.xml6
-rw-r--r--media-video/nvidia-settings/nvidia-settings-290.10.ebuild72
3 files changed, 82 insertions, 4 deletions
diff --git a/media-video/nvidia-settings/ChangeLog b/media-video/nvidia-settings/ChangeLog
index 928f478dd632..f81017596a29 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.102 2011/05/11 23:49:56 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.103 2011/12/04 13:54:48 jlec Exp $
+
+*nvidia-settings-290.10 (04 Dec 2011)
+
+ 04 Dec 2011; Justin Lecher <jlec@gentoo.org> +nvidia-settings-290.10.ebuild,
+ metadata.xml:
+ Version Bump
*nvidia-settings-270.41.06 (11 May 2011)
*nvidia-settings-173.14.30 (11 May 2011)
diff --git a/media-video/nvidia-settings/metadata.xml b/media-video/nvidia-settings/metadata.xml
index 1470e032181b..91f4e72fb544 100644
--- a/media-video/nvidia-settings/metadata.xml
+++ b/media-video/nvidia-settings/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- </maintainer>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/media-video/nvidia-settings/nvidia-settings-290.10.ebuild b/media-video/nvidia-settings/nvidia-settings-290.10.ebuild
new file mode 100644
index 000000000000..765ce604a562
--- /dev/null
+++ b/media-video/nvidia-settings/nvidia-settings-290.10.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-290.10.ebuild,v 1.1 2011/12/04 13:54:48 jlec Exp $
+
+EAPI=4
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="NVIDIA Linux X11 Settings Utility"
+HOMEPAGE="http://www.nvidia.com/"
+SRC_URI="ftp://download.nvidia.com/XFree86/${PN}/${P}.tar.bz2"
+
+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="
+ dev-util/pkgconfig
+ x11-base/xorg-server
+ x11-libs/gtk+:2
+ x11-libs/libXt
+ x11-libs/libXv
+ x11-libs/pango[X]
+ x11-proto/xf86driproto
+ x11-proto/xf86vidmodeproto"
+
+RDEPEND="
+ x11-base/xorg-server
+ x11-libs/gtk+:2
+ x11-libs/libXt
+ x11-libs/pango[X]
+ x11-drivers/nvidia-drivers"
+
+src_prepare() {
+ sed -i -e "s#prefix = .*#prefix = ${D}/usr#" utils.mk || die
+}
+
+src_compile() {
+ einfo "Building libXNVCtrl..."
+ cd "${S}/src/libXNVCtrl"
+ emake clean
+ append-flags -fPIC
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" libXNVCtrl.a
+ filter-flags -fPIC
+
+ # cd "${S}"
+ #einfo "Building nVidia-Settings..."
+ #emake CC="$(tc-getCC)" STRIP_CMD=/bin/true || die "Failed to build nvidia-settings"
+}
+
+src_install() {
+ #emake STRIP_CMD=/bin/true install || die
+
+ # 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"
+
+ # Now install documentation
+ dodoc doc/*.txt
+}