[arch-commits] Commit in portaudio/repos/extra-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Apr 6 20:23:38 UTC 2021
Date: Tuesday, April 6, 2021 @ 20:23:37
Author: dvzrv
Revision: 411667
archrelease: copy trunk to extra-x86_64
Added:
portaudio/repos/extra-x86_64/PKGBUILD
(from rev 411666, portaudio/trunk/PKGBUILD)
Deleted:
portaudio/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 88 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-06 20:23:30 UTC (rev 411666)
+++ PKGBUILD 2021-04-06 20:23:37 UTC (rev 411667)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: Darwin Bautista <djclue917 at gmail.com>
-# Contributor: Bob Finch <w9ya at qrparci.net>
-
-pkgname=portaudio
-# versioning is very bizarre:
-# https://app.assembla.com/wiki/show/portaudio/ReleaseNotes
-_version=190600_20161030
-pkgver=19.6.0
-pkgrel=7
-epoch=1
-pkgdesc='A free, cross-platform, open source, audio I/O library.'
-arch=('x86_64')
-url="http://www.portaudio.com/"
-license=('MIT')
-depends=('gcc-libs' 'glibc')
-makedepends=('alsa-lib' 'jack')
-provides=('libportaudio.so' 'libportaudiocpp.so')
-source=("${pkgname}-${pkgver}.tgz::http://www.portaudio.com/archives/pa_stable_v${_version}.tgz")
-sha512sums=('7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c')
-
-prepare() {
- mv -v "${pkgname}" "${pkgname}-${pkgver}"
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --enable-cxx
- # build crashes somewhere above > 8 jobs
- make -j1
-}
-
-package() {
- depends+=('libasound.so' 'libjack.so')
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: portaudio/repos/extra-x86_64/PKGBUILD (from rev 411666, portaudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-06 20:23:37 UTC (rev 411667)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Darwin Bautista <djclue917 at gmail.com>
+# Contributor: Bob Finch <w9ya at qrparci.net>
+
+pkgname=portaudio
+pkgver=19.7.0
+pkgrel=1
+epoch=1
+pkgdesc='A free, cross-platform, open source, audio I/O library.'
+arch=('x86_64')
+url="https://github.com/portaudio/portaudio/"
+license=('MIT')
+depends=('gcc-libs' 'glibc')
+makedepends=('alsa-lib' 'jack')
+provides=('libportaudio.so' 'libportaudiocpp.so')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('7e347a174109b661a685bcd617cc8fe00929c6fbf28f142fd7709a8ddbb9b5ed6e805be6647a44b4b9441b79e3474561de6f8e351b4ffc024952ed3e0e27ac1c')
+b2sums=('db16882e97e60ab47b37c6d8851aa29e16e321531f3890f70390d89364aee2c1a9b42be09e7534f38d1c9ca48dd466b512874731049e42759a674571d6054220')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ (
+ cd bindings/cpp
+ autoreconf -fiv
+ )
+ autoreconf -fiv
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --enable-cxx
+ # build breaks with multiple jobs when building C++ bindings:
+ # https://github.com/PortAudio/portaudio/issues/540
+ make -j1
+}
+
+package() {
+ depends+=('libasound.so' 'libjack.so')
+ cd "${pkgname}-${pkgver}"
+ 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}"
+}
More information about the arch-commits
mailing list