wok view mlt/receipt @ rev 21803

created recipe for nnn 2.6
author Hans-G?nter Theisgen
date Sat Aug 10 20:59:16 2019 +0100 (2019-08-10)
parents 06fd77e6f1e7
children f985f12b5206
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="6.14.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 gtk+ libdv libsamplerate libsdl-image libxml2 \
16 qt4 sox"
17 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev frei0r-plugins-dev gcc83 gtk+-dev \
18 libdv-dev libsamplerate-dev libsdl-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 -j 1 &&
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 }