[arch-commits] Commit in (4 files)

speps speps at nymeria.archlinux.org
Sat Aug 31 02:09:32 UTC 2013


    Date: Saturday, August 31, 2013 @ 04:09:32
  Author: speps
Revision: 96527

addpkg: lib32-jack2 1.9.9.5 (replaces jack2{-dbus,}-multilib since broken)

Added:
  lib32-jack2/
  lib32-jack2/repos/
  lib32-jack2/trunk/
  lib32-jack2/trunk/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

Added: lib32-jack2/trunk/PKGBUILD
===================================================================
--- lib32-jack2/trunk/PKGBUILD	                        (rev 0)
+++ lib32-jack2/trunk/PKGBUILD	2013-08-31 02:09:32 UTC (rev 96527)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer : speps <speps at aur dot archlinux dot org>
+
+## Legacy jack2-multilib package description (now replaced by lib32-jack2)
+#
+# This one is in response to a need for an equivalent to lib32-jack for
+# jack2. A lib32-jack2 would require much patching and invading the pure
+# jack2 package, and what's more, the buildsystem provides a flag just to
+# build a hybrid jack2 in full. As such, we have opted to provide multilib
+# users with a replacement package instead of the usual lib32 add-on.
+#
+# See http://mailman.archlinux.org/pipermail/arch-multilib/2011-December/000251.html
+
+## New lib32-jack2 package description (replaces jack2{-dbus,}-multilib
+#
+# The vanilla mixed mode build is broken since a long time, so we build
+# and provide just the 32 bit jack client library using some dynamic
+# patching that seems stable enough to last on future build system changes.
+
+pkgname=lib32-jack2
+pkgver=1.9.9.5
+pkgrel=1
+pkgdesc="The next-generation JACK with SMP support (32 bit)"
+arch=('x86_64')
+url="http://jackaudio.org/"
+license=('GPL')
+depends=('lib32-gcc-libs' 'jack2')
+makedepends=('python2' 'gcc-multilib')
+provides=('lib32-jack')
+conflicts=('lib32-jack' 'jack2-multilib' 'jack2-dbus-multilib')
+replaces=('jack2-multilib' 'jack2-dbus-multilib')
+source=("http://jackaudio.org/downloads/jack-1.9.9.5.tar.bz2")
+md5sums=('6c9de6b89db9d7076fa2ce222816cf4c')
+
+prepare() {
+  cd "$srcdir/jack-$pkgver"
+
+  # ugly dynamic patch to build just the 32 bit jack client lib
+  # (compatible with previous releases and hoping with the next)
+  sed -e '/serverlib/,/clientlib/{/clientlib/!d}' \
+      -e '/clientlib32bit/i\\tclientlib.posted = True' \
+      -e '1,/clientlib32bit/!d' \
+      -i common/wscript
+
+  # celt and opus are not required to build
+  sed -i 's/, "CELT", "OPUS"//' common/wscript
+}
+
+build() {
+  cd "$srcdir/jack-$pkgver"
+  python2 waf configure --prefix=/usr \
+                        --libdir=/usr/lib32 \
+                        --mixed
+  cd common
+  python2 ../waf build $MAKEFLAGS
+}
+
+package() {
+  cd "$srcdir/jack-$pkgver/build/common"
+
+  # jack client 32 bit lib
+  install -Dm755 libjack.so "$pkgdir/usr/lib32/libjack.so.0.1.0"
+  ln -s libjack.so.0.1.0 "$pkgdir/usr/lib32/libjack.so.0"
+  ln -s libjack.so.0.1.0 "$pkgdir/usr/lib32/libjack.so"
+}
+
+# vim:set ts=2 sw=2 et:


Property changes on: lib32-jack2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list