wok-6.x view mlt/receipt @ rev 22411
VLC: request of --enable-run-as-root, see http://forum.slitaz.org/topic/vlc-player-does-not-run-on-root
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 13 13:43:22 2019 +0000 (2019-12-13) |
parents | 3c5c8872d9c0 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="6.16.0"
5 CATEGORY="multimedia"
6 TAGS="multimedia"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 SHORT_DESC="An open source multimedia framework."
10 WEB_SITE="https://www.mltframework.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mltframework/mlt/archive/v$VERSION.tar.gz"
15 DEPENDS="ffmpeg frei0r-plugins gcc83-lib-base gtk+ libdv libsamplerate \
16 libsdl2-image libxml2 qt4 sox"
17 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev frei0r-plugins-dev gcc83 gtk+-dev \
18 libdv-dev libsamplerate-dev libsdl2-image-dev libxml2-dev \
19 mesa-dev pulseaudio-dev Qt4-dev sox-dev"
21 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export CC=gcc-83
26 export CXX=g++-83
28 ./configure \
29 --prefix=/usr \
30 --enable-gpl \
31 --disable-mmx \
32 --qimage-libdir=/usr/lib/ \
33 --qimage-includedir=/usr/include/Qt \
34 --avformat-swscale &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/$PACKAGE
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*so* $fs/usr/lib/
47 cp -a $install/usr/share/$PACKAGE $fs/usr/share
48 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
49 }