summaryrefslogtreecommitdiff
path: root/packages/x11-dri
diff options
context:
space:
mode:
authorAvatar Tod Jackson <tod.jackson@gmail.com> 2013-08-25 19:19:39 -0700
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2013-09-07 14:13:50 +0200
commitdf9917397694a5cd98f6bb23b2d96fac4b02f4d7 (patch)
tree689bfd1c07101e150e55684cb330f81a2ce9343f /packages/x11-dri
parentc32c1c6efac9a0af1818dd0b063d51c85d6d6cfc (diff)
downloadhardware-df9917397694a5cd98f6bb23b2d96fac4b02f4d7.tar.gz
hardware-df9917397694a5cd98f6bb23b2d96fac4b02f4d7.tar.xz
x11-dri/bumblebee: tweak systemd unit, add suggestions
Diffstat (limited to 'packages/x11-dri')
-rw-r--r--packages/x11-dri/bumblebee/bumblebee-3.2.1-r2.exheres-0 (renamed from packages/x11-dri/bumblebee/bumblebee-3.2.1.exheres-0)10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/x11-dri/bumblebee/bumblebee-3.2.1.exheres-0 b/packages/x11-dri/bumblebee/bumblebee-3.2.1-r2.exheres-0
index 076c23d..db58323 100644
--- a/packages/x11-dri/bumblebee/bumblebee-3.2.1.exheres-0
+++ b/packages/x11-dri/bumblebee/bumblebee-3.2.1-r2.exheres-0
@@ -23,10 +23,20 @@ DEPENDENCIES="
x11-libs/libX11
run:
x11-dri/primus
+ suggestion:
+ x11-dri/bbswitch [[ description = [ power management for nVidia cards ] ]]
+ x11-libs/virtualgl [[ description = [ an alternative rendering bridge to primus ] ]]
"
BUGS_TO="mixi@exherbo.org"
+src_prepare() {
+ # Upstream: http://github.com/Bumblebee-Project/Bumblebee/commit/82442975db743e79f2676fae20a0d7d6ef710307
+ edo sed '/CPUSchedulingPolicy=idle/d' -i scripts/systemd/bumblebeed.service.in
+ # If users don't run a display manager the service won't start
+ edo sed 's/graphical/multi-user/' -i scripts/systemd/bumblebeed.service.in
+}
+
src_configure() {
CONF_BRIDGE=primus \
CONF_DRIVER=nvidia \