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