mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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: Philipp Überbacher <hollunder at gmx dot at>
|
||||||
# Contributor: Thomas Bahn <thomas-bahn at gmx dot net>
|
# 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
|
pkgbase=jack2
|
||||||
pkgname=('jack2' 'jack2-dbus')
|
pkgname=('jack2' 'jack2-dbus')
|
||||||
#pkgname= # single build (overrides split)
|
#pkgname= # single build (overrides split)
|
||||||
_tarname=jack
|
_tarname=jack
|
||||||
pkgver=1.9.9.5
|
pkgver=1.9.9.5
|
||||||
pkgrel=3
|
pkgrel=3
|
||||||
arch=('armv7h')
|
arch=('any')
|
||||||
url="http://jackaudio.org/"
|
url="http://jackaudio.org/"
|
||||||
backup=(etc/security/limits.d/99-audio.conf)
|
backup=(etc/security/limits.d/99-audio.conf)
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
@ -44,6 +47,9 @@ _wafconf() {
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
|
|
||||||
|
# apply patch for ARM
|
||||||
|
patch -d $_tarname-$pkgver -p1 -i ../jack2_armel.diff
|
||||||
|
|
||||||
# Some optimisation bug exists for current GCC
|
# Some optimisation bug exists for current GCC
|
||||||
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
|
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
|
||||||
|
@ -65,7 +71,6 @@ build() {
|
||||||
if _isbuild jack2; then
|
if _isbuild jack2; then
|
||||||
cd $_tarname-$pkgver
|
cd $_tarname-$pkgver
|
||||||
msg2 "Running Mixed D-Bus/Classic build"
|
msg2 "Running Mixed D-Bus/Classic build"
|
||||||
patch -p1 -i ../jack2_armel.diff
|
|
||||||
_wafconf --classic --dbus
|
_wafconf --classic --dbus
|
||||||
python2 waf build $MAKEFLAGS
|
python2 waf build $MAKEFLAGS
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -75,7 +80,6 @@ build() {
|
||||||
if _isbuild jack2-dbus; then
|
if _isbuild jack2-dbus; then
|
||||||
cd $_tarname-dbus-$pkgver
|
cd $_tarname-dbus-$pkgver
|
||||||
msg2 "Running D-Bus-only build"
|
msg2 "Running D-Bus-only build"
|
||||||
patch -p1 -i ../jack2_armel.diff
|
|
||||||
_wafconf --dbus
|
_wafconf --dbus
|
||||||
python2 waf build $MAKEFLAGS
|
python2 waf build $MAKEFLAGS
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue