wok-next view mlt/receipt @ rev 20827

new tor: 0.3.3.7
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 10:13:14 2018 +0000 (2018-06-14)
parents bb009a6ef036
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mlt"
4 VERSION="0.7.2"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="LGPL2.1"
8 SHORT_DESC="An open source multimedia framework"
9 WEB_SITE="http://www.mltframework.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SPLIT="mlt-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --enable-gpl \
20 --disable-mmx \
21 --qimage-libdir=/usr/lib/ \
22 --qimage-includedir=/usr/include/Qt \
23 --avformat-swscale &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 mlt)
31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*so* $fs/usr/lib/
34 cp -a $install/usr/share/$PACKAGE $fs/usr/share
35 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
36 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ \
37 ffmpeg frei0r-plugins"
38 TAGS="multimedia"
39 ;;
40 *-dev)
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
43 cp -a $install/usr/include $fs/usr
44 ;;
45 esac
46 }