From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- mlt/Pkgfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 mlt/Pkgfile (limited to 'mlt/Pkgfile') diff --git a/mlt/Pkgfile b/mlt/Pkgfile new file mode 100755 index 000000000..7946cb812 --- /dev/null +++ b/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.6 +release=1 + +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/ +} -- cgit v1.2.3-70-g09d2