summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-13 17:02:53 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-13 17:02:53 -0300
commite976ce91e513e606983c187ec16d541f2adde9c9 (patch)
treece8202be924dbc62c34c22c931f0ccab3f355bd6 /pcr
parent457ff7ca724e77d7cdb5751fc19559ddfe2d00d7 (diff)
parent7c0d735ee8338fdf080fe7f885e961c4a1a64c6c (diff)
downloadabslibre-e976ce91e513e606983c187ec16d541f2adde9c9.tar.gz
abslibre-e976ce91e513e606983c187ec16d541f2adde9c9.tar.bz2
abslibre-e976ce91e513e606983c187ec16d541f2adde9c9.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r--pcr/a2jmidid/PKGBUILD33
-rw-r--r--pcr/a2jmidid/a2jmidid-dso-pthread.patch20
-rw-r--r--pcr/skanlite/PKGBUILD2
3 files changed, 54 insertions, 1 deletions
diff --git a/pcr/a2jmidid/PKGBUILD b/pcr/a2jmidid/PKGBUILD
new file mode 100644
index 000000000..60d6f048f
--- /dev/null
+++ b/pcr/a2jmidid/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer : Guest One <theguestone at gmail dot com>
+# patch taken from https://aur.archlinux.org/packages/a2jmidid/
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=1
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
+arch=('i686')
+url="http://home.gna.org/$pkgname/"
+license=('GPL')
+depends=('jack' 'python2-dbus')
+source=("http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "$pkgname-dso-pthread.patch")
+md5sums=('9cf4edbc3ad2ddeeaf6c8c1791ff3ddd'
+ '4b15e485301aee48371844cb01689ad2')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # DSO link patch
+ patch -p1 -i ../$pkgname-dso-pthread.patch
+
+ python2 waf configure --prefix=/usr
+ python2 waf
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 waf install --destdir="$pkgdir/"
+
+ # python2 fix
+ sed -i "s/python/&2/" "$pkgdir/usr/bin/a2j_control"
+} \ No newline at end of file
diff --git a/pcr/a2jmidid/a2jmidid-dso-pthread.patch b/pcr/a2jmidid/a2jmidid-dso-pthread.patch
new file mode 100644
index 000000000..028b9d432
--- /dev/null
+++ b/pcr/a2jmidid/a2jmidid-dso-pthread.patch
@@ -0,0 +1,20 @@
+diff -aur a2jmidid-8/wscript a2jmidid-8.patched/wscript
+--- a2jmidid-8/wscript 2012-07-05 03:14:23.000000000 +0200
++++ a2jmidid-8.patched/wscript 2012-07-10 17:48:30.710109306 +0200
+@@ -67,6 +67,7 @@
+ conf.env['DBUS_ENABLED'] = False
+
+ conf.env['LIB_DL'] = ['dl']
++ conf.env['LIB_PTHREAD'] = ['pthread']
+
+ #conf.check_header('expat.h', mandatory=True)
+ #conf.env['LIB_EXPAT'] = ['expat']
+@@ -152,7 +153,7 @@
+
+ prog.includes = '.' # make waf dependency tracking work
+ prog.target = 'a2jmidid'
+- prog.uselib = 'ALSA JACK DL'
++ prog.uselib = 'ALSA JACK DL PTHREAD'
+ if bld.env()['DBUS_ENABLED']:
+ prog.uselib += " DBUS-1"
+ prog = bld.create_obj('cc', 'program')
diff --git a/pcr/skanlite/PKGBUILD b/pcr/skanlite/PKGBUILD
index 42a164785..b0fa953e5 100644
--- a/pcr/skanlite/PKGBUILD
+++ b/pcr/skanlite/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=skanlite
pkgver=1.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Image Scanning Application for KDE"
arch=('i686' 'x86_64')
url='http://www.kde.org/applications/graphics/skanlite'