diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-10-13 15:05:08 -0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-10-20 18:30:05 +0000 |
commit | afb2ffec6097bc7aecd65382cb2ba98691b11959 (patch) | |
tree | 3749783d85fd3c59aad2110ee93cccc81207a8dc | |
parent | e3ce38ac40162c71136f9139d6df5d5921777d4e (diff) | |
download | aports-afb2ffec6097bc7aecd65382cb2ba98691b11959.tar.bz2 aports-afb2ffec6097bc7aecd65382cb2ba98691b11959.tar.xz |
main/jack: upgrade to 1.9.13
Closes !454
-rw-r--r-- | main/jack/APKBUILD | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/main/jack/APKBUILD b/main/jack/APKBUILD index bd7b0d51c3..4a397a70a2 100644 --- a/main/jack/APKBUILD +++ b/main/jack/APKBUILD @@ -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" |