summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f67ffeb4229..3c8726c2554 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,13 @@
-# Maintainer: SpepS <dreamspepser at yahoo dot it>
+# Maintainer: dustball <sebastiansonne at hush dot com>
pkgname=gnaural
pkgver=1.0.20110606
-pkgrel=2
+pkgrel=3
pkgdesc="An opensource binaural-beat generator"
arch=(i686 x86_64)
url="http://gnaural.sourceforge.net/"
license=('GPL')
depends=('libglade' 'portaudio')
-conflicts=('gnaural2' 'gnaural-cvs' 'gnaural-bbgen')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/project/$pkgname/Gnaural/$pkgname-$pkgver.tar.gz")
md5sums=('8eea03a78ba02ee5d13c55fc6c0c9a00')
@@ -16,6 +15,10 @@ md5sums=('8eea03a78ba02ee5d13c55fc6c0c9a00')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # Fix a bug where an inlined function isn't marked as extern. GCC seems to have tolerated rather long, but eventually broke.
+ sed -i 's/#endif/extern inline void BB_ResetAllVoices ();\n#endif/g' src/main.h src/gnauralXML.h
+ sed -i 's/^inline void BB_ResetAllVoices/void BB_ResetAllVoices/g' src/BinauralBeat.c
+
# desktop file path fix
sed -i "s|gnome/apps/Multimedia|applications|g" Makefile.*