wok-next view gst0-plugins-good/receipt @ rev 20435

Up rsync (3.1.3)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 21 18:10:55 2018 +0200 (2018-02-21)
parents 0e8dadf052b9
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gst0-plugins-good"
4 VERSION="0.10.31"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer-0.10 Good Plugins"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://gstreamer.freedesktop.org/"
11 TARBALL="gst-plugins-good-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/gst-plugins-good/0.10/$TARBALL"
14 BUILD_DEPENDS="gettext GConf-dev gtk-doc python glib-dev orc-dev \
15 gstreamer0-dev gst0-plugins-base-dev gtk+-dev libgudev-dev libv4l-dev \
16 xorg-libXfixes-dev xorg-libXdamage-dev aalib-dev flac-dev gdk-pixbuf-dev \
17 jack2-dev libcaca-dev libdv-dev libraw1394-dev libiec61883-dev libavc1394-dev \
18 libshout-dev libsoup-dev speex-dev taglib-dev wavpack-dev libjpeg-turbo-dev"
19 SPLIT="gst0-plugins-good-extra gst0-plugins-good gst0-plugins-good-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-good.html
25 sed -i "/input:/d" sys/v4l2/gstv4l2bufferpool.c &&
26 sed -i "/case V4L2_CID_HCENTER/d; /case V4L2_CID_VCENTER/d" \
27 sys/v4l2/v4l2_calls.c &&
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --with-package-name="$SHORT_DESC" \
33 --with-package-origin="http://www.slitaz.org/" \
34 --enable-experimental \
35 --disable-static \
36 --disable-debug \
37 --disable-hal \
38 --disable-esd \
39 --disable-oss \
40 --disable-oss4 \
41 $CONFIGURE_ARGS &&
42 sed -i 's|/usr/local/|/usr/|' $src/sys/v4l2/Makefile &&
43 make $MAKEFLAGS &&
44 make install &&
45 make -C docs/plugins install-data
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 case $PACKAGE in
52 *-extra)
53 copy *deinterlace.so *dv.so *jack.so *rtp.so *rtpmanager.so \
54 *rtsp.so *shout2.so *souphttpsrc.so *taglib.so *video4linux2.so \
55 *wavpack.so
56 CAT="multimedia|extra plugins"
57 DEPENDS="glib gst0-plugins-base gstreamer0 jack2 libdv libgudev \
58 libshout libsoup libsoup-gnome libv4l libxml2 orc taglib wavpack \
59 xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXv"
60 MAINTAINER="psychomaniak@xakep.ru"
61 ;;
62 *-good)
63 copy @std
64 remove_already_packed
65 DEPENDS="GConf aalib bzlib cairo flac gdk-pixbuf glib \
66 gst0-plugins-base gstreamer0 libavc1394 libcaca libiec61883 \
67 libjpeg-turbo libpng16 libraw1394 libxml2 ncurses orc speex \
68 xorg-libICE xorg-libSM xorg-libX11 xorg-libXdamage xorg-libXext \
69 xorg-libXfixes zlib"
70 SUGGESTED="gst0-plugins-good-extra"
71 ;;
72 *-dev)
73 copy @dev
74 DEPENDS="gst0-plugins-good gst0-plugins-good-extra \
75 GConf-dev aalib-dev bzip2-dev cairo-dev eudev-dev flac-dev \
76 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
77 gst0-plugins-base-dev gstreamer0-dev harfbuzz-dev jack2-dev \
78 libjpeg-turbo-dev libavc1394-dev libcaca-dev libdv-dev libffi-dev \
79 libgudev-dev libiec61883-dev libogg-dev libpng16-dev \
80 libraw1394-dev libshout-dev libsoup-dev libtheora-dev libv4l-dev \
81 libvorbis-dev libxml2-dev ncurses-dev openssl-dev orbit2-dev \
82 orc-dev pcre-dev speex-dev sqlite3-dev taglib-dev \
83 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
84 wavpack-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11 \
85 xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \
86 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \
87 xorg-libXrender-dev xorg-libXv-dev xorg-libxcb-dev xorg-pixman-dev \
88 xz-dev zlib-dev"
89 ;;
90 esac
91 }