wok-next annotate gst0-plugins-good/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | d43bf7aae921 |
children | 10df65db91ad |
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@19829 | 16 gstreamer0-dev gst0-plugins-base-dev gtk+-dev libgudev-dev libv4l-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@19829 | 19 libshout-dev libsoup-dev speex-dev taglib-dev wavpack-dev libjpeg-turbo-dev" |
al@19829 | 20 SPLIT="gst0-plugins-good-extra gst0-plugins-good gst0-plugins-good-dev" |
al@19816 | 21 |
al@20534 | 22 compile_rules() { |
al@19829 | 23 sed -i "/input:/d" sys/v4l2/gstv4l2bufferpool.c && |
al@19829 | 24 sed -i "/case V4L2_CID_HCENTER/d; /case V4L2_CID_VCENTER/d" \ |
al@19829 | 25 sys/v4l2/v4l2_calls.c && |
al@19829 | 26 |
al@19816 | 27 ./configure \ |
al@19829 | 28 --with-package-name="$SHORT_DESC" \ |
al@19829 | 29 --with-package-origin="http://www.slitaz.org/" \ |
al@19816 | 30 --enable-experimental \ |
al@19816 | 31 --disable-static \ |
al@19816 | 32 --disable-debug \ |
al@19816 | 33 --disable-hal \ |
al@19816 | 34 --disable-esd \ |
al@19829 | 35 --disable-oss \ |
al@19829 | 36 --disable-oss4 \ |
al@19816 | 37 $CONFIGURE_ARGS && |
al@19829 | 38 sed -i 's|/usr/local/|/usr/|' $src/sys/v4l2/Makefile && |
al@19816 | 39 make $MAKEFLAGS && |
al@19829 | 40 make install && |
al@19829 | 41 make -C docs/plugins install-data |
al@19816 | 42 } |
al@19816 | 43 |
al@20534 | 44 genpkg_rules() { |
al@19829 | 45 case $PACKAGE in |
al@19829 | 46 *-extra) |
al@19829 | 47 copy *deinterlace.so *dv.so *jack.so *rtp.so *rtpmanager.so \ |
al@19829 | 48 *rtsp.so *shout2.so *souphttpsrc.so *taglib.so *video4linux2.so \ |
al@19829 | 49 *wavpack.so |
al@19829 | 50 CAT="multimedia|extra plugins" |
al@19829 | 51 DEPENDS="glib gst0-plugins-base gstreamer0 jack2 libdv libgudev \ |
al@19829 | 52 libshout libsoup libsoup-gnome libv4l libxml2 orc taglib wavpack \ |
al@19829 | 53 xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXv" |
al@19829 | 54 MAINTAINER="psychomaniak@xakep.ru" |
al@19829 | 55 ;; |
al@19829 | 56 *-good) |
al@20513 | 57 copy @std @rm |
al@19829 | 58 DEPENDS="GConf aalib bzlib cairo flac gdk-pixbuf glib \ |
al@19829 | 59 gst0-plugins-base gstreamer0 libavc1394 libcaca libiec61883 \ |
al@19829 | 60 libjpeg-turbo libpng16 libraw1394 libxml2 ncurses orc speex \ |
al@19829 | 61 xorg-libICE xorg-libSM xorg-libX11 xorg-libXdamage xorg-libXext \ |
al@19829 | 62 xorg-libXfixes zlib" |
al@19829 | 63 SUGGESTED="gst0-plugins-good-extra" |
al@19829 | 64 ;; |
al@19829 | 65 *-dev) |
al@19829 | 66 copy @dev |
al@19829 | 67 DEPENDS="gst0-plugins-good gst0-plugins-good-extra \ |
al@19829 | 68 GConf-dev aalib-dev bzip2-dev cairo-dev eudev-dev flac-dev \ |
al@19829 | 69 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \ |
al@19829 | 70 gst0-plugins-base-dev gstreamer0-dev harfbuzz-dev jack2-dev \ |
al@19829 | 71 libjpeg-turbo-dev libavc1394-dev libcaca-dev libdv-dev libffi-dev \ |
al@19829 | 72 libgudev-dev libiec61883-dev libogg-dev libpng16-dev \ |
al@19829 | 73 libraw1394-dev libshout-dev libsoup-dev libtheora-dev libv4l-dev \ |
al@19829 | 74 libvorbis-dev libxml2-dev ncurses-dev openssl-dev orbit2-dev \ |
al@19829 | 75 orc-dev pcre-dev speex-dev sqlite3-dev taglib-dev \ |
al@19829 | 76 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@19829 | 77 wavpack-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11 \ |
al@19829 | 78 xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \ |
al@19829 | 79 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev \ |
al@19829 | 80 xorg-libXrender-dev xorg-libXv-dev xorg-libxcb-dev xorg-pixman-dev \ |
al@19829 | 81 xz-dev zlib-dev" |
al@19829 | 82 ;; |
al@19829 | 83 esac |
al@19816 | 84 } |