summaryrefslogtreecommitdiffstats
path: root/mlt/Pkgfile
blob: 7946cb812cf204697eaac65a945f25164d3f48b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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/
}