wok-next view mlt/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }