wok-next annotate gst0-plugins-good/receipt @ rev 20774

gst0-plugins-good: update (b)deps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 20:35:22 2018 +0300 (2018-06-06)
parents 10df65db91ad
children d958fec46c9f
rev   line source
al@19829 1 # SliTaz package receipt v2.
al@19816 2
al@19816 3 PACKAGE="gst0-plugins-good"
al@19816 4 VERSION="0.10.31"
al@19816 5 CATEGORY="multimedia"
al@19829 6 SHORT_DESC="GStreamer-0.10 Good Plugins"
al@19816 7 MAINTAINER="jozee@slitaz.org"
al@19816 8 LICENSE="LGPL2.1"
al@19829 9 WEB_SITE="http://gstreamer.freedesktop.org/"
al@20534 10 LFS="http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-good.html"
al@19829 11
al@19816 12 TARBALL="gst-plugins-good-$VERSION.tar.xz"
al@19829 13 WGET_URL="$GNOME_MIRROR/gst-plugins-good/0.10/$TARBALL"
al@19816 14
al@19829 15 BUILD_DEPENDS="gettext GConf-dev gtk-doc python glib-dev orc-dev \
al@20604 16 gstreamer0-dev gst0-plugins-base-dev gtk+-dev libgudev-dev v4l-utils-dev \
al@19829 17 xorg-libXfixes-dev xorg-libXdamage-dev aalib-dev flac-dev gdk-pixbuf-dev \
al@19829 18 jack2-dev libcaca-dev libdv-dev libraw1394-dev libiec61883-dev libavc1394-dev \
al@20774 19 libshout-dev libsoup-dev speex-dev taglib-dev wavpack-dev libjpeg-turbo-dev \
al@20774 20 xorg-videoproto xorg-libXv-dev"
al@20774 21 SPLIT="gst0-plugins-good-extra gst0-plugins-good"
al@19816 22
al@20534 23 compile_rules() {
al@19829 24 sed -i "/input:/d" sys/v4l2/gstv4l2bufferpool.c &&
al@19829 25 sed -i "/case V4L2_CID_HCENTER/d; /case V4L2_CID_VCENTER/d" \
al@19829 26 sys/v4l2/v4l2_calls.c &&
al@19829 27
al@19816 28 ./configure \
al@19829 29 --with-package-name="$SHORT_DESC" \
al@19829 30 --with-package-origin="http://www.slitaz.org/" \
al@19816 31 --enable-experimental \
al@19816 32 --disable-static \
al@19816 33 --disable-debug \
al@19816 34 --disable-hal \
al@19816 35 --disable-esd \
al@19829 36 --disable-oss \
al@19829 37 --disable-oss4 \
al@19816 38 $CONFIGURE_ARGS &&
al@19829 39 sed -i 's|/usr/local/|/usr/|' $src/sys/v4l2/Makefile &&
al@19816 40 make $MAKEFLAGS &&
al@19829 41 make install &&
al@19829 42 make -C docs/plugins install-data
al@19816 43 }
al@19816 44
al@20534 45 genpkg_rules() {
al@19829 46 case $PACKAGE in
al@19829 47 *-extra)
al@19829 48 copy *deinterlace.so *dv.so *jack.so *rtp.so *rtpmanager.so \
al@19829 49 *rtsp.so *shout2.so *souphttpsrc.so *taglib.so *video4linux2.so \
al@19829 50 *wavpack.so
al@19829 51 CAT="multimedia|extra plugins"
al@19829 52 DEPENDS="glib gst0-plugins-base gstreamer0 jack2 libdv libgudev \
al@20774 53 libshout libsoup libsoup-gnome libxml2 orc taglib v4l-utils \
al@20774 54 wavpack xorg-libX11 xorg-libXext xorg-libXv"
al@19829 55 MAINTAINER="psychomaniak@xakep.ru"
al@19829 56 ;;
al@19829 57 *-good)
al@20513 58 copy @std @rm
al@19829 59 DEPENDS="GConf aalib bzlib cairo flac gdk-pixbuf glib \
al@19829 60 gst0-plugins-base gstreamer0 libavc1394 libcaca libiec61883 \
al@19829 61 libjpeg-turbo libpng16 libraw1394 libxml2 ncurses orc speex \
al@20774 62 xorg-libX11 xorg-libXdamage xorg-libXext xorg-libXfixes zlib"
al@19829 63 SUGGESTED="gst0-plugins-good-extra"
al@19829 64 ;;
al@19829 65 esac
al@19816 66 }