diff options
author | root <root@rshg047.dnsready.net> | 2011-07-06 23:10:44 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-06 23:10:44 +0000 |
commit | b215b5e985b9310dff8d992510f12a87141fe7cb (patch) | |
tree | bc81c9c0c02ab9a4d6ee15e553850141b8d46f94 /community-testing/openmovieeditor | |
parent | 9d2caacbc33de06407311a5da87e5d22e0266435 (diff) |
Wed Jul 6 23:10:44 UTC 2011
Diffstat (limited to 'community-testing/openmovieeditor')
-rw-r--r-- | community-testing/openmovieeditor/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community-testing/openmovieeditor/PKGBUILD b/community-testing/openmovieeditor/PKGBUILD new file mode 100644 index 000000000..f5edd51ad --- /dev/null +++ b/community-testing/openmovieeditor/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 51110 2011-07-05 10:08:30Z spupykin $ +# Contributor: Robert Emil Berge <filoktetes@linuxophic.org> +# Maintainer: Robert Emil Berge +# Maintainer: Mateusz Herych <heniekk@gmail.com> +pkgname=openmovieeditor +pkgver=0.0.20090105 +pkgrel=7 +pkgdesc="A simple video editor" +arch=('i686' 'x86_64') +url="http://openmovieeditor.sourceforge.net/HomePage" +license=('GPL') +depends=('libquicktime' 'libsamplerate' 'fltk' 'jack' 'portaudio' 'gmerlin-avdecoder') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('ce4f76c0b3e90aabf9c2d5c8dd31e9b1') + +build() { + cd $srcdir/$pkgname-$pkgver + unset LDFLAGS + + export CFLAGS="$CFLAGS -fpermissive" + export CXXFLAGS="$CXXFLAGS -fpermissive" + export CPPFLAGS="$CPPFLAGS -fpermissive" + sed -i 's|= sizes();|= (short*)sizes();|g' src/Fl_Split.cpp + + # 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 + make DESTDIR=$pkgdir install +} |