SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mlt"

# SliTaz package receipt.

PACKAGE="mlt"
VERSION="6.16.0"
CATEGORY="multimedia"
TAGS="multimedia"
MAINTAINER="jozee@slitaz.org"
LICENSE="LGPL2.1"
SHORT_DESC="An open source multimedia framework."
WEB_SITE="https://www.mltframework.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/mltframework/mlt/archive/v$VERSION.tar.gz"

DEPENDS="ffmpeg frei0r-plugins gcc83-lib-base gtk+ libdv libsamplerate \
    libsdl2-image libxml2 qt4 sox"
BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev frei0r-plugins-dev gcc83 gtk+-dev \
    libdv-dev libsamplerate-dev libsdl2-image-dev libxml2-dev \
    mesa-dev pulseaudio-dev Qt4-dev sox-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CC=gcc-83
    export    CXX=g++-83

    ./configure                    \
        --prefix=/usr                \
        --enable-gpl                \
        --disable-mmx                \
        --qimage-libdir=/usr/lib/        \
        --qimage-includedir=/usr/include/Qt    \
        --avformat-swscale &&
    make &&
    make install 
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/$PACKAGE
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/lib/*so*        $fs/usr/lib/
    cp -a $install/usr/share/$PACKAGE    $fs/usr/share
    cp -a $install/usr/lib/$PACKAGE/*so*    $fs/usr/lib/$PACKAGE
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)