wok-current annotate gst-plugins-good/receipt @ rev 22367
fix locale-* post_remove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 22 12:30:25 2019 +0100 (2019-11-22) |
parents | 50c95867e6b3 |
children | 3cdc90c472a2 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-good" |
domcox@14019 | 4 VERSION="0.10.31" |
domcox@14019 | 5 SERIES="0.10" |
jozee@2674 | 6 CATEGORY="multimedia" |
jozee@2674 | 7 SHORT_DESC="GStreamer Good Plugins" |
jozee@2674 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
psychomaniak@19130 | 10 SUGGESTED="jack-audio-connection-kit gst-plugins-good-extra" |
domcox@14019 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 12 WEB_SITE="https://gstreamer.freedesktop.org/" |
slaxemulator@10117 | 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
al@16691 | 14 LOCALES="cs da de el es fr hu id it pl pt_BR ru sl sv zh_CN zh_TW" |
slaxemulator@10117 | 15 |
psychomaniak@19130 | 16 DEPENDS="gst-plugins-base cairo flac libjpeg libpng speex bzip2" |
psychomaniak@19132 | 17 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev sqlite-dev \ |
psychomaniak@19132 | 18 cairo-dev flac-dev jpeg-dev libpng-dev libshout-dev \ |
psychomaniak@19132 | 19 libsoup-dev jack-audio-connection-kit-dev libcdio-dev \ |
pascal@15633 | 20 libdv-dev speex-dev taglib-dev wavpack-dev bzip2-dev util-linux-uuid-dev" |
jozee@2674 | 21 |
jozee@2674 | 22 # Rules to configure and make the package. |
jozee@2674 | 23 compile_rules() |
jozee@2674 | 24 { |
pascal@20600 | 25 sed -i 's|.*vbuffer.input|// &|' sys/v4l2/gstv4l2bufferpool.c |
pascal@20600 | 26 sed -i '/e V4L2_CID_.CENTER/d' sys/v4l2/v4l2_calls.c |
jozee@2674 | 27 ./configure \ |
domcox@14019 | 28 --prefix=/usr \ |
domcox@14019 | 29 --sysconfdir=/etc \ |
domcox@14019 | 30 --localstatedir=/var \ |
domcox@14019 | 31 --enable-experimental \ |
domcox@14019 | 32 --disable-static \ |
domcox@14019 | 33 --disable-debug \ |
domcox@14019 | 34 --disable-hal \ |
domcox@14019 | 35 --disable-esd \ |
domcox@14019 | 36 --with-package-name="GStreamer Good Plugins ($SERIES)" \ |
domcox@14019 | 37 --with-package-origin="http://www.slitaz.org/" \ |
pascal@15265 | 38 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 39 make $MAKEFLAGS && |
domcox@14019 | 40 make install |
jozee@2674 | 41 } |
jozee@2674 | 42 |
jozee@2674 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 44 genpkg_rules() |
jozee@2674 | 45 { |
al@16691 | 46 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
al@16691 | 47 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
al@16691 | 48 cp -a $install/usr/share/gstreamer* $fs/usr/share |
psychomaniak@19130 | 49 # for locale in $LOCALES; do |
psychomaniak@19130 | 50 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
psychomaniak@19130 | 51 # done |
psychomaniak@19166 | 52 for i in dv jack shout2 souphttpsrc taglib wavpack rtp rtpmanager rtsp deinterlace video4linux2; do |
psychomaniak@19130 | 53 rm -f $fs/usr/lib/gstreamer-$SERIES/libgst${i}.so |
domcox@14019 | 54 done |
jozee@2674 | 55 } |