wok-current view gst-plugins-good/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
parents | 9258333ebe34 |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-good"
4 VERSION="0.10.31"
5 SERIES="${VERSION%.*}" # first two numbers from version
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 grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
32 sed -i 's|.*vbuffer.input|// &|' sys/v4l2/gstv4l2bufferpool.c
33 sed -i '/e V4L2_CID_.CENTER/d' sys/v4l2/v4l2_calls.c
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --localstatedir=/var \
38 --enable-experimental \
39 --disable-static \
40 --disable-debug \
41 --disable-hal \
42 --disable-esd \
43 --with-package-name="GStreamer Good Plugins ($SERIES)" \
44 --with-package-origin="http://www.slitaz.org/" \
45 $CONFIGURE_ARGS &&
46 make $MAKEFLAGS &&
47 make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
54 cp -a $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
55 cp -a $install/usr/share/gstreamer* $fs/usr/share
56 # for locale in $LOCALES; do
57 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
58 # done
59 for i in dv jack shout2 souphttpsrc taglib wavpack rtp rtpmanager rtsp deinterlace video4linux2; do
60 rm -f $fs/usr/lib/gstreamer-$SERIES/libgst${i}.so
61 done
62 }