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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Dec 27 19:29:18 2014 UTC (5 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for amd64, wrt bug #495338

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 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.83.ebuild,v 1.4 2014/03/12 05:23:52 phajdan.jr 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