Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nvidia-drivers: metadata.xml fixed

  • Loading branch information...
commit 2b75701f529db52287cf5a32d49b43fad1493b1a 1 parent 413ded6
megabaks authored
1  media-video/nvidia-settings/Manifest
View
@@ -1,2 +1,3 @@
DIST nvidia-settings-295.33.tar.bz2 1545933 SHA256 37128d2a90b22600c2df582c78dcc9d7c3cd1e26b2db8ab81a50a3fc3acfcdba SHA512 b1d6f3b3b679bc91b39259b8b0d03d33696f05ba700e07fd70d7e2a90f4708557a106315d43eba8fa771bcfdf270842e36a9b9f139189e571e8f4c463f3e7217 WHIRLPOOL bc56aac3c409ea398e00b03284ca18ba80373608c11d22c6c8b2bda574d12137ea84905054c094d0327198e71344fc203ab4cff23a5427ca16780f2f75fd8428
DIST nvidia-settings-302.11.tar.bz2 1477555 SHA256 b8020021554ec58cb36877c29f6936b2efeb8499029dc4be309fe929297c17ba SHA512 5ad3cb65c88b2e1b9b662b944c96919f20b30dec6b9416197af62396cb09ac8d91c35d26c16b165610322d103324098e28e41ad848c34ee24f977debbc462cdd WHIRLPOOL 0169dde9f18f6a7de4ad73f698402edaa6912052941499a589e8c1992cd2dce60db376434098e0d81bf9a4c80a82e4a278e6a0cb2d234f43f10e88c84a35ce98
+DIST nvidia-settings-304.22.tar.bz2 1476172 SHA256 58566c8079101cbddaef0b5f16af7fde86dbb045e5641a3112d9868afc8809ec SHA512 2f58099dc34e7de6772f6541b57a4fad4b8a7c760960ac8a9521931b2399f5015433e3ff721a828be652371d5a815ded32e048e50265aa8bd45528145421fa11 WHIRLPOOL c8e6bc0a8a5b9538283a6ae47b62eb0b245ab54a3284a8220c426b23f63eeb42d8f1469ad73d1f84a27a9afafc0e35e1d5d7a56f98f80323bebc64fd1bbe445f
66 media-video/nvidia-settings/nvidia-settings-304.22.ebuild
View
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-302.11.ebuild,v 1.1 2012/06/17 20:21:28 idl0r Exp $
+
+EAPI=4
+
+inherit eutils 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 ~amd64-fbsd"
+IUSE="examples"
+
+COMMON_DEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXxf86vm
+ x11-libs/gtk+:2
+ x11-libs/gdk-pixbuf[X]
+ media-libs/mesa
+ x11-libs/pango[X]
+ x11-libs/libXv
+ x11-libs/libXrandr
+ dev-libs/glib:2"
+
+RDEPEND="=x11-drivers/nvidia-drivers-3*
+ ${COMMON_DEPEND}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+
+src_compile() {
+ einfo "Building libXNVCtrl..."
+ emake -C src/libXNVCtrl/ clean # NVidia ships pre-built archives :(
+ emake -C src/libXNVCtrl/ CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" libXNVCtrl.a
+
+ einfo "Building nvidia-settings..."
+ emake -C src/ CC="$(tc-getCC)" LD="$(tc-getLD)" STRIP_CMD="$(type -P true)" NV_VERBOSE=1
+}
+
+src_install() {
+ emake -C src/ DESTDIR="${D}" PREFIX=/usr install
+
+ insinto /usr/$(get_libdir)
+ doins src/libXNVCtrl/libXNVCtrl.a
+
+ insinto /usr/include/NVCtrl
+ doins src/libXNVCtrl/*.h
+
+# doicon doc/${PN}.png # Installed through nvidia-drivers
+ make_desktop_entry ${PN} "NVIDIA X Server Settings" ${PN} Settings
+
+ # bug 412569 - Installed through nvidia-drivers
+# rm -rf "${D}"/usr/share/man
+
+ dodoc doc/*.txt
+
+ if use examples; then
+ docinto examples/
+ dodoc samples/*.c
+ dodoc samples/README
+ fi
+}
1  x11-drivers/nvidia-drivers/metadata.xml
View
@@ -3,5 +3,6 @@
<pkgmetadata>
<use>
<flag name='rt'>Adds support for <pkg>sys-kernel/rt-sources</pkg>(real-time kernels)2.6</flag>
+ <flag name='tools'>Installs additional tools such as nvidia-settings</flag>
</use>
</pkgmetadata>
Please sign in to comment.
Something went wrong with that request. Please try again.