summaryrefslogtreecommitdiff
path: root/community/xwax/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/xwax/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/xwax/PKGBUILD')
-rw-r--r--community/xwax/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/xwax/PKGBUILD b/community/xwax/PKGBUILD
new file mode 100644
index 000000000..0dbd50eae
--- /dev/null
+++ b/community/xwax/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 92791 2013-06-15 08:44:39Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: sputnick <gilles DOT quenot AT gmail DOT com>
+
+pkgname=xwax
+pkgver=1.4
+pkgrel=1
+pkgdesc='Open-source vinyl emulation software for Linux.'
+arch=('i686' 'x86_64')
+url='http://www.xwax.co.uk/'
+license=('GPL')
+depends=('alsa-lib' 'sdl_ttf' 'ttf-dejavu')
+optdepends=('cdparanoia: for CD import'
+ 'mpg123: for MP3 import'
+ 'ffmpeg: for video fallback import')
+source=("http://www.xwax.co.uk/releases/${pkgname}-${pkgver}.tar.gz")
+md5sums=('01afde1f1222fca38eab736e0b3df116')
+
+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}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" EXECDIR="/usr/share/${pkgname}" install
+}