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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Sep 16 11:47:32 2012 UTC (2 years, 3 months ago) by angelos
Branch: MAIN
Version bump, remove old

(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.77.ebuild,v 1.1 2012/09/03 20:05:00 angelos Exp $
4
5 EAPI=4
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="mirror://github/guillaumezin/${PN}/${P}-source-only.dkms.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 BUILD_TARGETS="modules"
22 MODULE_NAMES="nvidiabl()"
23
24 S=${WORKDIR}/dkms_source_tree
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 linux-mod_src_compile
37 }

  ViewVC Help
Powered by ViewVC 1.1.20