summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2008-03-31 10:22:52 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2008-03-31 10:22:52 +0000
commit3eb24b8417a955a43eae409956335a5154bf851e (patch)
tree6304d9058b0a63cf4376cb4c3b8001e74389069f
parentAdd 0.4.0. (diff)
downloadhistorical-3eb24b8417a955a43eae409956335a5154bf851e.tar.gz
historical-3eb24b8417a955a43eae409956335a5154bf851e.tar.bz2
historical-3eb24b8417a955a43eae409956335a5154bf851e.zip
Add 171.05.
Package-Manager: portage-2.1.4.4
-rw-r--r--media-video/nvidia-settings/ChangeLog8
-rw-r--r--media-video/nvidia-settings/Manifest12
-rw-r--r--media-video/nvidia-settings/nvidia-settings-171.05.ebuild94
3 files changed, 108 insertions, 6 deletions
diff --git a/media-video/nvidia-settings/ChangeLog b/media-video/nvidia-settings/ChangeLog
index ebd1a921f46c..13b92ea6782f 100644
--- a/media-video/nvidia-settings/ChangeLog
+++ b/media-video/nvidia-settings/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/nvidia-settings
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.44 2008/03/06 22:42:48 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.45 2008/03/31 10:22:52 peper Exp $
+
+*nvidia-settings-171.05 (31 Mar 2008)
+
+ 31 Mar 2008; Piotr Jaroszyński <peper@gentoo.org>
+ +nvidia-settings-171.05.ebuild:
+ Add 171.05.
06 Mar 2008; Olivier Crête <tester@gentoo.org> nvidia-settings-169.07.ebuild:
Stable on amd64, bug #212536
diff --git a/media-video/nvidia-settings/Manifest b/media-video/nvidia-settings/Manifest
index 0254c520633e..75c088a0d361 100644
--- a/media-video/nvidia-settings/Manifest
+++ b/media-video/nvidia-settings/Manifest
@@ -7,15 +7,17 @@ AUX nvidia-settings-169.04-no-display.patch 3365 RMD160 798fb467038f56ae0d7efa4c
DIST nvidia-settings-1.0.20070621.tar.gz 1254616 RMD160 4cb1258ac6c3ae9f74eecb4fde79029a7c15f731 SHA1 5aa0349982208153d016ee4565d79f3e7b2277ce SHA256 45ea3322866beab75927d30d5f8b299410b63cd6ebe3b797bd06bd7bf4ba702f
DIST nvidia-settings-169.04.tar.gz 1288405 RMD160 678a82a290b7f5ca5385e74405f36e926e308a0f SHA1 ac9af0b793d7c413ae8133f98ee3ca1820a1f7e0 SHA256 83c6b760b8322dba96252633d80441d70a8c65e5e172b9db6a73edbdd1eb45fc
DIST nvidia-settings-169.07.tar.gz 1276639 RMD160 e0c34d2df3a2a404ebd71e5720a16c8a904782f9 SHA1 b07474746e65a2117805ab1608f28acf90b80392 SHA256 6cd0886ec12f6a5f77d5326494f2f08b48d476d0fd6104b7eee4fe66131781c4
+DIST nvidia-settings-171.05.tar.gz 1278448 RMD160 b3f4222fa139821ce70a81fb49138507dbe1eddc SHA1 a1ae403f6f85f60beffca997560e1be44804eccc SHA256 ab85a381dfa6e3d2501113f051d843191458cb6c34102adc37a473afe23c0994
EBUILD nvidia-settings-1.0.20070621.ebuild 2608 RMD160 12b7c9600aa1228ae83f6adaa20bcbb03896813e SHA1 320dc1884c7ae9790ff18cc2812c6a7fc56aa405 SHA256 6993ad695632e2669c33a0f7c2916c64222880dda3ae49c8989798e8dbe6ad75
EBUILD nvidia-settings-169.04.ebuild 2733 RMD160 ae786a5b6677eadb2fd6b3f7f9ecdfad4c112700 SHA1 81ae931f744012c92b0bf31d98a916bde1ca41f5 SHA256 ccc174d184f7495f19334fb4669c4af0a3b34e3eed71879f29e5e156afc4e427
EBUILD nvidia-settings-169.07.ebuild 2593 RMD160 15468eb2ce1b0b4b73a375cf66056fb3b1d5b727 SHA1 3bf2f4fb791cfa3491bfb69289f10aad57f158b1 SHA256 54562905aa59918bc9102d9150dba3ba449c80a72c466c500503d16771f9a093
-MISC ChangeLog 8282 RMD160 421d2319f4f8d5f4e058c7247cef6eadacfba2ef SHA1 ca14bf351807c6268c5d5e28a51b934fe6fa16d9 SHA256 043d080fa7a5db3b02b90bf2341642b1f08b2fd3742f4f2ba2f27b6a552dda07
+EBUILD nvidia-settings-171.05.ebuild 2594 RMD160 a055fcfb8c06555e3a52b34bfcd8e20941294d35 SHA1 145f84640dc4bd6aac500ef670dc45a65ca679d7 SHA256 00d8cbdb74fae212d4f4c531dff3ea77baf49049cbd3ca7d1651e276062397ad
+MISC ChangeLog 8422 RMD160 c964d2c586fa86720a4ec64a06e2cb8eca10526c SHA1 52ad22fb47729fd42a01a9bdfa7c9f6d9707dd77 SHA256 8e17337ce5a17aff5fb003c3e81986c3d1902f459bd0aa6412bdb9f04166f13e
MISC metadata.xml 312 RMD160 3f48a9c5af3729238ee2b7b7d8079095593a074a SHA1 a554ca74853c83d3895b1bb65a3489ecc54bd2c7 SHA256 4c5ee3ae30dc1353639de923975c1adbba82362c167dd60b8a90a192085c1fb3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
+Version: GnuPG v2.0.8 (GNU/Linux)
-iD8DBQFH0HNomOfEJZHYOKcRAuY3AKCFLGapQbkrT9uJZ4FucUTtcBo9agCguwhm
-DZBkOWoU4+JRjN1LzVdvUBY=
-=JW1x
+iEYEARECAAYFAkfwu4IACgkQppoStNGKGyzcsgCfaByCZhNeGKImzrDelv6eFn7O
+X9AAmwVCU2RPyXwGT+RfH1jI53/Mg51N
+=0foE
-----END PGP SIGNATURE-----
diff --git a/media-video/nvidia-settings/nvidia-settings-171.05.ebuild b/media-video/nvidia-settings/nvidia-settings-171.05.ebuild
new file mode 100644
index 000000000000..e35a9f253462
--- /dev/null
+++ b/media-video/nvidia-settings/nvidia-settings-171.05.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-171.05.ebuild,v 1.1 2008/03/31 10:22:52 peper Exp $
+
+inherit eutils toolchain-funcs multilib
+
+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-misc/imake
+ x11-misc/gccmakedep"
+
+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}/src/libXNVCtrl"
+ einfo "Tweaking libXNVCtrl for build..."
+
+ # This next voodoo is just to work around xmkmf's broken behaviour
+ # after the Xorg move to /usr (or I think, as I have not messed
+ # with it in ages).
+ #ln -snf /usr/include/X11 include
+
+ # Ensure that libNVCtrl.a is actually built
+ # Regardless of how NormalLibXrandr was built
+ # (NormalLibXrandr indicates if Xrandr was built as static or not)
+ # NormalLibXrandr was 'YES' in Xorg-6.8, but is 'NO' in 7.0.
+ sed -i.orig \
+ -e 's,DoNormalLib NormalLibXrandr,DoNormalLib YES,g' \
+ Imakefile
+
+ # for a rainy day, when we need a shared libXNVCtrl.so
+ #-e 'a#define DoSharedLib YES\n' \
+}
+
+src_compile() {
+ einfo "Building libXNVCtrl..."
+ cd "${S}/src/libXNVCtrl"
+ xmkmf -a || die "Running xmkmf failed!"
+ make clean || die "Cleaning old libXNVCtrl failed"
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" all || die "Building libXNVCtrl failed!"
+
+ 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
+}