wok-next diff gst1-plugins-good/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 073c7806c2a2 |
children | 5baa3b6a24e7 |
line diff
1.1 --- a/gst1-plugins-good/receipt Wed Oct 25 13:00:12 2017 +0200 1.2 +++ b/gst1-plugins-good/receipt Fri Mar 30 19:31:50 2018 +0300 1.3 @@ -6,42 +6,44 @@ 1.4 SHORT_DESC="GStreamer good Plugins" 1.5 MAINTAINER="psychomaniak@xakep.ru" 1.6 LICENSE="GPL2" 1.7 +WEB_SITE="http://gstreamer.freedesktop.org/" 1.8 + 1.9 SOURCE="gst-plugins-good" 1.10 TARBALL="$SOURCE-$VERSION.tar.xz" 1.11 -WEB_SITE="http://gstreamer.freedesktop.org/" 1.12 WGET_URL="${WEB_SITE}src/$SOURCE/$TARBALL" 1.13 1.14 BUILD_DEPENDS="gstreamer1-dev gst1-plugins-base-dev mpg123-dev jpeg-dev" 1.15 SPLIT="gst1-plugins-good-dev" 1.16 1.17 -# Rules to configure and make the package. 1.18 -compile_rules() 1.19 -{ 1.20 +compile_rules() { 1.21 sed '/set ERROR_C/d' -i configure 1.22 sed '/set ERROR_OBJC/d' -i configure 1.23 + 1.24 ./configure \ 1.25 - --prefix=/usr --sysconfdir=/etc \ 1.26 - --localstatedir=/var --enable-experimental \ 1.27 - --disable-static --disable-debug \ 1.28 - --disable-libvisual --enable-introspection=no \ 1.29 - --with-package-name="GStreamer Base Plugins ($SERIES)" \ 1.30 + --enable-experimental \ 1.31 + --disable-static \ 1.32 + --disable-debug \ 1.33 + --disable-libvisual \ 1.34 + --enable-introspection=no \ 1.35 + --with-package-name="GStreamer Base Plugins (1.10)" \ 1.36 --with-package-origin="http://www.slitaz.org/" \ 1.37 - $CONFIGURE_ARGS | grep -v 'No package' && 1.38 - make $MAKEFLAGS && make install 2>/dev/null 1.39 + $CONFIGURE_ARGS && 1.40 + make $MAKEFLAGS && 1.41 + make install 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 -case $PACKAGE in 1.48 - gst1-plugins-good) copy @std 1.49 +genpkg_rules() { 1.50 + case $PACKAGE in 1.51 + gst1-plugins-good) 1.52 + copy @std 1.53 DEPENDS="gstreamer1 gst1-plugins-base pango alsa-lib \ 1.54 mpg123 jpeg" 1.55 - ;; 1.56 - *-dev) copy @dev 1.57 + ;; 1.58 + *-dev) 1.59 + copy @dev 1.60 DEPENDS="gstreamer1-dev gst1-plugins-base-dev \ 1.61 gstreamer1 gst1-plugins-base gst1-plugins-good \ 1.62 mpg123-dev jpeg-dev " 1.63 - ;; 1.64 -esac 1.65 + ;; 1.66 + esac 1.67 }