wok view mlt/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (6 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CC=gcc-83
32 export CXX=g++-83
34 ./configure \
35 --prefix=/usr \
36 --enable-gpl \
37 --disable-mmx \
38 --qimage-libdir=/usr/lib/ \
39 --qimage-includedir=/usr/include/Qt \
40 --avformat-swscale &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib/$PACKAGE
49 mkdir -p $fs/usr/share
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/lib/*so* $fs/usr/lib/
53 cp -a $install/usr/share/$PACKAGE $fs/usr/share
54 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
55 }