mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/jack2: proper PKGBUILD
Few changes, it's closer to what pkgbuild should look like.
This commit is contained in:
parent
89449e61ee
commit
c7f0abad92
1 changed files with 7 additions and 3 deletions
|
@ -4,13 +4,16 @@
|
|||
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
|
||||
# Contributor: Thomas Bahn <thomas-bahn at gmx dot net>
|
||||
|
||||
# ALARM: Jaros³aw Rymut <jarymut+github@gmail.com>
|
||||
# - patch for packed structures, arm does not like them
|
||||
|
||||
pkgbase=jack2
|
||||
pkgname=('jack2' 'jack2-dbus')
|
||||
#pkgname= # single build (overrides split)
|
||||
_tarname=jack
|
||||
pkgver=1.9.9.5
|
||||
pkgrel=3
|
||||
arch=('armv7h')
|
||||
arch=('any')
|
||||
url="http://jackaudio.org/"
|
||||
backup=(etc/security/limits.d/99-audio.conf)
|
||||
license=('GPL')
|
||||
|
@ -44,6 +47,9 @@ _wafconf() {
|
|||
|
||||
prepare() {
|
||||
cd "$srcdir"
|
||||
|
||||
# apply patch for ARM
|
||||
patch -d $_tarname-$pkgver -p1 -i ../jack2_armel.diff
|
||||
|
||||
# Some optimisation bug exists for current GCC
|
||||
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
|
||||
|
@ -65,7 +71,6 @@ build() {
|
|||
if _isbuild jack2; then
|
||||
cd $_tarname-$pkgver
|
||||
msg2 "Running Mixed D-Bus/Classic build"
|
||||
patch -p1 -i ../jack2_armel.diff
|
||||
_wafconf --classic --dbus
|
||||
python2 waf build $MAKEFLAGS
|
||||
cd ..
|
||||
|
@ -75,7 +80,6 @@ build() {
|
|||
if _isbuild jack2-dbus; then
|
||||
cd $_tarname-dbus-$pkgver
|
||||
msg2 "Running D-Bus-only build"
|
||||
patch -p1 -i ../jack2_armel.diff
|
||||
_wafconf --dbus
|
||||
python2 waf build $MAKEFLAGS
|
||||
cd ..
|
||||
|
|
Loading…
Reference in a new issue