wok-next annotate 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
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@21020 7 MAINTAINER="devel@slitaz.org"
al@19816 8 LICENSE="LGPL2.1"
al@20906 9 WEB_SITE="https://gstreamer.freedesktop.org/"
al@20534 10 LFS="http://www.linuxfromscratch.org/blfs/view/7.6/multimedia/gst-plugins-good.html"
al@20882 11 REPOLOGY="gstreamer0plugins:good"
al@19829 12
al@19816 13 TARBALL="gst-plugins-good-$VERSION.tar.xz"
al@19829 14 WGET_URL="$GNOME_MIRROR/gst-plugins-good/0.10/$TARBALL"
al@19816 15
al@21020 16 BUILD_DEPENDS="gettext-dev gconf-dev gtk-doc python glib-dev orc-dev \
al@21017 17 gstreamer0-dev gst0-plugins-base-dev gtk2-dev libgudev-dev v4l-utils-dev \
al@19829 18 xorg-libXfixes-dev xorg-libXdamage-dev aalib-dev flac-dev gdk-pixbuf-dev \
al@19829 19 jack2-dev libcaca-dev libdv-dev libraw1394-dev libiec61883-dev libavc1394-dev \
al@20774 20 libshout-dev libsoup-dev speex-dev taglib-dev wavpack-dev libjpeg-turbo-dev \
al@20935 21 xorg-xorgproto xorg-libXv-dev"
al@21020 22 SPLIT="$PACKAGE-extra $PACKAGE"
al@19816 23
al@20534 24 compile_rules() {
al@19829 25 sed -i "/input:/d" sys/v4l2/gstv4l2bufferpool.c &&
al@19829 26 sed -i "/case V4L2_CID_HCENTER/d; /case V4L2_CID_VCENTER/d" \
al@19829 27 sys/v4l2/v4l2_calls.c &&
al@19829 28
al@19816 29 ./configure \
al@19829 30 --with-package-name="$SHORT_DESC" \
al@19829 31 --with-package-origin="http://www.slitaz.org/" \
al@19816 32 --enable-experimental \
al@19816 33 --disable-static \
al@19816 34 --disable-debug \
al@19816 35 --disable-hal \
al@19816 36 --disable-esd \
al@19829 37 --disable-oss \
al@19829 38 --disable-oss4 \
al@19816 39 $CONFIGURE_ARGS &&
al@19829 40 sed -i 's|/usr/local/|/usr/|' $src/sys/v4l2/Makefile &&
al@19816 41 make $MAKEFLAGS &&
al@19829 42 make install &&
al@19829 43 make -C docs/plugins install-data
al@19816 44 }
al@19816 45
al@20534 46 genpkg_rules() {
al@19829 47 case $PACKAGE in
al@19829 48 *-extra)
al@19829 49 copy *deinterlace.so *dv.so *jack.so *rtp.so *rtpmanager.so \
al@19829 50 *rtsp.so *shout2.so *souphttpsrc.so *taglib.so *video4linux2.so \
al@19829 51 *wavpack.so
al@19829 52 CAT="multimedia|extra plugins"
al@19829 53 DEPENDS="glib gst0-plugins-base gstreamer0 jack2 libdv libgudev \
al@20774 54 libshout libsoup libsoup-gnome libxml2 orc taglib v4l-utils \
al@20774 55 wavpack xorg-libX11 xorg-libXext xorg-libXv"
al@19829 56 MAINTAINER="psychomaniak@xakep.ru"
al@19829 57 ;;
al@19829 58 *-good)
al@20513 59 copy @std @rm
al@20956 60 DEPENDS="gconf aalib bzlib cairo flac gdk-pixbuf glib \
al@19829 61 gst0-plugins-base gstreamer0 libavc1394 libcaca libiec61883 \
al@19829 62 libjpeg-turbo libpng16 libraw1394 libxml2 ncurses orc speex \
al@20774 63 xorg-libX11 xorg-libXdamage xorg-libXext xorg-libXfixes zlib"
al@19829 64 SUGGESTED="gst0-plugins-good-extra"
al@19829 65 ;;
al@19829 66 esac
al@19816 67 }