SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gst-plugins-good-1.0"

# SliTaz package receipt.

PACKAGE="gst-plugins-good-1.0"
VERSION="1.16.2"
SERIES="1.0"
CATEGORY="multimedia"
SHORT_DESC="GStreamer Base Plugins."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="https://gstreamer.freedesktop.org/"

SOURCE="gst-plugins-good"
TARBALL="$SOURCE-$VERSION.tar.xz"
WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL"

DEPENDS="alsa-lib gstreamer-1.0 jpeg mpg123 pango"
BUILD_DEPENDS="gst-plugins-base-1.0-dev gstreamer-1.0-dev 
    jpeg-dev mpg123-dev"

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

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

    ./configure                            \
        --prefix=/usr                        \
        --sysconfdir=/etc                    \
        --localstatedir=/var                    \
        --enable-experimental                    \
        --disable-static                    \
        --disable-debug                        \
        --disable-libvisual                    \
        --enable-introspection=no                \
        --with-package-name="GStreamer Base Plugins ($SERIES)"    \
        --with-package-origin="http://www.slitaz.org/"        \
        $CONFIGURE_ARGS | grep -v 'No package' &&
    make $MAKEFLAGS &&
    make install 2>/dev/null
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/gstreamer-$SERIES
#    mkdir -p $fs/usr/share/locale
    mv $install/usr/lib/gstreamer-$SERIES/*.so*    $fs/usr/lib/gstreamer-$SERIES
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)