Date: Saturday, November 23, 2019 @ 09:19:18 Author: dvzrv Revision: 531991
upgpkg: xwax 1.7-2 Adding contributor. Switching to correct license (GPL2). Adding all direct library dependencies. Extending optdepends with importer tools suggested by upstream. Removing change of REALTIME_PRIORITY (as it affectively only lowers the default priority, but didn't fix the display of the default. Also building jack backend so xwax can be a JACK client. Installing helper binaries to /usr/lib/xwax, as /usr/share is not for executables. Modified: xwax/trunk/PKGBUILD ----------+ PKGBUILD | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-23 07:05:14 UTC (rev 531990) +++ PKGBUILD 2019-11-23 09:19:18 UTC (rev 531991) @@ -1,31 +1,36 @@ # Maintainer: Lukas Fleischer <[email protected]> +# Contributor: David Runge <[email protected]> # Contributor: sputnick <gilles DOT quenot AT gmail DOT com> pkgname=xwax pkgver=1.7 -pkgrel=1 +pkgrel=2 pkgdesc='Open-source vinyl emulation software for Linux.' arch=('x86_64') url='https://www.xwax.co.uk/' -license=('GPL') -depends=('alsa-lib' 'sdl_ttf' 'ttf-dejavu') -optdepends=('cdparanoia: for CD import' +license=('GPL2') +depends=('alsa-lib' 'glibc' 'libjack.so' 'sdl' 'sdl_ttf' 'ttf-dejavu') +optdepends=('cdparanoia: for direct CD import' + 'faad: for AAC import' + 'ffmpeg: for various audio and video import' + 'flac: for FLAC import' 'mpg123: for MP3 import' - 'ffmpeg: for video fallback import') + 'sox: for live audio import' + 'vorbis-tools: for OGG import') source=("https://www.xwax.co.uk/releases/${pkgname}-${pkgver}.tar.gz") -md5sums=('0be222a89d58fc6c7167a6fcbdab7e09') +sha512sums=('ab0fcaf32f1fd1d6b38323095524f1932a067a3d04d40e4b043993e360411fed0c4b78bb71662581b438cb1e3005bc21659db4521a6ec704994b2e8e1b7e62d4') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # patch "rig.c" to use Arch Linux's default rtprio value - sed -i 's/^#define REALTIME_PRIORITY 80/#define REALTIME_PRIORITY 65/' rig.c - - ./configure --enable-alsa --prefix /usr - make EXECDIR="/usr/share/${pkgname}" + cd "${pkgname}-${pkgver}" + ./configure --prefix /usr \ + --enable-alsa \ + --enable-jack + make EXECDIR="/usr/lib/${pkgname}" } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" EXECDIR="/usr/share/${pkgname}" install + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" EXECDIR="/usr/lib/${pkgname}" install + install -vDm 644 {CHANGES,README} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" }
