summaryrefslogtreecommitdiffstats
path: root/kde/mlt/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/mlt/Pkgfile')
-rwxr-xr-xkde/mlt/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/kde/mlt/Pkgfile b/kde/mlt/Pkgfile
new file mode 100755
index 000000000..d143e5933
--- /dev/null
+++ b/kde/mlt/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Outil pour la diffusion vidéo
+# URL: http://www.dennedy.org/mlt/twiki/bin/view/MLT/
+# Packager: NuTyX core team
+# Maintainer: thierryn1 at hispeed dot ch
+# Depends on: qt, sdl_image, gtk, ffmpeg, sox, libquicktime, frei0r-plugins, libdv, jack-audio-connection-kit, swig
+# Run on: qt,sdl_image,gtk,ffmpeg,sox,libquicktime,frei0r-plugins,libdv,jack-audio-connection-kit
+
+name=mlt
+version=0.7.4
+release=2
+
+source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --enable-gpl --mandir=/usr/share/man --qimage-include=/usr/include/Qt \
+ --avformat-swscale --avformat-vdpau --infodir=/usr/share/info --disable-sse2
+ make
+ cd src/swig/python
+ sed -i 's_path=`which python_path=`which python2_' build
+ sed -i 's_`python -c_`python2 -c_' build
+ sed -i 's#python-config#python2-config#' build
+ ./build
+ cd $SRC/$name-$version
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/usr/lib/python2.7
+ cd src/swig/python
+ install -m755 mlt.py $PKG/usr/lib/python2.7/
+ install -m755 _mlt.so $PKG/usr/lib/python2.7/
+ install -m755 mlt_wrap.o $PKG/usr/lib/python2.7/
+}