# SliTaz package receipt. PACKAGE="gst-plugins-good-1.0" VERSION="1.18.5" 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 meson" 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() { meson build \ --prefix=/usr \ --libdir=lib \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --localstatedir=/var \ --buildtype=release \ -Dpackage-name="GStreamer Good Plugins ($SERIES)" \ -Dpackage-origin="http://www.slitaz.org/" && ninja -C build && ninja -C build install } # 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 }