diff options
author | Emilio Coppa (ercoppa) <ercoppa@gmail.com> | 2009-12-10 20:23:58 +0000 |
---|---|---|
committer | Emilio Coppa (ercoppa) <ercoppa@gmail.com> | 2009-12-10 20:23:58 +0000 |
commit | aa5a0522b7446d8896c688ba94a823a1985c5353 (patch) | |
tree | 8d7f8a51d01d051aa55b15511affd990f38f1658 /app-laptop/nvidia-bl | |
parent | Automatic update to use.local.desc (diff) | |
download | sunrise-aa5a0522b7446d8896c688ba94a823a1985c5353.tar.gz sunrise-aa5a0522b7446d8896c688ba94a823a1985c5353.tar.bz2 sunrise-aa5a0522b7446d8896c688ba94a823a1985c5353.zip |
app-laptop/nvidia-bl: New Ebuild for bug 296127
svn path=/sunrise/; revision=9697
Diffstat (limited to 'app-laptop/nvidia-bl')
-rw-r--r-- | app-laptop/nvidia-bl/ChangeLog | 8 | ||||
-rw-r--r-- | app-laptop/nvidia-bl/Manifest | 5 | ||||
-rw-r--r-- | app-laptop/nvidia-bl/files/nvidia-bl-makefile.patch | 39 | ||||
-rw-r--r-- | app-laptop/nvidia-bl/metadata.xml | 5 | ||||
-rw-r--r-- | app-laptop/nvidia-bl/nvidia-bl-0.14-r2.ebuild | 30 |
5 files changed, 87 insertions, 0 deletions
diff --git a/app-laptop/nvidia-bl/ChangeLog b/app-laptop/nvidia-bl/ChangeLog new file mode 100644 index 000000000..55a23b7dc --- /dev/null +++ b/app-laptop/nvidia-bl/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-laptop/nvidia-bl +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 10 Dec 2009; Emilio Coppa (ercoppa) <ercoppa@gmail.com> + +nvidia-bl-0.14-r2.ebuild, +files/nvidia-bl-makefile.patch, +metadata.xml: + New Ebuild for bug 296127 + diff --git a/app-laptop/nvidia-bl/Manifest b/app-laptop/nvidia-bl/Manifest new file mode 100644 index 000000000..2238be996 --- /dev/null +++ b/app-laptop/nvidia-bl/Manifest @@ -0,0 +1,5 @@ +AUX nvidia-bl-makefile.patch 1125 RMD160 f6820a67c84d3e1e1420e4034733411449b5f20f SHA1 c410223eb15d156a7689c967b3ad0c81c3a2061a SHA256 f1f980cf538cbf501a4e0c02ed6305a1a27953aa75f8a8e7ad0b0c7b848de185 +DIST nvidia-bl-dkms_0.14~karmic.tar.gz 7718 RMD160 ce7a528381fc1b888e53dfa9520870504a283f37 SHA1 d7b67a3571fcb410fbfe0830e5eb30a57af45d54 SHA256 b61d54b22eb3ef718d267f3e77f3a1f1171610b8f9ce3b2b4c3ddd2696087395 +EBUILD nvidia-bl-0.14-r2.ebuild 800 RMD160 90b24a366754db83137c761e43d2b30914178dbf SHA1 c378517a5efcefd984037ad66a1f90797f85e06f SHA256 354b56ee9a2613f4020fae890d414c0a6af5390b6f2bbb6c5236b690381792b4 +MISC ChangeLog 285 RMD160 fa3bf9b1b41c907047826c52cfe19a7e8f45400b SHA1 f02e9b3277f136253e25f99345a91b9d1fbabef9 SHA256 37e5dfaa3c2bcf904d46d170341ee97ed212252fab442855c94630aec13ebedd +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-laptop/nvidia-bl/files/nvidia-bl-makefile.patch b/app-laptop/nvidia-bl/files/nvidia-bl-makefile.patch new file mode 100644 index 000000000..d5a09d316 --- /dev/null +++ b/app-laptop/nvidia-bl/files/nvidia-bl-makefile.patch @@ -0,0 +1,39 @@ +diff -rup nvidia-bl-dkms-0.14.0.orig/Makefile nvidia-bl-dkms-0.14.0/Makefile +--- nvidia-bl-dkms-0.14.0.orig/Makefile 2009-05-26 11:06:07.000000000 +0200 ++++ nvidia-bl-dkms-0.14.0/Makefile 2009-12-07 21:14:49.000000000 +0100 +@@ -1,31 +1,6 @@ +-NAME = nvidia_bl +-VERSION = 0.14.0 +-SRC = usr/src ++MODULE_NAME=nvidia_bl ++obj-m := $(MODULE_NAME).o + +-TARBALL = $(NAME)-$(VERSION).dkms.tar.gz +-PATCH = ./scripts/patch-name-version.sh $(NAME) $(VERSION) +- +-all: $(SRC)/$(TARBALL) +- +-$(SRC)/$(TARBALL): $(SRC)/dkms_source_tree/$(NAME).c +- (cd $(SRC); tar cvfz $(TARBALL) dkms*) +- +-clean: +- rm -f $(SRC)/$(TARBALL) +- +-distclean: clean +- rm -rf *-stamp debian/$(NAME)-dkms debian/*.log debian/files +- +-install: $(SRC)/$(TARBALL) +- install -d "$(DESTDIR)/$(SRC)" +- (cd $(SRC); install -m 644 $(NAME)-$(VERSION).dkms.tar.gz "$(DESTDIR)/$(SRC)") +- +-bump: +- $(PATCH) debian/postinst +- $(PATCH) debian/postrm +- $(PATCH) debian/prerm +- $(PATCH) debian/rules +- $(PATCH) debian/postinst +- $(PATCH) usr/src/dkms_source_tree/dkms.conf +- chmod 0755 debian/rules ++all: ++ make -C /lib/modules/`uname -r`/build M=`pwd`/usr/src/dkms_source_tree/ + diff --git a/app-laptop/nvidia-bl/metadata.xml b/app-laptop/nvidia-bl/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/app-laptop/nvidia-bl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/app-laptop/nvidia-bl/nvidia-bl-0.14-r2.ebuild b/app-laptop/nvidia-bl/nvidia-bl-0.14-r2.ebuild new file mode 100644 index 000000000..001fed791 --- /dev/null +++ b/app-laptop/nvidia-bl/nvidia-bl-0.14-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-mod linux-info + +DESCRIPTION="Nvidia-based graphics adapter backlight driver" +HOMEPAGE="https://launchpad.net/~mactel-support" +SRC_URI="https://launchpad.net/~mactel-support/+archive/ppa/+files/${PN}-dkms_${PV}~karmic.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +S="${WORKDIR}/${PN}-dkms-${PV}.0" + +MODULE_NAMES="nvidia_bl(kernel/drivers::${S}/usr/src/dkms_source_tree/)" + +pkg_setup() { + kernel_is -lt 2 6 29 && die "kernel 2.6.29 or higher is required" + linux-mod_pkg_setup + BUILD_PARAMS="-C ${KV_DIR} M=${S}/usr/src/dkms_source_tree" + BUILD_TARGETS="nvidia_bl.ko" +} + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/nvidia-bl-makefile.patch" +} |