summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-12 22:43:28 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-12 22:43:28 -0300
commiteb9a9b697eb07e5b7afa4349c5055113823eb439 (patch)
tree5c215925a9c420409c71238a98b8ba11c373fca5
parent9c2b79f31e212ff4c4a7f3b58673168288562835 (diff)
parentf944490c481c2665eb788d6b985bf5046407b870 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--artistic/spacenavd/PKGBUILD23
-rw-r--r--artistic/spacenavd/spacenavd38
-rw-r--r--~coadde/mesa-git/PKGBUILD11
3 files changed, 62 insertions, 10 deletions
diff --git a/artistic/spacenavd/PKGBUILD b/artistic/spacenavd/PKGBUILD
new file mode 100644
index 000000000..1c117b804
--- /dev/null
+++ b/artistic/spacenavd/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Jan Hambrecht <jaham at gmx dot net>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=spacenavd
+pkgver=0.5
+pkgrel=1
+pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)."
+arch=('i686' 'x86_64' 'mips64el')
+url="http://spacenav.sourceforge.net/"
+license=('GPL')
+depends=('libx11')
+backup=('etc/spnavrc')
+source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz spacenavd )
+
+md5sums=('0bb21da5315bd376aa508157a9455aaa'
+ '27a739300d4de07920879af2d2bdd47f')
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=$pkgdir/usr
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+ install -D -m755 $srcdir/spacenavd $pkgdir/etc/rc.d/spacenavd || return 1
+}
diff --git a/artistic/spacenavd/spacenavd b/artistic/spacenavd/spacenavd
new file mode 100644
index 000000000..61946197c
--- /dev/null
+++ b/artistic/spacenavd/spacenavd
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+DAEMON=/usr/bin/spacenavd
+
+PID=`pidof -o %PPID $DAEMON`
+case "$1" in
+ start)
+ stat_busy "Starting Spacenavigator Daemon"
+ [ -z "$PID" ] && $DAEMON
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon spacenavd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Spacenavigator Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon spacenavd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/~coadde/mesa-git/PKGBUILD b/~coadde/mesa-git/PKGBUILD
index dfd4a9a75..a76a2376f 100644
--- a/~coadde/mesa-git/PKGBUILD
+++ b/~coadde/mesa-git/PKGBUILD
@@ -6,7 +6,7 @@
pkgbase=mesa-git
pkgname=('mesa-git')
-true && pkgname=('mesa-git' 'libgl-git' 'osmesa-git' 'libglapi-git' 'libgbm-git' 'libgles-git' 'libegl-git' 'khrplatform-devel-git' 'ati-dri-git' 'intel-dri-git' 'nouveau-dri-git' 'svga-dri-git')
+true && pkgname=('mesa-git' 'libgl-git' 'osmesa-git' 'libglapi-git' 'libgbm-git' 'libgles-git' 'libegl-git' 'khrplatform-devel-git' 'ati-dri-git' 'intel-dri-git' 'nouveau-dri-git')
pkgver=20120612
pkgrel=1
_mesaver=8.1
@@ -252,12 +252,3 @@ package_nouveau-dri-git() {
make -C ${srcdir}/build/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
}
-
-package_svga-dri-git() {
- depends=("mesa-git")
- conflicts=('svga-dri')
- provides=("svga-dri=${_mesaver}")
- pkgdesc="Gallium3D VMware guest GL driver"
-
- make -C ${srcdir}/build/src/gallium/targets/dri-vmwgfx DESTDIR="${pkgdir}" install
-}