summaryrefslogtreecommitdiff
path: root/pcr/portaudio-git
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2021-02-22 00:19:56 -0300
committerDavid P <megver83@parabola.nu>2021-02-22 00:19:56 -0300
commit66d850d2486f100c7a468ea79a93a811374bea03 (patch)
treee62b725972779c818e1346cda9c0d32758e9cc8d /pcr/portaudio-git
parentd0a10c758977323bccf5268f136b736ad2cabf48 (diff)
downloadabslibre-66d850d2486f100c7a468ea79a93a811374bea03.tar.gz
abslibre-66d850d2486f100c7a468ea79a93a811374bea03.tar.bz2
abslibre-66d850d2486f100c7a468ea79a93a811374bea03.zip
addpkg: pcr/portaudio-git 1:19.6.0.r749.78415a8-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/portaudio-git')
-rw-r--r--pcr/portaudio-git/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/portaudio-git/PKGBUILD b/pcr/portaudio-git/PKGBUILD
new file mode 100644
index 000000000..20d706742
--- /dev/null
+++ b/pcr/portaudio-git/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
+# Contributor (Arch): Lukas Fleischer <lfleischer@archlinux.org>
+# Contributor (Arch): Eric Belanger <eric@archlinux.org>
+# Contributor (Arch): Darwin Bautista <djclue917@gmail.com>
+# Contributor (Arch): Bob Finch <w9ya@qrparci.net>
+# Maintainer: David P. <megver83@parabola.nu>
+
+_pkgname=portaudio
+pkgname=portaudio-git
+_pkgver=19.6.0
+pkgver=19.6.0.r749.78415a8
+pkgrel=1
+epoch=1
+_commit=78415a8
+pkgdesc='A free, cross-platform, open source, audio I/O library.'
+arch=('x86_64' 'i686' 'armv7h')
+url="http://www.portaudio.com/"
+license=('MIT')
+depends=('gcc-libs' 'glibc')
+makedepends=('alsa-lib' 'jack' 'git')
+provides=('libportaudio.so' 'libportaudiocpp.so' 'portaudio')
+conflicts=('portaudio')
+source=("git+https://github.com/PortAudio/portaudio.git#commit=${_commit}")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ printf "%s.r%s.%s" "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${_pkgname}"
+ ./configure --prefix=/usr \
+ --enable-cxx
+ # build crashes somewhere above > 8 jobs
+ make -j1
+}
+
+package() {
+ depends+=('libasound.so' 'libjack.so')
+ cd "${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+ install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${_pkgname}"
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}"
+}