summaryrefslogtreecommitdiff
path: root/community/canorus
diff options
context:
space:
mode:
Diffstat (limited to 'community/canorus')
-rw-r--r--community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch11
-rw-r--r--community/canorus/PKGBUILD8
2 files changed, 16 insertions, 3 deletions
diff --git a/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch b/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch
new file mode 100644
index 000000000..05317541d
--- /dev/null
+++ b/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch
@@ -0,0 +1,11 @@
+--- canorus-0.7.R1002.orig/src/CMakeLists.txt 2009-03-27 05:25:52.000000000 -0500
++++ canorus-0.7.R1002/src/CMakeLists.txt 2012-11-15 06:26:41.884594717 -0500
+@@ -600,7 +600,7 @@
+ # command. Never remove that line :-)
+ # Add ${QT_QTTEST_LIBRARY} below to add the Qt Test library as well
+ # Add ${POPPLERQT4_LIBRARY} ${POPPLER_LIBRARY} to reactivate poppler libraries
+-TARGET_LINK_LIBRARIES(canorus ${QT_LIBRARIES} ${RUBY_LIBRARY} ${PYTHON_LIBRARY} )
++TARGET_LINK_LIBRARIES(canorus ${QT_LIBRARIES} ${RUBY_LIBRARY} ${PYTHON_LIBRARY} -lz -lpthread)
+
+ ############################
+ # RtMIDI Library additions #
diff --git a/community/canorus/PKGBUILD b/community/canorus/PKGBUILD
index 9ea89a79a..4767b9030 100644
--- a/community/canorus/PKGBUILD
+++ b/community/canorus/PKGBUILD
@@ -8,14 +8,16 @@ pkgname=canorus
pkgver=0.7.R1002
pkgrel=5
pkgdesc="A free music score editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.canorus.org/"
license=('GPL')
depends=('qt4' 'alsa-lib' 'python2' 'swig' 'zlib')
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