mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 20:02:57 +02:00
bumblebee: add systemd build option (off)
This commit is contained in:
parent
f676454ecd
commit
69e541b305
1 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bumblebee'
|
# Template file for 'bumblebee'
|
||||||
pkgname=bumblebee
|
pkgname=bumblebee
|
||||||
version=3.2.1
|
version=3.2.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
CONF_DRIVER_MODULE_NVIDIA=nvidia
|
CONF_DRIVER_MODULE_NVIDIA=nvidia
|
||||||
|
@ -13,7 +13,6 @@ configure_args="
|
||||||
hostmakedepends="pkg-config help2man"
|
hostmakedepends="pkg-config help2man"
|
||||||
makedepends="VirtualGL-devel glib-devel MesaLib-devel"
|
makedepends="VirtualGL-devel glib-devel MesaLib-devel"
|
||||||
depends="VirtualGL"
|
depends="VirtualGL"
|
||||||
systemd_services="bumblebeed.service true"
|
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/bumblebee/bumblebee.conf
|
/etc/bumblebee/bumblebee.conf
|
||||||
/etc/bumblebee/xorg.conf.nouveau
|
/etc/bumblebee/xorg.conf.nouveau
|
||||||
|
@ -28,10 +27,16 @@ checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
|
build_options="systemd"
|
||||||
|
if [ "$build_option_systemd" ]; then
|
||||||
|
systemd_services="bumblebeed.service true"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install systemd unit
|
# Install systemd service
|
||||||
vinstall scripts/systemd/bumblebeed.service 644 \
|
if [ "$build_option_systemd" ]; then
|
||||||
usr/lib/systemd/system
|
vinstall scripts/systemd/bumblebeed.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
|
|
||||||
# Make bash_completion work
|
# Make bash_completion work
|
||||||
vmkdir usr/share/bash-completion/completions
|
vmkdir usr/share/bash-completion/completions
|
||||||
|
|
Loading…
Add table
Reference in a new issue