mingw64-i686-gstreamer1.0-plugins-bad-free 1.6.1
[git/cygwin-packages/mingw64-i686-gstreamer1.0-plugins-bad-free.git] / mingw64-i686-gstreamer1.0-plugins-bad-free.cygport
CommitLineData
acb43578
YS
1CROSS_HOST="i686-w64-mingw32"
2GST_PLUGINS_ENABLE="acm assrender bs2b bz2 chromaprint curl dash direct3d
3 direct3d9 directshow directsound dtls fluidsynth gme gsm hls kate
4 modplug openal openexr opengl openjpeg opus resindvd rsvg schro
5 sndfile soundtouch wasapi webp wildmidi wininet winks winscreencap"
6GST_PLUGINS_DISABLE="flite ladspa neon ofa opencv zbar apple_media avc bluez
7 osx_video quicktime uvch264 vcd cdaudio dc1394 directfb wayland dts
8 faac faad fbdev libmms linsys mimic mpeg2enc mpg123 mplex mythtv pvr
9 teletextdec spc swfdec xvid dvb vdpau rtmp spandsp sndio voamrwbenc
10 voaacenc srtp x265 decklink gtk3 qt"
11inherit cross gst-plugins
12
13NAME="mingw64-i686-gstreamer1.0-plugins-bad-free"
14VERSION=1.6.1
15RELEASE=1
16CATEGORY="Devel"
17SUMMARY="GStreamer 1.0 Bad plugins for Win32 toolchain"
18DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par
19compared to the rest. They might be close to being good quality, but they're
20missing something - be it a good code review, some documentation, a set of
21tests, a real live maintainer, or some actual wide use."
22md5sum=d1f2cb1d8c5202dfc4e60fcd81d06acc
23SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/gstreamer1-plugins-bad-free/gst-plugins-bad-${VERSION}.tar.xz/${md5sum}/gst-plugins-bad-${VERSION}.tar.xz"
24SRC_DIR="gst-plugins-bad-${VERSION}"
25PATCH_URI="
26 1.6.1-mingw32-curl.patch
27 1.6.1-mingw32-librfb.patch
28"
29
30PKG_NAMES="${NAME} ${NAME}-extras"
31
32# flite neon ofa opencv zbar
33for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
34 modplug openal openexr openjpeg schro wildmidi
35do
36 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+=" --exclude=libgst${ext}*"
37 mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+=" ${CROSS_LIBDIR#/}/gstreamer-1.0/libgst${ext}*"
38done
39unset ext
40mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+="
41 --exclude=libgstgtksink.dll --exclude=libqtsink.dll
42 ${CROSS_PREFIX#/}
43 usr/share/doc/
44"
45#PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
46mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
47#PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
48mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
49
50DIFF_EXCLUDES+=" *.gschema.xml"
51
52# frei0r plugins use .so suffix
53CPPFLAGS+=' -DGST_EXTRA_MODULE_SUFFIX="\".so\""'
54
55src_compile() {
56 cd ${S}
57 gst_plugins_autoreconf
58
59 cd ${B}
60 PATH="${B}/gst-libs/gst/base/.libs:${B}/gst-libs/gst/basecamerabinsrc/.libs:${B}/gst-libs/gst/codecparsers/.libs:${B}/gst-libs/gst/gl/.libs:${B}/gst-libs/gst/insertbin/.libs:${B}/gst-libs/gst/interfaces/.libs:${B}/gst-libs/gst/mpegts/.libs:${B}/gst-libs/gst/uridownloader/.libs:${B}/gst-libs/gst/video/.libs:$PATH"
61 gst_plugins_compile \
62 --disable-cocoa --disable-glx --enable-wgl
63}
64
65KEEP_LA_FILES="none"
This page took 0.032597 seconds and 5 git commands to generate.