35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'bumblebee'
|
|
pkgname=bumblebee
|
|
version=3.2.1
|
|
revision=6
|
|
only_for_archs="i686 x86_64"
|
|
build_style=gnu-configure
|
|
configure_args="
|
|
CONF_DRIVER_MODULE_NVIDIA=nvidia
|
|
CONF_LDPATH_NVIDIA=/usr/lib
|
|
CONF_MODPATH_NVIDIA=/usr/lib/xorg/modules
|
|
--with-udev-rules=/usr/lib/udev/rules.d/
|
|
--without-pidfile"
|
|
hostmakedepends="pkg-config help2man"
|
|
makedepends="VirtualGL-devel glib-devel MesaLib-devel"
|
|
depends="VirtualGL"
|
|
conf_files="
|
|
/etc/bumblebee/bumblebee.conf
|
|
/etc/bumblebee/xorg.conf.nouveau
|
|
/etc/bumblebee/xorg.conf.nvidia"
|
|
system_groups="bumblebee"
|
|
short_desc="NVIDIA Optimus support for Linux through VirtualGL"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.bumblebee-project.org/"
|
|
license="GPL-3"
|
|
distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
|
|
checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
|
|
|
|
post_install() {
|
|
vsv bumblebeed
|
|
|
|
# Make bash_completion work
|
|
vmkdir usr/share/bash-completion/completions
|
|
mv -v ${DESTDIR}/etc/bash_completion.d/bumblebee \
|
|
${DESTDIR}/usr/share/bash-completion/completions/optirun
|
|
}
|