[arch-commits] Commit in a2jmidid/repos (6 files)
speps
speps at archlinux.org
Fri Nov 28 19:57:51 UTC 2014
Date: Friday, November 28, 2014 @ 20:57:51
Author: speps
Revision: 123274
archrelease: copy trunk to community-i686, community-x86_64
Added:
a2jmidid/repos/community-i686/
a2jmidid/repos/community-i686/PKGBUILD
(from rev 123273, a2jmidid/trunk/PKGBUILD)
a2jmidid/repos/community-i686/a2jmidid-dso-pthread.patch
(from rev 123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
a2jmidid/repos/community-x86_64/
a2jmidid/repos/community-x86_64/PKGBUILD
(from rev 123273, a2jmidid/trunk/PKGBUILD)
a2jmidid/repos/community-x86_64/a2jmidid-dso-pthread.patch
(from rev 123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
---------------------------------------------+
community-i686/PKGBUILD | 37 ++++++++++++++++++++++++++
community-i686/a2jmidid-dso-pthread.patch | 20 ++++++++++++++
community-x86_64/PKGBUILD | 37 ++++++++++++++++++++++++++
community-x86_64/a2jmidid-dso-pthread.patch | 20 ++++++++++++++
4 files changed, 114 insertions(+)
Copied: a2jmidid/repos/community-i686/PKGBUILD (from rev 123273, a2jmidid/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-11-28 19:57:51 UTC (rev 123274)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Jiyunatori <tori at 0xc29.net>
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=1
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
+arch=('i686' 'x86_64')
+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')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # DSO link patch
+ patch -p1 -i ../$pkgname-dso-pthread.patch
+
+ # python2 shebang
+ sed -i 's/python/&2/' a2j_control
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python2 waf configure --prefix=/usr
+ python2 waf
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python2 waf install --destdir="$pkgdir/"
+}
Copied: a2jmidid/repos/community-i686/a2jmidid-dso-pthread.patch (from rev 123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
===================================================================
--- community-i686/a2jmidid-dso-pthread.patch (rev 0)
+++ community-i686/a2jmidid-dso-pthread.patch 2014-11-28 19:57:51 UTC (rev 123274)
@@ -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')
Copied: a2jmidid/repos/community-x86_64/PKGBUILD (from rev 123273, a2jmidid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-11-28 19:57:51 UTC (rev 123274)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Jiyunatori <tori at 0xc29.net>
+
+pkgname=a2jmidid
+pkgver=8
+pkgrel=1
+pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
+arch=('i686' 'x86_64')
+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')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # DSO link patch
+ patch -p1 -i ../$pkgname-dso-pthread.patch
+
+ # python2 shebang
+ sed -i 's/python/&2/' a2j_control
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python2 waf configure --prefix=/usr
+ python2 waf
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python2 waf install --destdir="$pkgdir/"
+}
Copied: a2jmidid/repos/community-x86_64/a2jmidid-dso-pthread.patch (from rev 123273, a2jmidid/trunk/a2jmidid-dso-pthread.patch)
===================================================================
--- community-x86_64/a2jmidid-dso-pthread.patch (rev 0)
+++ community-x86_64/a2jmidid-dso-pthread.patch 2014-11-28 19:57:51 UTC (rev 123274)
@@ -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')
More information about the arch-commits
mailing list