wok-next view gst0-plugins-good/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://gstreamer.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-good.html"
11 REPOLOGY="gstreamer0plugins:good"
13 TARBALL="gst-plugins-good-$VERSION.tar.xz"
14 WGET_URL="$GNOME_MIRROR/gst-plugins-good/0.10/$TARBALL"
16 BUILD_DEPENDS="gettext-dev gconf-dev gtk-doc python glib-dev orc-dev \
17 gstreamer0-dev gst0-plugins-base-dev gtk2-dev libgudev-dev v4l-utils-dev \
18 xorg-libXfixes-dev xorg-libXdamage-dev aalib-dev flac-dev gdk-pixbuf-dev \
19 jack2-dev libcaca-dev libdv-dev libraw1394-dev libiec61883-dev libavc1394-dev \
20 libshout-dev libsoup-dev speex-dev taglib-dev wavpack-dev libjpeg-turbo-dev \
21 xorg-xorgproto xorg-libXv-dev"
22 SPLIT="$PACKAGE-extra $PACKAGE"
24 compile_rules() {
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 --with-package-name="$SHORT_DESC" \
31 --with-package-origin="http://www.slitaz.org/" \
32 --enable-experimental \
33 --disable-static \
34 --disable-debug \
35 --disable-hal \
36 --disable-esd \
37 --disable-oss \
38 --disable-oss4 \
39 $CONFIGURE_ARGS &&
40 sed -i 's|/usr/local/|/usr/|' $src/sys/v4l2/Makefile &&
41 make $MAKEFLAGS &&
42 make install &&
43 make -C docs/plugins install-data
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 *-extra)
49 copy *deinterlace.so *dv.so *jack.so *rtp.so *rtpmanager.so \
50 *rtsp.so *shout2.so *souphttpsrc.so *taglib.so *video4linux2.so \
51 *wavpack.so
52 CAT="multimedia|extra plugins"
53 DEPENDS="glib gst0-plugins-base gstreamer0 jack2 libdv libgudev \
54 libshout libsoup libsoup-gnome libxml2 orc taglib v4l-utils \
55 wavpack xorg-libX11 xorg-libXext xorg-libXv"
56 MAINTAINER="psychomaniak@xakep.ru"
57 ;;
58 *-good)
59 copy @std @rm
60 DEPENDS="gconf aalib bzlib cairo flac gdk-pixbuf glib \
61 gst0-plugins-base gstreamer0 libavc1394 libcaca libiec61883 \
62 libjpeg-turbo libpng16 libraw1394 libxml2 ncurses orc speex \
63 xorg-libX11 xorg-libXdamage xorg-libXext xorg-libXfixes zlib"
64 SUGGESTED="gst0-plugins-good-extra"
65 ;;
66 esac
67 }