wok-6.x view mlt/receipt @ rev 24798

updated libhx and libhx-dev (3.24 -> 4.3)
author Hans-G?nter Theisgen
date Mon Mar 21 17:23:16 2022 +0100 (2022-03-21)
parents f985f12b5206
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="6.16.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 gcc83-lib-base gtk+ libdv libsamplerate \
16 libsdl2-image libxml2 qt4 sox"
17 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev frei0r-plugins-dev gcc83 gtk+-dev \
18 libdv-dev libsamplerate-dev libsdl2-image-dev libxml2-dev \
19 mesa-dev pulseaudio-dev Qt4-dev sox-dev"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CC=gcc-83
31 export CXX=g++-83
33 ./configure \
34 --prefix=/usr \
35 --enable-gpl \
36 --disable-mmx \
37 --qimage-libdir=/usr/lib/ \
38 --qimage-includedir=/usr/include/Qt \
39 --avformat-swscale &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib/$PACKAGE
48 mkdir -p $fs/usr/share
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/*so* $fs/usr/lib/
52 cp -a $install/usr/share/$PACKAGE $fs/usr/share
53 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
54 }