wok-6.x view mlt/receipt @ rev 19716
leocad: add -lpng12
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 08:12:10 2017 +0100 (2017-02-16) |
parents | c8285a3d30a2 |
children | f8489295fb90 |
line source
1 # SliTaz package receipt.
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="multimedia"
14 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg \
15 frei0r-plugins"
16 BUILD_DEPENDS="libsdl-image-dev libsamplerate-dev libdv-dev Qt4-dev sox-dev \
17 libxml2-dev gtk+-dev ffmpeg-dev frei0r-plugins-dev"
19 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # update to ffmpeg 2.0
24 sed -i -e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/MAX_AUDIO_FRAME_SIZE/' \
25 -e 's/avcodec_decode_audio3/avcodec_decode_audio4/' \
26 src/modules/avformat/*.c
27 ./configure --prefix=/usr \
28 --enable-gpl \
29 --disable-mmx \
30 --qimage-libdir=/usr/lib/ \
31 --qimage-includedir=/usr/include/Qt \
32 --avformat-swscale &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*so* $fs/usr/lib/
43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
45 }