wok-next rev 20083

gst1-plugins-good: receipt v2
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 25 12:49:39 2017 +0200 (2017-10-25)
parents a31657918496
children 073c7806c2a2
files gst1-plugins-good/receipt
line diff
     1.1 --- a/gst1-plugins-good/receipt	Wed Oct 25 12:19:39 2017 +0200
     1.2 +++ b/gst1-plugins-good/receipt	Wed Oct 25 12:49:39 2017 +0200
     1.3 @@ -1,10 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gst1-plugins-good"
     1.8  VERSION="1.10.1"
     1.9 -SERIES="1.0"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="GStreamer Base Plugins"
    1.12 +SHORT_DESC="GStreamer good Plugins"
    1.13  MAINTAINER="psychomaniak@xakep.ru"
    1.14  LICENSE="GPL2"
    1.15  SOURCE="gst-plugins-good"
    1.16 @@ -12,7 +11,6 @@
    1.17  WEB_SITE="http://gstreamer.freedesktop.org/"
    1.18  WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL"
    1.19  
    1.20 -DEPENDS="gstreamer1 pango alsa-lib mpg123 jpeg"
    1.21  BUILD_DEPENDS="gstreamer1-dev gst1-plugins-base-dev mpg123-dev jpeg-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24 @@ -34,6 +32,15 @@
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.29 -	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.30 +case $PACKAGE in
    1.31 +		gst1-plugins-good) copy @std
    1.32 +			DEPENDS="gstreamer1 gst1-plugins-base pango alsa-lib \
    1.33 +			mpg123 jpeg"
    1.34 +		;;
    1.35 +		*-dev) copy @dev
    1.36 +			DEPENDS="gstreamer-dev gst1-plugins-base-dev  \
    1.37 +			gst1-plugins-base gstreamer  gst1-plugins-good \
    1.38 +			mpg123-dev jpeg-dev "
    1.39 +		;;
    1.40 +esac
    1.41  }