1 # $Id: PKGBUILD 57798 2011-11-03 09:05:56Z spupykin $
2 # Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
3 # Maintainer: Robert Emil Berge
4 # Maintainer: Mateusz Herych <heniekk@gmail.com>
6 pkgname=openmovieeditor
9 pkgdesc="A simple video editor"
10 arch=('i686' 'x86_64')
11 url="http://openmovieeditor.sourceforge.net/HomePage"
13 depends=('libquicktime' 'libsamplerate' 'fltk' 'jack'
14 'portaudio' 'gmerlin-avdecoder' 'libxtst')
15 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
16 md5sums=('ce4f76c0b3e90aabf9c2d5c8dd31e9b1')
19 cd $srcdir/$pkgname-$pkgver
22 export CFLAGS="$CFLAGS -fpermissive"
23 export CXXFLAGS="$CXXFLAGS -fpermissive"
24 export CPPFLAGS="$CPPFLAGS -fpermissive"
25 sed -i 's|= sizes();|= (short*)sizes();|g' src/Fl_Split.cpp
27 # Fix missing includes
28 sed -e 's|<sstream>|<sstream>\n#include <stdint.h>|' -i src/VideoViewGL.H
29 sed -e 's|<string>|<string>\n#include <stdint.h>|' -i src/WaveForm.H
30 sed -e 's|<stdint.h>|<stdint.h>\n#include <stdio.h>|' -i src/AddCommand.H
31 sed -e 's|<string>|<stdint.h>\n#include <stdio.h>|' -i src/MediaBrowser.H
32 sed -e 's|<iostream>|<iostream>\n#include <stdio.h>|' -i src/fl_font_browser.h
34 ./configure --prefix=/usr
36 make DESTDIR=$pkgdir install