SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gst-libav"

# SliTaz package receipt.

PACKAGE="gst-libav"
VERSION="1.16.2"
SERIES="1.0"
CATEGORY="multimedia"
SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="https://gstreamer.freedesktop.org/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"

DEPENDS="bzip2 gst-plugins-base-1.0 gst-plugins-good-1.0"
BUILD_DEPENDS="bzip2-dev coreutils-file-format coreutils-file-special 
    glib-dev gst-plugins-base-1.0-dev gstreamer-1.0-dev gtk-doc 
    yasm"

current_version()
{
    wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
    sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i '/set ERROR_C/d'    configure

    ./configure                                \
        --prefix=/usr                            \
        --disable-static                        \
        --with-libav-extra-configure="--enable-runtime-cpudetect"    \
        --with-package-name="GStreamer libav Plugin ($SERIES)"        \
        --with-package-origin="http://www.slitaz.org/"            \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$install install 2>/dev/null
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/gstreamer-$SERIES
    cp -a $install/usr/lib/gstreamer-$SERIES/*.so*    $fs/usr/lib/gstreamer-$SERIES
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)