wok view gst-plugins-good/receipt @ rev 24070

Up harfbuzz (2.8.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 14:28:49 2021 +0000 (2021-07-06)
parents a78610b2eb47
children 9258333ebe34
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 current_version()
23 {
24 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
25 sed /$PACKAGE'-0/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 sed -i 's|.*vbuffer.input|// &|' sys/v4l2/gstv4l2bufferpool.c
32 sed -i '/e V4L2_CID_.CENTER/d' sys/v4l2/v4l2_calls.c
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --enable-experimental \
38 --disable-static \
39 --disable-debug \
40 --disable-hal \
41 --disable-esd \
42 --with-package-name="GStreamer Good Plugins ($SERIES)" \
43 --with-package-origin="http://www.slitaz.org/" \
44 $CONFIGURE_ARGS &&
45 make $MAKEFLAGS &&
46 make install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
53 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
54 cp -a $install/usr/share/gstreamer* $fs/usr/share
55 # for locale in $LOCALES; do
56 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
57 # done
58 for i in dv jack shout2 souphttpsrc taglib wavpack rtp rtpmanager rtsp deinterlace video4linux2; do
59 rm -f $fs/usr/lib/gstreamer-$SERIES/libgst${i}.so
60 done
61 }