summaryrefslogtreecommitdiff
path: root/community/canorus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/canorus/PKGBUILD')
-rw-r--r--community/canorus/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/canorus/PKGBUILD b/community/canorus/PKGBUILD
index 184290b1e..c2a37de26 100644
--- a/community/canorus/PKGBUILD
+++ b/community/canorus/PKGBUILD
@@ -14,11 +14,14 @@ license=('GPL')
depends=('qt' 'alsa-lib' 'python2' 'swig')
makedepends=('cmake')
options=('strip')
-source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2)
-md5sums=('5575b7c54633056a463177579a390318')
+source=(http://download.berlios.de/$pkgname/$pkgname\_$pkgver\_source.tar.bz2
+ 0006-Add-lz-and-lpthread-to-linker-flags.patch)
+md5sums=('5575b7c54633056a463177579a390318'
+ '99e545a1da44006bc5e436728edfda15')
build() {
cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/0006-Add-lz-and-lpthread-to-linker-flags.patch
export QTDIR=/usr
cmake . -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
-DDEFAULT_DATA_DIR="/usr/share/canorus" \