SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libquicktime"

# SliTaz package receipt.

PACKAGE="libquicktime"
VERSION="1.2.4"
CATEGORY="multimedia"
MAINTAINER="jozee@slitaz.org"
LICENSE="LGPL2.1"
SHORT_DESC="A library for reading and writing quicktime files."
WEB_SITE="https://libquicktime.sourceforge.net/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264"
BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev x264-dev zlib-dev mesa-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/libquicktime/files/libquicktime/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    patch -p0 < $stuff/ffmpeg.u
    ./configure --prefix=/usr  \
        --enable-gpl \
        --with-ffmpeg \
        --with-x264 \
        --without-doxygen \
        $CONFIGURE_ARGS &&
    make -j 4 &&
    make DESTDIR=$DESTDIR install
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/$PACKAGE
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*so* $fs/usr/lib/
    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)