summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pompili2016-04-29 18:28:47 +0200
committerMarco Pompili2016-04-29 18:29:03 +0200
commitb9138b4f1a50245d6b9bf45f8ced0d4785698b69 (patch)
treec533e33ff8913157ddaec9bdd8982a5f6d46a58b
parent15ac9bd80b0df30dec8cad97883b571056cdaff6 (diff)
downloadaur-b9138b4f1a50245d6b9bf45f8ced0d4785698b69.tar.gz
Version 0.9.3-2, fix RtAudio.h path
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
-rw-r--r--rtAudio.patch11
3 files changed, 26 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d44bf22b4d..751dad7d2ee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Mar 10 10:11:31 UTC 2016
+# Fri Apr 29 16:27:47 UTC 2016
pkgbase = openframeworks
pkgdesc = openFrameworks is an open source C++ toolkit for creative coding.
pkgver = 0.9.3
- pkgrel = 1
+ pkgrel = 2
url = http://openframeworks.cc/
install = openframeworks.install
arch = x86_64
@@ -32,11 +32,12 @@ pkgbase = openframeworks
optdepends = qtcreator
optdepends = xterm
options = !strip
- source = http://www.openframeworks.cc/versions/v0.9.3/of_v0.9.3_linux_release.tar.gz
source = http://www.openframeworks.cc/versions/v0.9.3/of_v0.9.3_linux64_release.tar.gz
+ source = rtAudio.patch
source = of-make-workspace
- md5sums = 5b9a6cf3e8ba372eba59a13cb403ea00
md5sums = 95c5f436a66489ed1ca460bf593bdbe1
+ md5sums = 31600cdc597a275295fa35cf178f83c0
md5sums = 594d0a3c82e0451f7b7fb353e3b658c6
pkgname = openframeworks
+
diff --git a/PKGBUILD b/PKGBUILD
index cfcb00e502f..8ca924472d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=openframeworks
pkgver=0.9.3
-pkgrel=1
+pkgrel=2
pkgdesc="openFrameworks is an open source C++ toolkit for creative coding."
url="http://openframeworks.cc/"
arch=('x86_64' 'i686')
@@ -19,11 +19,14 @@ install=openframeworks.install
[[ "$CARCH" == "i686" ]] && _arch="linux" || _arch="linux64"
_name="of_v${pkgver}_${_arch}_release"
-source=("http://www.openframeworks.cc/versions/v${pkgver}/${_name}.tar.gz" "of-make-workspace")
+source=("http://www.openframeworks.cc/versions/v${pkgver}/${_name}.tar.gz"
+ "rtAudio.patch"
+ "of-make-workspace")
[[ "$CARCH" == "i686" ]] && md5sums=("5b9a6cf3e8ba372eba59a13cb403ea00") || md5sums=("95c5f436a66489ed1ca460bf593bdbe1")
-md5sums+=("594d0a3c82e0451f7b7fb353e3b658c6")
+md5sums+=("31600cdc597a275295fa35cf178f83c0"
+ "594d0a3c82e0451f7b7fb353e3b658c6")
prepare() {
export OF_ROOT=${srcdir}/${_name}
@@ -53,8 +56,11 @@ prepare() {
cd ${OF_ROOT}/scripts/apothecary
./apothecary -j${cores} update poco
-
fi
+
+ msg2 "Fix RtAudio.h path"
+ cd $srcdir
+ patch ${srcdir}/${_name}/libs/openFrameworks/sound/ofRtAudioSoundStream.cpp rtAudio.patch
}
build() {
diff --git a/rtAudio.patch b/rtAudio.patch
new file mode 100644
index 00000000000..3150088e0c9
--- /dev/null
+++ b/rtAudio.patch
@@ -0,0 +1,11 @@
+--- ofRtAudioSoundStream.cpp 2016-03-09 17:40:44.000000000 +0100
++++ ofRtAudioSoundStream.cpp.fixed 2016-04-29 18:06:13.321128680 +0200
+@@ -5,7 +5,7 @@
+ #include "ofSoundStream.h"
+ #include "ofMath.h"
+ #include "ofUtils.h"
+-#include "RtAudio.h"
++#include "rtaudio/RtAudio.h"
+
+
+ //------------------------------------------------------------------------------