lib32-portaudio
LOW
maintainer orphaned
0 votes
scanned 2026-08-23 11:20:29.798052
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
2
# Contributor: David Runge <dvzrv@archlinux.org>
3
# Contributor: josephgbr <rafael.f.f1@gmail.com>
4
# Contributor: Xavius <xavierelf@gmail.com>
5
6
_name=portaudio
7
pkgname=lib32-portaudio
8
pkgver=19.7.0
9
pkgrel=3
10
epoch=1
11
pkgdesc='A free, cross-platform, open source, audio I/O library (32 bit)'
12
arch=(x86_64)
13
url="https://github.com/portaudio/portaudio/"
14
license=(MIT)
15
depends=(
16
lib32-gcc-libs
17
lib32-glibc
18
"portaudio=$epoch:$pkgver"
19
)
20
makedepends=(
21
lib32-alsa-lib
22
lib32-jack
23
)
24
provides=(
25
libportaudio.so
26
libportaudiocpp.so
27
)
28
source=($url/archive/v$pkgver/$_name-v$pkgver.tar.gz)
29
sha512sums=('7e347a174109b661a685bcd617cc8fe00929c6fbf28f142fd7709a8ddbb9b5ed6e805be6647a44b4b9441b79e3474561de6f8e351b4ffc024952ed3e0e27ac1c')
30
b2sums=('db16882e97e60ab47b37c6d8851aa29e16e321531f3890f70390d89364aee2c1a9b42be09e7534f38d1c9ca48dd466b512874731049e42759a674571d6054220')
31
32
prepare() {
33
cd $_name-$pkgver
34
(
35
cd bindings/cpp
36
autoreconf -fiv
37
)
38
autoreconf -fiv
39
}
40
41
build() {
42
local configure_options=(
43
--prefix=/usr
44
--enable-cxx
45
--libdir=/usr/lib32
46
)
47
48
export CC="gcc -m32"
49
export CXX="g++ -m32"
50
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
51
52
cd $_name-$pkgver
53
./configure "${configure_options[@]}"
54
# build breaks with multiple jobs when building C++ bindings:
55
# https://github.com/PortAudio/portaudio/issues/540
56
make -j1
57
}
58
59
package () {
60
depends+=(
61
lib32-alsa-lib libasound.so
62
lib32-jack libjack.so
63
)
64
65
make DESTDIR="$pkgdir" install -C $_name-$pkgver
66
rm -rf "$pkgdir/usr/include"
67
install -vDm 644 $_name-$pkgver/LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
68
install -vDm 644 $_name-$pkgver/README.* -t "$pkgdir/usr/share/doc/$pkgname/"
69
}
70
71
# vim: ts=2 sw=2 et:
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-23 11:20:29 | Low | 1 |