Date: Wednesday, June 3, 2020 @ 11:54:24
  Author: dvzrv
Revision: 388152

upgpkg: portaudio 1:19.6.0-7: Rebuilding for reproducibility.

Adding all sodeps in package() and the respective packages in makedepends.
Hardcoding make to use one job, as somewhere above eight jobs the build crashes.
Updating maintainer info.

Modified:
  portaudio/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-06-03 11:52:10 UTC (rev 388151)
+++ PKGBUILD    2020-06-03 11:54:24 UTC (rev 388152)
@@ -1,4 +1,4 @@
-# Maintainer: David Runge <d...@sleepmap.de>
+# Maintainer: David Runge <dv...@archlinux.org>
 # Contributor: Lukas Fleischer <lfleisc...@archlinux.org>
 # Contributor: Eric Belanger <e...@archlinux.org>
 # Contributor: Darwin Bautista <djclue...@gmail.com>
@@ -9,13 +9,14 @@
 # https://app.assembla.com/wiki/show/portaudio/ReleaseNotes
 _version=190600_20161030
 pkgver=19.6.0
-pkgrel=6
+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' 'jack')
+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')
@@ -28,10 +29,12 @@
   cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr \
               --enable-cxx
-  make
+  # 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}"

Reply via email to