[arch-commits] Commit in bumblebee/repos/community-i686 (4 files)

Felix Yan fyan at archlinux.org
Sat Dec 13 14:41:00 UTC 2014


    Date: Saturday, December 13, 2014 @ 15:41:00
  Author: fyan
Revision: 123839

archrelease: copy trunk to community-i686

Added:
  bumblebee/repos/community-i686/PKGBUILD
    (from rev 123838, bumblebee/trunk/PKGBUILD)
  bumblebee/repos/community-i686/bumblebee.install
    (from rev 123838, bumblebee/trunk/bumblebee.install)
Deleted:
  bumblebee/repos/community-i686/PKGBUILD
  bumblebee/repos/community-i686/bumblebee.install

-------------------+
 PKGBUILD          |  131 ++++++++++++++++++++++++++--------------------------
 bumblebee.install |   32 ++++++------
 2 files changed, 82 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-13 14:40:40 UTC (rev 123838)
+++ PKGBUILD	2014-12-13 14:41:00 UTC (rev 123839)
@@ -1,65 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=bumblebee
-pkgver=3.2.1
-pkgrel=7
-pkgdesc="NVIDIA Optimus support for Linux through VirtualGL"
-arch=('i686' 'x86_64')
-depends=('virtualgl' 'glib2' 'mesa-libgl')
-makedepends=('help2man')
-optdepends=('bbswitch: switch on/off discrete card' 
-            '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')
-if [ "$CARCH" = "x86_64" ]; then
-     optdepends[${#optdepends[@]}]='lib32-virtualgl: run 32bit applications with optirun'
-     optdepends[${#optdepends[@]}]='lib32-primus: faster back-end for optirun'
-fi
-conflicts=('nvidia-libgl' 'nvidia-340xx-libgl')
-provides=('nvidia-libgl' 'nvidia-340xx-libgl')
-url="http://www.bumblebee-project.org"
-license=("GPL3")
-install='bumblebee.install'
-backup=('etc/bumblebee/bumblebee.conf' 
-        'etc/bumblebee/xorg.conf.nouveau' 
-        'etc/bumblebee/xorg.conf.nvidia')
-source=("http://www.bumblebee-project.org/${pkgname}-${pkgver}.tar.gz"
-        "bumblebee-hexadecimal.patch::https://github.com/Bumblebee-Project/Bumblebee/commit/2073f8537412aa47755eb6f3f22a114403e5285b.patch")
-md5sums=('30974e677bb13e8a3825fd6f3e7d3b24'
-         'd0a7d504a717e34b05fb4bc9ee68f881')
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    patch -Np1 < ${srcdir}/bumblebee-hexadecimal.patch
-
-    ./configure \
-        CONF_DRIVER_MODULE_NVIDIA=nvidia \
-        CONF_LDPATH_NVIDIA=/usr/lib/nvidia:/usr/lib32/nvidia \
-        CONF_MODPATH_NVIDIA=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules \
-        --prefix=/usr \
-        --sbindir=/usr/bin \
-        --with-udev-rules=/usr/lib/udev/rules.d/ \
-        --sysconfdir=/etc \
-        --without-pidfile
-
-    make
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    make install DESTDIR="$pkgdir"
-
-    # Stop nvidia from loading on boot
-    mkdir -p "${pkgdir}/usr/lib/modprobe.d/"
-    echo "blacklist nvidia" > "${pkgdir}/usr/lib/modprobe.d/bumblebee.conf"
-
-    # Install systemd unit
-    install -D -m644 "scripts/systemd/bumblebeed.service" "${pkgdir}/usr/lib/systemd/system/bumblebeed.service"    
-    sed -i "s/sbin/bin/" "${pkgdir}/usr/lib/systemd/system/bumblebeed.service"
-
-    # Make bash_completion work
-    mv -v "${pkgdir}/etc/bash_completion.d/bumblebee" "${pkgdir}/etc/bash_completion.d/optirun"
-}

Copied: bumblebee/repos/community-i686/PKGBUILD (from rev 123838, bumblebee/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-12-13 14:41:00 UTC (rev 123839)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=bumblebee
+pkgver=3.2.1
+pkgrel=8
+pkgdesc="NVIDIA Optimus support for Linux through VirtualGL"
+arch=('i686' 'x86_64')
+depends=('virtualgl' 'glib2' 'mesa-libgl')
+makedepends=('help2man')
+optdepends=('bbswitch: switch on/off discrete card' 
+            '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')
+if [ "$CARCH" = "x86_64" ]; then
+     optdepends[${#optdepends[@]}]='lib32-virtualgl: run 32bit applications with optirun'
+     optdepends[${#optdepends[@]}]='lib32-primus: faster back-end for optirun'
+fi
+conflicts=('nvidia-libgl' 'nvidia-340xx-libgl' 'nvidia-304xx-libgl')
+provides=('nvidia-libgl' 'nvidia-340xx-libgl' 'nvidia-304xx-libgl')
+url="http://www.bumblebee-project.org"
+license=("GPL3")
+install='bumblebee.install'
+backup=('etc/bumblebee/bumblebee.conf' 
+        'etc/bumblebee/xorg.conf.nouveau' 
+        'etc/bumblebee/xorg.conf.nvidia')
+source=("http://www.bumblebee-project.org/${pkgname}-${pkgver}.tar.gz"
+        "bumblebee-hexadecimal.patch::https://github.com/Bumblebee-Project/Bumblebee/commit/2073f8537412aa47755eb6f3f22a114403e5285b.patch")
+md5sums=('30974e677bb13e8a3825fd6f3e7d3b24'
+         'd0a7d504a717e34b05fb4bc9ee68f881')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    patch -Np1 < ${srcdir}/bumblebee-hexadecimal.patch
+
+    ./configure \
+        CONF_DRIVER_MODULE_NVIDIA=nvidia \
+        CONF_LDPATH_NVIDIA=/usr/lib/nvidia:/usr/lib32/nvidia \
+        CONF_MODPATH_NVIDIA=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules \
+        --prefix=/usr \
+        --sbindir=/usr/bin \
+        --with-udev-rules=/usr/lib/udev/rules.d/ \
+        --sysconfdir=/etc \
+        --without-pidfile
+
+    make
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    make install DESTDIR="$pkgdir"
+
+    # Stop nvidia from loading on boot
+    mkdir -p "${pkgdir}/usr/lib/modprobe.d/"
+    echo "blacklist nvidia" > "${pkgdir}/usr/lib/modprobe.d/bumblebee.conf"
+
+    # Install systemd unit
+    install -D -m644 "scripts/systemd/bumblebeed.service" "${pkgdir}/usr/lib/systemd/system/bumblebeed.service"    
+    sed -i "s/sbin/bin/" "${pkgdir}/usr/lib/systemd/system/bumblebeed.service"
+
+    # Make bash_completion work
+    mv -v "${pkgdir}/etc/bash_completion.d/bumblebee" "${pkgdir}/etc/bash_completion.d/optirun"
+}

Deleted: bumblebee.install
===================================================================
--- bumblebee.install	2014-12-13 14:40:40 UTC (rev 123838)
+++ bumblebee.install	2014-12-13 14:41:00 UTC (rev 123839)
@@ -1,16 +0,0 @@
-_notice() {
-    echo "Don't forget to add yourself to the 'bumblebee' group to use Bumblebee"
-}
-
-post_upgrade() {
-    getent group "bumblebee" &>/dev/null || groupadd -r bumblebee
-}
-
-post_remove() {
-    getent group "bumblebee" &>/dev/null && groupdel bumblebee 1>/dev/null
-}
-
-post_install() {
-    post_upgrade
-    _notice
-}

Copied: bumblebee/repos/community-i686/bumblebee.install (from rev 123838, bumblebee/trunk/bumblebee.install)
===================================================================
--- bumblebee.install	                        (rev 0)
+++ bumblebee.install	2014-12-13 14:41:00 UTC (rev 123839)
@@ -0,0 +1,16 @@
+_notice() {
+    echo "Don't forget to add yourself to the 'bumblebee' group to use Bumblebee"
+}
+
+post_upgrade() {
+    getent group "bumblebee" &>/dev/null || groupadd -r bumblebee
+}
+
+post_remove() {
+    getent group "bumblebee" &>/dev/null && groupdel bumblebee 1>/dev/null
+}
+
+post_install() {
+    post_upgrade
+    _notice
+}



More information about the arch-commits mailing list