/[gentoo-x86]/media-video/nvidia-settings/nvidia-settings-290.10.ebuild
Gentoo

Diff of /media-video/nvidia-settings/nvidia-settings-290.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.8
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/Attic/nvidia-settings-290.10.ebuild,v 1.6 2012/04/18 22:21:11 idl0r Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/Attic/nvidia-settings-290.10.ebuild,v 1.8 2012/04/25 04:27:06 idl0r Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit eutils multilib toolchain-funcs 7inherit eutils multilib toolchain-funcs
8 8
24 x11-libs/pango[X] 24 x11-libs/pango[X]
25 x11-libs/libXv 25 x11-libs/libXv
26 x11-libs/libXrandr 26 x11-libs/libXrandr
27 dev-libs/glib:2" 27 dev-libs/glib:2"
28 28
29RDEPEND="x11-drivers/nvidia-drivers 29RDEPEND="=x11-drivers/nvidia-drivers-2*
30 ${COMMON_DEPEND}" 30 ${COMMON_DEPEND}"
31DEPEND="${RDEPEND} 31DEPEND="${RDEPEND}
32 dev-util/pkgconfig 32 dev-util/pkgconfig
33 x11-proto/xproto" 33 x11-proto/xproto"
34 34
44 einfo "Building libXNVCtrl..." 44 einfo "Building libXNVCtrl..."
45 emake -C src/libXNVCtrl/ clean # NVidia ships pre-built archives :( 45 emake -C src/libXNVCtrl/ clean # NVidia ships pre-built archives :(
46 emake -C src/libXNVCtrl/ CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" libXNVCtrl.a 46 emake -C src/libXNVCtrl/ CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" libXNVCtrl.a
47 47
48 einfo "Building nvidia-settings..." 48 einfo "Building nvidia-settings..."
49 emake CC="$(tc-getCC)" LD="$(tc-getLD)" STRIP_CMD=/bin/true 49 emake CC="$(tc-getCC)" LD="$(tc-getLD)" STRIP_CMD="$(type -P true)" NV_VERBOSE=1
50} 50}
51 51
52src_install() { 52src_install() {
53 emake DESTDIR="${D}" PREFIX=/usr install 53 emake DESTDIR="${D}" PREFIX=/usr install
54 54
55 # Install libXNVCtrl and headers
56 insinto /usr/$(get_libdir) 55 insinto /usr/$(get_libdir)
57 doins src/libXNVCtrl/libXNVCtrl.a 56 doins src/libXNVCtrl/libXNVCtrl.a
58 57
59 insinto /usr/include/NVCtrl 58 insinto /usr/include/NVCtrl
60 doins src/libXNVCtrl/*.h 59 doins src/libXNVCtrl/*.h
61 60
62 # Install icon and .desktop entry
63# doicon doc/${PN}.png # Installed through nvidia-drivers 61# doicon doc/${PN}.png # Installed through nvidia-drivers
64 make_desktop_entry ${PN} "NVIDIA X Server Settings" ${PN} Application 62 make_desktop_entry ${PN} "NVIDIA X Server Settings" ${PN} Application
65 63
66 # bug 412569 - Installed through nvidia-drivers 64 # bug 412569 - Installed through nvidia-drivers
67 rm -rf "${D}"/usr/share/man 65 rm -rf "${D}"/usr/share/man
68 66
69 # Now install documentation
70 dodoc doc/*.txt 67 dodoc doc/*.txt
71 68
72 if use examples; then 69 if use examples; then
73 docinto examples/ 70 docinto examples/
74 dodoc samples/*.c 71 dodoc samples/*.c

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20