/[gentoo-x86]/app-laptop/nvidiabl/nvidiabl-0.81.ebuild
Gentoo

Contents of /app-laptop/nvidiabl/nvidiabl-0.81.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Dec 31 16:15:29 2014 UTC (5 years, 7 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/nvidiabl/nvidiabl-0.81.ebuild,v 1.3 2013/04/30 13:24:03 vincent Exp $
4
5 EAPI=5
6 inherit linux-mod
7
8 DESCRIPTION="Linux driver for setting the backlight brightness on laptops using
9 NVIDIA GPU"
10 HOMEPAGE="https://github.com/guillaumezin/nvidiabl"
11 SRC_URI="https://github.com/guillaumezin/${PN}/archive/v${PV}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 RESTRICT="test"
22
23 BUILD_TARGETS="modules"
24 MODULE_NAMES="nvidiabl()"
25
26 pkg_pretend() {
27 CONFIG_CHECK="FB_BACKLIGHT"
28 ERROR_FB_BACKLIGHT="Your kernel does not support FB_BACKLIGHT. To enable you
29 it you can enable any frame buffer with backlight control or nouveau.
30 Note that you cannot use FB_NVIDIA with nvidia's proprietary driver"
31 linux-mod_pkg_setup
32 }
33
34 src_compile() {
35 BUILD_PARAMS="KVER=${KV_FULL}"
36 MAKEOPTS+=" V=1"
37 linux-mod_src_compile
38 }

  ViewVC Help
Powered by ViewVC 1.1.20