Gentoo Archives: gentoo-commits

From: "Piotr Jaroszynski (peper)" <peper@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/nvidia-settings: ChangeLog nvidia-settings-180.60.ebuild
Date: Wed, 03 Jun 2009 11:40:25
Message-Id: E1MBopT-00085M-45@stork.gentoo.org
1 peper 09/06/03 11:40:23
2
3 Modified: ChangeLog
4 Added: nvidia-settings-180.60.ebuild
5 Log:
6 Add 180.60.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.65 media-video/nvidia-settings/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvidia-settings/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvidia-settings/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvidia-settings/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 6 May 2009 21:08:16 -0000 1.64
23 +++ ChangeLog 3 Jun 2009 11:40:23 -0000 1.65
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-video/nvidia-settings
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.64 2009/05/06 21:08:16 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.65 2009/06/03 11:40:23 peper Exp $
29 +
30 +*nvidia-settings-180.60 (03 Jun 2009)
31 +
32 + 03 Jun 2009; Piotr JaroszyƄski <peper@g.o>
33 + +nvidia-settings-180.60.ebuild:
34 + Add 180.60.
35
36 06 May 2009; Markus Meier <maekke@g.o>
37 nvidia-settings-180.29.ebuild:
38
39
40
41 1.1 media-video/nvidia-settings/nvidia-settings-180.60.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvidia-settings/nvidia-settings-180.60.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvidia-settings/nvidia-settings-180.60.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nvidia-settings-180.60.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-180.60.ebuild,v 1.1 2009/06/03 11:40:23 peper Exp $
51
52 inherit eutils toolchain-funcs multilib flag-o-matic
53
54 MY_P="${PN}-1.0"
55
56 DESCRIPTION="NVIDIA Linux X11 Settings Utility"
57 HOMEPAGE="http://www.nvidia.com/"
58 SRC_URI="ftp://download.nvidia.com/XFree86/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
63 IUSE=""
64
65 # xorg-server is used in the depends as nvidia-settings builds against some
66 # headers in /usr/include/xorg/.
67 # This also allows us to optimize out a lot of the other dependancies, as
68 # between gtk and xorg-server, almost all libraries and headers are accounted
69 # for.
70 DEPEND=">=x11-libs/gtk+-2
71 dev-util/pkgconfig
72 x11-base/xorg-server
73 x11-libs/libXt
74 x11-libs/libXv
75 x11-proto/xf86driproto
76 x11-proto/xf86vidmodeproto"
77
78 RDEPEND=">=x11-libs/gtk+-2
79 x11-base/xorg-server
80 x11-libs/libXt
81 x11-drivers/nvidia-drivers"
82
83 S="${WORKDIR}/${MY_P}"
84
85 src_compile() {
86 einfo "Building libXNVCtrl..."
87 cd "${S}/src/libXNVCtrl"
88 make clean || die "Cleaning old libXNVCtrl failed"
89 append-flags -fPIC
90 emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" libXNVCtrl.a || die "Building libXNVCtrl failed!"
91 filter-flags -fPIC
92
93 cd "${S}"
94 einfo "Building nVidia-Settings..."
95 emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings"
96 }
97
98 src_install() {
99 # Install the executable
100 exeinto /usr/bin
101 doexe nvidia-settings
102
103 # Install libXNVCtrl and headers
104 insinto "/usr/$(get_libdir)"
105 doins src/libXNVCtrl/libXNVCtrl.a
106 insinto /usr/include/NVCtrl
107 doins src/libXNVCtrl/{NVCtrl,NVCtrlLib}.h
108
109 # Install icon and .desktop entry
110 doicon "${FILESDIR}/icon/${PN}.png"
111 domenu "${FILESDIR}/icon/${PN}.desktop"
112
113 # Install manpage
114 doman doc/nvidia-settings.1
115
116 # Now install documentation
117 dodoc doc/*.txt
118 }