[arch-commits] Commit in bumblebee/trunk (3 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Dec 30 06:04:47 UTC 2017
Date: Saturday, December 30, 2017 @ 06:04:46
Author: svenstaro
Revision: 276924
upgpkg: bumblebee 3.2.1-16
Use sysusers
Added:
bumblebee/trunk/bumblebee.sysusers
Modified:
bumblebee/trunk/PKGBUILD
bumblebee/trunk/bumblebee.install
--------------------+
PKGBUILD | 18 +++++++++++-------
bumblebee.install | 7 +------
bumblebee.sysusers | 1 +
3 files changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-30 05:44:47 UTC (rev 276923)
+++ PKGBUILD 2017-12-30 06:04:46 UTC (rev 276924)
@@ -3,7 +3,7 @@
pkgname=bumblebee
pkgver=3.2.1
-pkgrel=15
+pkgrel=16
pkgdesc="NVIDIA Optimus support for Linux through VirtualGL"
arch=('x86_64')
depends=('virtualgl' 'glib2' 'mesa-libgl')
@@ -12,12 +12,12 @@
'nvidia: NVIDIA kernel driver'
'nvidia-340xx: NVIDIA kernel driver for older devices'
'nvidia-304xx: NVIDIA kernel driver for even older devices'
- 'primus: faster back-end for optirun')
-optdepends_x86_64=('lib32-virtualgl: run 32bit applications with optirun'
- 'lib32-primus: faster back-end for optirun')
+ 'primus: faster back-end for optirun'
+ 'lib32-virtualgl: run 32bit applications with optirun'
+ 'lib32-primus: faster back-end for optirun')
url="http://www.bumblebee-project.org"
license=("GPL3")
-install='bumblebee.install'
+install=bumblebee.install
backup=('etc/bumblebee/bumblebee.conf'
'etc/bumblebee/xorg.conf.nouveau'
'etc/bumblebee/xorg.conf.nvidia')
@@ -30,7 +30,8 @@
"0006-bb_hexadicimal_bug573.patch::https://github.com/Bumblebee-Project/Bumblebee/commit/2073f8537412aa47755eb6f3f22a114403e5285b.patch"
"0007-bb_mutebblogger.patch"
"0008-libglvnd.patch"
- "bumblebee.conf")
+ "bumblebee.conf"
+ "bumblebee.sysusers")
sha256sums=('1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e'
'aff3528d17a77ff19b4e0a7a10682b8351456f11795f71ef62b315e774fb408a'
'70ad9b3d8e0d70a504110651c6f5f3a1b1d3c4c44eeb0fd49a4463e99124a47b'
@@ -40,7 +41,8 @@
'0b7c1f4bb2e27d131c6c21fd7006d075584917ac4259bd9899e6eca99efc0ece'
'cbe3e1717bc80146b87d8f2ab1158ee9e094ea5bb2ca9a4a8c09c24b086a7792'
'b260d64a53617807afe21560db0592d114d7775b182e13fb59349f0157c8dba4'
- '1c3d4f5d40245a23a5f1cb1f2f6bd4274ff3c5b3749f76a09255191328ae3193')
+ '1c3d4f5d40245a23a5f1cb1f2f6bd4274ff3c5b3749f76a09255191328ae3193'
+ '1bc209c21b4f6d1975ede4091829baf98d20b33100b9d21061393880bb391fd8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -77,4 +79,6 @@
# Make bash_completion work
mv -v "$pkgdir"/usr/share/bash-completion/completions/{bumblebee,optirun}
+
+ install -Dm644 "$srcdir"/bumblebee.sysusers "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
}
Modified: bumblebee.install
===================================================================
--- bumblebee.install 2017-12-30 05:44:47 UTC (rev 276923)
+++ bumblebee.install 2017-12-30 06:04:46 UTC (rev 276924)
@@ -1,8 +1,3 @@
-post_upgrade() {
- getent group "bumblebee" &>/dev/null || groupadd -g 56 bumblebee
+post_install() {
echo "Don't forget to add yourself to the 'bumblebee' group to use Bumblebee"
}
-
-post_install() {
- post_upgrade
-}
Added: bumblebee.sysusers
===================================================================
--- bumblebee.sysusers (rev 0)
+++ bumblebee.sysusers 2017-12-30 06:04:46 UTC (rev 276924)
@@ -0,0 +1 @@
+g bumblebee 56 -
More information about the arch-commits
mailing list