[arch-commits] Commit in lib32-jack2/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Apr 6 20:10:13 UTC 2020


    Date: Monday, April 6, 2020 @ 20:10:12
  Author: dvzrv
Revision: 612097

upgpkg: lib32-jack2 1.9.14-2: Adding soprovides.

Rebuilding to add soprovides (libjack.so).
Removing lib32-db from depends and db from makedepends, as it's not used.
Removing lib32-opus/opus as it is not used either.
Switching back to using --mixed mode for waf configure.

Modified:
  lib32-jack2/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 19:58:42 UTC (rev 612096)
+++ PKGBUILD	2020-04-06 20:10:12 UTC (rev 612097)
@@ -1,24 +1,25 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
+_name=jack2
 pkgname=lib32-jack2
 pkgver=1.9.14
-pkgrel=1
+pkgrel=2
 pkgdesc="The next-generation JACK with SMP support (32 bit)"
 arch=('x86_64')
 url="http://jackaudio.org/"
 license=('GPL2' 'LGPL2.1')
-depends=('lib32-db' 'lib32-celt' 'lib32-gcc-libs' 'lib32-glibc' 'lib32-opus'
-'jack2')
-makedepends=('db' 'celt' 'lib32-dbus' 'lib32-expat' 'lib32-libsamplerate'
-'libsamplerate' 'opus' 'waf')
-provides=('lib32-jack')
+depends=('lib32-celt' 'lib32-gcc-libs' 'lib32-glibc' 'jack2')
+makedepends=('celt' 'lib32-dbus' 'lib32-expat' 'lib32-libsamplerate'
+'libsamplerate' 'waf')
+provides=('lib32-jack' 'libjack.so')
 conflicts=('lib32-jack')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jackaudio/${pkgname#lib32-}/archive/v${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jackaudio/${_name}/archive/v${pkgver}.tar.gz")
 sha512sums=('ca9738fd5aadcb7e125f98a358437905959afebe0b792cab316fc31410e89ea3aefdb85154792a9d0a80fa988aa7eff379ff5c7ac6c4bfa1d57ad3d7de7b5fdd')
 
 prepare() {
-  cd "${pkgname#lib32-}-${pkgver}"
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   # copying relevant custom waf scripts and loading them specifically using
   # wscript
   touch __init__.py
@@ -31,22 +32,18 @@
 }
 
 build() {
-  cd "${pkgname#lib32-}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   export PYTHONPATH="${PWD}:${PYTHONPATH}"
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-  export CXXFLAGS+=' -m32'
-  export CFLAGS+=' -m32'
   waf configure --prefix=/usr \
                 --libdir=/usr/lib32 \
                 --classic \
+                --mixed \
                 --dbus
   waf build
 }
 
 package() {
-  cd "${pkgname#lib32-}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   export PYTHONPATH="${PWD}:${PYTHONPATH}"
   waf install --destdir="${pkgdir}"
   # remove all non-32bit and those provided by jack2



More information about the arch-commits mailing list