wok-next diff gst0-plugins-ugly/receipt @ rev 20244

Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 07 10:54:15 2017 +0200 (2017-11-07)
parents 0e8dadf052b9
children 757d032c55c7
line diff
     1.1 --- a/gst0-plugins-ugly/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.2 +++ b/gst0-plugins-ugly/receipt	Tue Nov 07 10:54:15 2017 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gst0-plugins-ugly"
     1.8  VERSION="0.10.19"
     1.9 @@ -13,15 +13,13 @@
    1.10  WGET_URL="$WEB_SITE/src/gst-plugins-ugly/$TARBALL"
    1.11  LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.12  
    1.13 -DEPENDS="gst0-plugins-base lame libdvdread
    1.14 -libcdio libmad libmpeg2 opencore-amr"
    1.15  BUILD_DEPENDS="gstreamer0-dev gst0-plugins-base-dev lame-dev libdvdread-dev
    1.16  libcdio-dev libmad-dev libmpeg2-dev x264-dev"
    1.17 +SPLIT="gst0-plugins-ugly gst0-plugins-ugly-dev"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	cd $src
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25  		--sysconfdir=/etc \
    1.26 @@ -38,10 +36,24 @@
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.31 -	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.32 -	mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
    1.33 -	for locale in $LOCALES; do
    1.34 -		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.35 -	done
    1.36 +	case $PACKAGE in
    1.37 +	gst0-plugins-ugly)
    1.38 +		DEPENDS="gst0-plugins-base lame libdvdread libcdio libmad \
    1.39 +			libmpeg2 opencore-amr"
    1.40 +		mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.41 +		mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.42 +		mv $install/usr/share/gstreamer-$SERIES $fs/usr/share
    1.43 +		for locale in $LOCALES; do
    1.44 +			mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.45 +		done
    1.46 +		;;
    1.47 +	gst0-plugins-ugly-dev)
    1.48 +		CAT="development|gst0-plugins-ugly devel files"
    1.49 +		DEPENDS="gstreamer0-dev gst0-plugins-base-dev lame-dev \
    1.50 +			libdvdread-dev libcdio-dev libmad-dev libmpeg2-dev \
    1.51 +			x264-dev"
    1.52 +		mkdir -p $fs/usr/lib/gstreamer-$SERIES
    1.53 +		cp -a $install/usr/lib/gstreamer-$SERIES/*.*a $fs/usr/lib/gstreamer-$SERIES
    1.54 +		;;
    1.55 +	esac
    1.56  }