wok-6.x annotate mlt/receipt @ rev 23330

updated perl-file-find-rule (0.32 -> 0.34)
author Hans-G?nter Theisgen
date Mon Mar 30 17:49:29 2020 +0100 (2020-03-30)
parents 3c5c8872d9c0
children 5ea0ce1cecc0
rev   line source
jozee@6826 1 # SliTaz package receipt.
jozee@6826 2
jozee@6826 3 PACKAGE="mlt"
Hans-G?nter@21817 4 VERSION="6.16.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@21817 15 DEPENDS="ffmpeg frei0r-plugins gcc83-lib-base gtk+ libdv libsamplerate \
Hans-G?nter@21817 16 libsdl2-image libxml2 qt4 sox"
Hans-G?nter@21455 17 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev frei0r-plugins-dev gcc83 gtk+-dev \
Hans-G?nter@21817 18 libdv-dev libsamplerate-dev libsdl2-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@21455 25 export CC=gcc-83
Hans-G?nter@21455 26 export CXX=g++-83
Hans-G?nter@21455 27
Hans-G?nter@21451 28 ./configure \
Hans-G?nter@21451 29 --prefix=/usr \
Hans-G?nter@21451 30 --enable-gpl \
Hans-G?nter@21451 31 --disable-mmx \
Hans-G?nter@21451 32 --qimage-libdir=/usr/lib/ \
Hans-G?nter@21451 33 --qimage-includedir=/usr/include/Qt \
Hans-G?nter@21451 34 --avformat-swscale &&
Hans-G?nter@21817 35 make &&
pascal@19689 36 make install
jozee@6826 37 }
jozee@6826 38
jozee@6826 39 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 40 genpkg_rules()
jozee@6826 41 {
Hans-G?nter@21451 42 mkdir -p $fs/usr/lib/$PACKAGE
Hans-G?nter@21451 43 mkdir -p $fs/usr/share
Hans-G?nter@21451 44
Hans-G?nter@21451 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21451 46 cp -a $install/usr/lib/*so* $fs/usr/lib/
Hans-G?nter@21451 47 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@21451 48 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6826 49 }