[arch-commits] Commit in lib32-jack2/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Oct 14 21:17:42 UTC 2019
Date: Monday, October 14, 2019 @ 21:17:42
Author: dvzrv
Revision: 515927
archrelease: copy trunk to multilib-x86_64
Added:
lib32-jack2/repos/multilib-x86_64/PKGBUILD
(from rev 515926, lib32-jack2/trunk/PKGBUILD)
Deleted:
lib32-jack2/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 107 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 56 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 21:17:37 UTC (rev 515926)
+++ PKGBUILD 2019-10-14 21:17:42 UTC (rev 515927)
@@ -1,51 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-
-pkgname=lib32-jack2
-pkgver=1.9.12
-pkgrel=3
-pkgdesc="The next-generation JACK with SMP support (32 bit)"
-arch=('x86_64')
-url="http://jackaudio.org/"
-license=('GPL2' 'LGPL2.1')
-depends=('lib32-celt' 'lib32-gcc-libs' 'lib32-opus' 'jack2')
-makedepends=('celt' 'doxygen' 'gcc-multilib' 'lib32-celt' 'lib32-gcc-libs' 'lib32-opus' 'libffado' 'libsamplerate' 'opus' 'waf')
-provides=('lib32-jack')
-conflicts=('lib32-jack')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jackaudio/${pkgname#lib32-}/archive/v${pkgver}.tar.gz")
-sha512sums=('f0271dfc8f8e2f2489ca52f431ad4fa420665816d6c67a01a76da1d4b5ae91f6dad8c4e3309ec5e0c159c9d312ed56021ab323d74bce828ace26f1b8d477ddfa')
-
-prepare() {
- cd "${pkgname#lib32-}-${pkgver}"
- # copying relevant custom waf scripts and loading them specifically using
- # wscript
- touch __init__.py
- mkdir -vp tools
- cp -v waflib/extras/xcode*.py tools
- rm -rv waflib
- sed -e "s/load('xcode'/load('xcode', tooldir='tools'/g" \
- -e "s/load('xcode6'/load('xcode6', tooldir='tools'/g" \
- -i wscript
-}
-
-build() {
- cd "${pkgname#lib32-}-${pkgver}"
-
- waf configure --prefix=/usr \
- --libdir=/usr/lib \
- --libdir32=/usr/lib32 \
- --freebob=no \
- --classic \
- --dbus \
- --mixed
- waf build
-}
-
-package() {
- cd "${pkgname#lib32-}-${pkgver}"
-
- waf install --destdir="${pkgdir}"
- # remove all non-32bit and those provided by jack2
- rm -rf "${pkgdir}"/usr/{bin,lib,include,share}
-}
-# vim:set ts=2 sw=2 et:
Copied: lib32-jack2/repos/multilib-x86_64/PKGBUILD (from rev 515926, lib32-jack2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-14 21:17:42 UTC (rev 515927)
@@ -0,0 +1,56 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=lib32-jack2
+pkgver=1.9.13
+pkgrel=1
+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')
+conflicts=('lib32-jack')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jackaudio/${pkgname#lib32-}/archive/v${pkgver}.tar.gz")
+sha512sums=('8c578df723f2c0c91e854abf73a35249784c833264c42c340f0e56744bf931bda75ebd941532c80cecc67e2d469becc27498e546b73cc4581379b8ceee1f49c1')
+
+prepare() {
+ cd "${pkgname#lib32-}-${pkgver}"
+ # copying relevant custom waf scripts and loading them specifically using
+ # wscript
+ touch __init__.py
+ mkdir -vp tools
+ cp -v waflib/extras/xcode*.py tools
+ rm -rv waflib
+ sed -e "s/load('xcode'/load('xcode', tooldir='tools'/g" \
+ -e "s/load('xcode6'/load('xcode6', tooldir='tools'/g" \
+ -i wscript
+}
+
+build() {
+ cd "${pkgname#lib32-}-${pkgver}"
+ # mixed mode is broken: https://github.com/jackaudio/jack2/issues/508
+ 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 \
+ --dbus
+ waf build
+}
+
+package() {
+ cd "${pkgname#lib32-}-${pkgver}"
+ export PYTHONPATH="${PWD}:${PYTHONPATH}"
+ waf install --destdir="${pkgdir}"
+ # remove all non-32bit and those provided by jack2
+ rm -rf "${pkgdir}"/usr/{bin,lib,include,share}
+ rm -rf "${pkgdir}/usr/lib32/jack/"
+ rm -rf "${pkgdir}/usr/lib32/libjack"{net,server}*
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list