mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
parent
e3ce38ac40
commit
afb2ffec60
@ -1,36 +1,27 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=jack
|
||||
_realname=jack2
|
||||
pkgver=1.9.12
|
||||
pkgrel=1
|
||||
pkgver=1.9.13
|
||||
pkgrel=0
|
||||
pkgdesc="The Jack Audio Connection Kit"
|
||||
url="http://www.jackaudio.org"
|
||||
arch="all"
|
||||
license="GPL-2.0 GPL-2.0-or-later LGPL-2.0-or-later"
|
||||
depends=""
|
||||
depends_dev=""
|
||||
makedepends="$depends_dev alsa-lib-dev dbus-dev expat-dev libsamplerate-dev
|
||||
libsndfile-dev ncurses-dev readline-dev python2 linux-headers"
|
||||
install=""
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbus $pkgname-example-clients:_clients"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/jackaudio/jack2/archive/v${pkgver}.tar.gz
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/jackaudio/jack2/archive/v$pkgver.tar.gz
|
||||
fix-execinfo.patch
|
||||
"
|
||||
builddir="$srcdir"/$_realname-$pkgver
|
||||
|
||||
_builddir="$srcdir"/$_realname-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
default_prepare
|
||||
sed -i -e '1s:#!/bin/bash:!#/bin/sh:' svnversion_regenerate.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./waf configure \
|
||||
-j1 \
|
||||
--prefix=/usr \
|
||||
@ -38,22 +29,21 @@ build() {
|
||||
--libdir=/usr/lib \
|
||||
--dbus \
|
||||
--alsa \
|
||||
--classic \
|
||||
|| return 1
|
||||
--classic
|
||||
|
||||
./waf build -j${JOBS:-2} -v || return 1
|
||||
./waf build -j${JOBS:-2} -v
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
./waf --destdir="$pkgdir" install || return 1
|
||||
cd "$builddir"
|
||||
./waf --destdir="$pkgdir" install
|
||||
}
|
||||
|
||||
dbus() {
|
||||
pkgdesc="Jack D-Bus launcher"
|
||||
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/bin/jackdbus "$subpkgdir"/usr/bin/ || return 1
|
||||
mv "$pkgdir"/usr/share/dbus* "$subpkgdir"/usr/share/|| return 1
|
||||
mv "$pkgdir"/usr/bin/jackdbus "$subpkgdir"/usr/bin/
|
||||
mv "$pkgdir"/usr/share/dbus* "$subpkgdir"/usr/share/
|
||||
}
|
||||
|
||||
_clients() {
|
||||
@ -62,5 +52,5 @@ _clients() {
|
||||
mv "$pkgdir"/usr/bin/*_* "$subpkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="f0271dfc8f8e2f2489ca52f431ad4fa420665816d6c67a01a76da1d4b5ae91f6dad8c4e3309ec5e0c159c9d312ed56021ab323d74bce828ace26f1b8d477ddfa jack-1.9.12.tar.gz
|
||||
sha512sums="8c578df723f2c0c91e854abf73a35249784c833264c42c340f0e56744bf931bda75ebd941532c80cecc67e2d469becc27498e546b73cc4581379b8ceee1f49c1 jack-1.9.13.tar.gz
|
||||
b5abec7e67485d1c13f399b5961539177dd35d21c5dd95e0aa767adb0f5b1e588e9ca2f9b29cc4d66fc039311ff7eacc4cf21f6700ef0a2c8de99b63cb00f84d fix-execinfo.patch"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user