summaryrefslogtreecommitdiff
path: root/libre/bumblebee-libre/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-07 00:54:45 -0700
committerroot <root@rshg054.dnsready.net>2013-04-07 00:54:45 -0700
commit5abba8ccfedfb13f07a34eb4b6afbe4f30a8f767 (patch)
tree67c71a4fc1f20a59b619c908f6a53c2cde2b46c9 /libre/bumblebee-libre/PKGBUILD
parentafcab02cc1bc97b4090668931e372fd47cedf04d (diff)
Sun Apr 7 00:54:38 PDT 2013
Diffstat (limited to 'libre/bumblebee-libre/PKGBUILD')
-rw-r--r--libre/bumblebee-libre/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/libre/bumblebee-libre/PKGBUILD b/libre/bumblebee-libre/PKGBUILD
index 833069ff2..aff067a94 100644
--- a/libre/bumblebee-libre/PKGBUILD
+++ b/libre/bumblebee-libre/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=bumblebee
pkgname=bumblebee-libre
pkgver=3.1
-pkgrel=5
+pkgrel=5.1
pkgdesc="NVIDIA Optimus support for GNU/Linux through VirtualGL, without nonfree nvidia driver support"
arch=('i686' 'x86_64')
depends=('virtualgl' 'libbsd' 'glib2' 'mesa-libgl')
@@ -24,12 +24,21 @@ license=("GPL3")
install='bumblebee.install'
backup=('etc/bumblebee/bumblebee.conf'
'etc/bumblebee/xorg.conf.nouveau')
-source=("http://www.bumblebee-project.org/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('de515ef51b1e0714c2f1b2a95f83e77e')
+source=("http://www.bumblebee-project.org/${_pkgname}-${pkgver}.tar.gz"
+ 'libre.patch')
+md5sums=('de515ef51b1e0714c2f1b2a95f83e77e'
+ 'f8b6044310039911236f53a625c611a6')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
+ # Remove nonfree references to nonfree nvidia driver and unnecessaries files
+ rm -rv "README.markdown"
+ rm -rv "conf/"{99-remove-nvidia-dev.rules,xorg.conf.nvidia}
+ rm -rv "doc"
+ rm -rv "scripts/bumblebee-bugreport.in"
+ patch -Np1 -i "${srcdir}/libre.patch"
+
./configure \
CONF_DRIVER=nouveau \
--prefix=/usr \