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

updated pciids (20200329 -> 20211230)
author Hans-G?nter Theisgen
date Thu Dec 30 06:42:15 2021 +0100 (2021-12-30)
parents f985f12b5206
children
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
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 25 }
pascal@24055 26
jozee@6826 27 # Rules to configure and make the package.
pascal@19689 28 compile_rules()
pascal@19689 29 {
Hans-G?nter@21455 30 export CC=gcc-83
Hans-G?nter@21455 31 export CXX=g++-83
Hans-G?nter@21455 32
Hans-G?nter@21451 33 ./configure \
Hans-G?nter@21451 34 --prefix=/usr \
Hans-G?nter@21451 35 --enable-gpl \
Hans-G?nter@21451 36 --disable-mmx \
Hans-G?nter@21451 37 --qimage-libdir=/usr/lib/ \
Hans-G?nter@21451 38 --qimage-includedir=/usr/include/Qt \
Hans-G?nter@21451 39 --avformat-swscale &&
Hans-G?nter@21817 40 make &&
pascal@19689 41 make install
jozee@6826 42 }
jozee@6826 43
jozee@6826 44 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 45 genpkg_rules()
jozee@6826 46 {
Hans-G?nter@21451 47 mkdir -p $fs/usr/lib/$PACKAGE
Hans-G?nter@21451 48 mkdir -p $fs/usr/share
Hans-G?nter@21451 49
Hans-G?nter@21451 50 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21451 51 cp -a $install/usr/lib/*so* $fs/usr/lib/
Hans-G?nter@21451 52 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@21451 53 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6826 54 }