summaryrefslogtreecommitdiff
path: root/community/openmovieeditor/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/openmovieeditor/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/openmovieeditor/PKGBUILD')
-rw-r--r--community/openmovieeditor/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/openmovieeditor/PKGBUILD b/community/openmovieeditor/PKGBUILD
new file mode 100644
index 000000000..00bca41d7
--- /dev/null
+++ b/community/openmovieeditor/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 9280 2010-01-24 22:58:30Z foutrelis $
+# Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
+# Maintainer: Robert Emil Berge
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+pkgname=openmovieeditor
+pkgver=0.0.20090105
+pkgrel=6
+pkgdesc="A simple video editor"
+arch=('i686' 'x86_64')
+url="http://openmovieeditor.sourceforge.net/HomePage"
+license=('GPL')
+depends=('libquicktime' 'libsamplerate' 'fltk' 'jack-audio-connection-kit' 'portaudio' 'gmerlin-avdecoder')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('ce4f76c0b3e90aabf9c2d5c8dd31e9b1')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ unset LDFLAGS
+
+ # Fix missing includes
+ sed -e 's|<sstream>|<sstream>\n#include <stdint.h>|' -i src/VideoViewGL.H
+ sed -e 's|<string>|<string>\n#include <stdint.h>|' -i src/WaveForm.H
+ sed -e 's|<stdint.h>|<stdint.h>\n#include <stdio.h>|' -i src/AddCommand.H
+ sed -e 's|<string>|<stdint.h>\n#include <stdio.h>|' -i src/MediaBrowser.H
+ sed -e 's|<iostream>|<iostream>\n#include <stdio.h>|' -i src/fl_font_browser.h
+
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$pkgdir install
+}