From 63027b5c4a69ad91fa946044cc32568f22604592 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 20 May 2013 09:45:17 -0300 Subject: put ginn and dependencies on pcr repo --- pcr/bamf2/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ pcr/frame/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ pcr/geis/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ pcr/ginn/PKGBUILD | 21 +++++++++++++++++++++ pcr/grail/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 172 insertions(+) create mode 100644 pcr/bamf2/PKGBUILD create mode 100644 pcr/frame/PKGBUILD create mode 100644 pcr/geis/PKGBUILD create mode 100644 pcr/ginn/PKGBUILD create mode 100644 pcr/grail/PKGBUILD diff --git a/pcr/bamf2/PKGBUILD b/pcr/bamf2/PKGBUILD new file mode 100644 index 000000000..681d3da7e --- /dev/null +++ b/pcr/bamf2/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Ivan de Jesús Pompa García +# Contributors: niQo ??? + +pkgname=bamf2 +_dname=bamf +pkgver=0.2.126 +pkgrel=2 +pkgdesc="Removes the headache of applications matching into a simple DBus daemon and c wrapper library, 0.2 branch" +arch=('i686' 'x86_64') +url="https://launchpad.net/bamf" +license=('GPL') +depends=('dbus-glib' 'libwnck3' 'libgtop') +makedepends=('libwnck' 'vala') +optdepends=('gtk2: GTK+ 2 library') +options=(!libtool) +source=(http://launchpad.net/${_dname}/0.2/${pkgver}/+download/${_dname}-${pkgver}.tar.gz) +md5sums=('709735137e4b028bb94f9e106bb9ac6e') + +conflicts=('bamf') +provides=('bamf') + +build() { + cd "$srcdir/${_dname}-${pkgver}" + + # Disable building tests + sed -i '/tests/ d' Makefile.in + + sed -i -e 's/--c-include/--include/' lib/libbamf/Makefile.in + export CFLAGS="$CFLAGS -Wno-deprecated-declarations -Wno-unused-local-typedefs" + + [[ -d build-gtk3 ]] || mkdir build-gtk3 + pushd build-gtk3 + ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${_dname} \ + --disable-static + make + popd + + [[ -d build-gtk2 ]] || mkdir build-gtk2 + pushd build-gtk2 + ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${_dname} \ + --disable-static --with-gtk=2 + make -C lib/libbamf + popd +} + +package() { + cd "$srcdir/${_dname}-${pkgver}/build-gtk3" + make DESTDIR="${pkgdir}/" install + + cd "$srcdir/${_dname}-${pkgver}/build-gtk2" + make -C lib/libbamf DESTDIR="${pkgdir}" install +} diff --git a/pcr/frame/PKGBUILD b/pcr/frame/PKGBUILD new file mode 100644 index 000000000..b67d776ac --- /dev/null +++ b/pcr/frame/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Nicolas Quiénot < niQo at aur > + +pkgname=frame +pkgver=2.5.0 +pkgrel=1 +pkgdesc="Frame handles the buildup and synchronization of a set of simultaneous touches." +arch=(i686 x86_64) +url="https://launchpad.net/frame" +license=(GPL) +depends=('libxi' 'gcc-libs') +makedepends=('xorg-server-devel' 'asciidoc') +provides=('utouch-frame') +conflicts=('utouch-frame') +replaces=('utouch-frame') +options=('!libtool') +source=(http://launchpad.net/$pkgname/trunk/v$pkgver/+download/$pkgname-$pkgver.tar.gz) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} + +md5sums=('02baa941091c5d198cd1623b3ad36e68') diff --git a/pcr/geis/PKGBUILD b/pcr/geis/PKGBUILD new file mode 100644 index 000000000..629cb9d12 --- /dev/null +++ b/pcr/geis/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Nicolas Quiénot +# Contributor: Xiao-Long Chen + +pkgname=geis +pkgver=2.2.15 +pkgrel=3 +pkgdesc="Implementation of the GEIS (Gesture Engine Interface and Support) interface." +arch=('i686' 'x86_64') +url="https://launchpad.net/geis" +license=('GPL' 'LGPL') +depends=('grail' 'dbus' 'python-gobject') +makedepends=('xorg-server-devel') +provides=('utouch-geis') +conflicts=('utouch-geis') +replaces=('utouch-geis') +options=('!emptydirs' '!libtool') +source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ## add -Wno-format in CFLAGS see FS#34658 + CFLAGS="$CFLAGS -Wno-format" ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="${pkgdir}/" install +} + +md5sums=('94c8a08497f5fc22061fb0573ca1e220') diff --git a/pcr/ginn/PKGBUILD b/pcr/ginn/PKGBUILD new file mode 100644 index 000000000..bccdf6698 --- /dev/null +++ b/pcr/ginn/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Nicolas Quiénot + +pkgname=ginn +pkgver=0.2.6 +pkgrel=2 +pkgdesc="A deamon with jinn-like wish-granting capabilities" +url="http://launchpad.net/ginn" +arch=('i686' 'x86_64') +license=('GPL') +depends=('geis' 'bamf2' 'libxtst') +source=(http://launchpad.net/ginn/0.x/${pkgver}/+download/ginn-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${pkgdir} install || return 1 +} + +md5sums=('008854147f0809877b3e7ccf5af5337f') diff --git a/pcr/grail/PKGBUILD b/pcr/grail/PKGBUILD new file mode 100644 index 000000000..c76d2214f --- /dev/null +++ b/pcr/grail/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Nicolas Quiénot +# Contributor: Xiao-Long Chen +# Contributor: thn81 + +pkgname=grail +pkgver=3.1.0 +pkgrel=1 +pkgdesc="Gesture Recognition And Instantiation Library" +arch=('i686' 'x86_64') +url="https://launchpad.net/grail" +license=('GPL') +depends=('frame>=2.5.0' 'libxi') +makedepends=('inputproto') +conflicts=('utouch-grail') +replaces=('utouch-grail') +options=('!libtool') +source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Static library needed for tests + ./configure --prefix=/usr # --disable-static + MAKEFLAGS="-j1" + make ${MAKEFLAGS} +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install +} + +md5sums=('f0f8c56430ee3717778dec6452201c33') -- cgit v1.2.3