wok annotate mlt/receipt @ rev 21451

updated mlt and mlt-dev (6.4.1 -> 6.14.0)
author Hans-G?nter Theisgen
date Mon Apr 29 17:15:56 2019 +0100 (2019-04-29)
parents 6e8b1bcb30e2
children 3c5c8872d9c0
rev   line source
jozee@6826 1 # SliTaz package receipt.
jozee@6826 2
jozee@6826 3 PACKAGE="mlt"
Hans-G?nter@21451 4 VERSION="6.14.0"
jozee@6826 5 CATEGORY="multimedia"
Hans-G?nter@21451 6 TAGS="multimedia"
jozee@6826 7 MAINTAINER="jozee@slitaz.org"
pascal@15583 8 LICENSE="LGPL2.1"
Hans-G?nter@21451 9 SHORT_DESC="An open source multimedia framework."
Hans-G?nter@21451 10 WEB_SITE="https://www.mltframework.org/"
Hans-G?nter@21451 11
jozee@6826 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19816 13 WGET_URL="https://github.com/mltframework/mlt/archive/v$VERSION.tar.gz"
jozee@6826 14
Hans-G?nter@21451 15 DEPENDS="ffmpeg frei0r-plugins gtk+ libdv libsamplerate libsdl-image libxml2 \
Hans-G?nter@21451 16 qt4 sox"
Hans-G?nter@21451 17 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev frei0r-plugins-dev gtk+-dev \
Hans-G?nter@21451 18 libdv-dev libsamplerate-dev libsdl-image-dev libxml2-dev \
Hans-G?nter@21451 19 mesa-dev pulseaudio-dev Qt4-dev sox-dev"
pascal@15583 20
jozee@6826 21 # Rules to configure and make the package.
jozee@6826 22
pascal@19689 23 compile_rules()
pascal@19689 24 {
Hans-G?nter@21451 25 ./configure \
Hans-G?nter@21451 26 --prefix=/usr \
Hans-G?nter@21451 27 --enable-gpl \
Hans-G?nter@21451 28 --disable-mmx \
Hans-G?nter@21451 29 --qimage-libdir=/usr/lib/ \
Hans-G?nter@21451 30 --qimage-includedir=/usr/include/Qt \
Hans-G?nter@21451 31 --avformat-swscale &&
Hans-G?nter@21451 32 make -j 1 &&
pascal@19689 33 make install
jozee@6826 34 }
jozee@6826 35
jozee@6826 36 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 37 genpkg_rules()
jozee@6826 38 {
Hans-G?nter@21451 39 mkdir -p $fs/usr/lib/$PACKAGE
Hans-G?nter@21451 40 mkdir -p $fs/usr/share
Hans-G?nter@21451 41
Hans-G?nter@21451 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21451 43 cp -a $install/usr/lib/*so* $fs/usr/lib/
Hans-G?nter@21451 44 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@21451 45 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6826 46 }