author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-02-10 10:15:08 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-02-10 10:15:08 UTC |
parent | 85abbdb36f84cb236d33b096aa0d10a24826524f |
PKGBUILD | +11 | -7 |
diff --git a/PKGBUILD b/PKGBUILD index 8bba116..42da3ee 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=portaudio pkgver=19.7.0 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc='A free, cross-platform, open source, audio I/O library.' arch=(x86_64 'armv7h') @@ -20,17 +20,20 @@ makedepends=( alsa-lib cmake # jack + git + pulseaudio + autoconf-archive ) provides=( libportaudio.so libportaudiocpp.so ) -source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz) -sha512sums=('7e347a174109b661a685bcd617cc8fe00929c6fbf28f142fd7709a8ddbb9b5ed6e805be6647a44b4b9441b79e3474561de6f8e351b4ffc024952ed3e0e27ac1c') -b2sums=('db16882e97e60ab47b37c6d8851aa29e16e321531f3890f70390d89364aee2c1a9b42be09e7534f38d1c9ca48dd466b512874731049e42759a674571d6054220') +#source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz) + +source=("git+https://github.com/portaudio/portaudio.git#commit=0b9f8b2f172290c0569e74467520bc961b8b0d18") prepare() { - cd $pkgname-$pkgver + cd $pkgname ( cd bindings/cpp autoreconf -fiv @@ -44,7 +47,7 @@ build() { --enable-cxx ) - cd $pkgname-$pkgver + cd $pkgname ./configure "${configure_options[@]}" # build breaks with multiple jobs when building C++ bindings: # https://github.com/PortAudio/portaudio/issues/540 @@ -57,8 +60,9 @@ package() { # jack libjack.so ) - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/" install -vDm 644 README.* -t "$pkgdir/usr/share/doc/$pkgname/" } +sha256sums=('ea093f74ebb0f438f91bce08c4a1bf0810641d18db3fb0eed4eafd96c97de2d2')