mingw64-i686-gstreamer1.0-plugins-bad-free 1.6.4
[git/cygwin-packages/mingw64-i686-gstreamer1.0-plugins-bad-free.git] / mingw64-i686-gstreamer1.0-plugins-bad-free.cygport
1 CROSS_HOST="i686-w64-mingw32"
2 GST_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"
6 GST_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"
11 inherit cross gst-plugins
12
13 NAME="mingw64-i686-gstreamer1.0-plugins-bad-free"
14 VERSION=1.6.4
15 RELEASE=1
16 CATEGORY="Devel"
17 SUMMARY="GStreamer 1.0 Bad plugins for Win32 toolchain"
18 DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par
19 compared to the rest. They might be close to being good quality, but they're
20 missing something - be it a good code review, some documentation, a set of
21 tests, a real live maintainer, or some actual wide use."
22 md5sum=a278efbaea8a9caa9719a5315c18653b
23 SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/gstreamer1-plugins-bad-free/gst-plugins-bad-free-${VERSION}.tar.xz/${md5sum}/gst-plugins-bad-free-${VERSION}.tar.xz"
24 SRC_DIR="gst-plugins-bad-${VERSION}"
25 PATCH_URI="
26 1.6.1-mingw32-curl.patch
27 1.6.1-mingw32-librfb.patch
28 1.6.3-acm-port-to-gst1.patch
29 1.6.3-acm-mingw64.patch
30 "
31
32 PKG_NAMES="${NAME} ${NAME}-extras"
33
34 # flite neon ofa opencv zbar
35 for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
36 modplug openal openexr openjpeg schro wildmidi
37 do
38 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+=" --exclude=libgst${ext}*"
39 mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+=" ${CROSS_LIBDIR#/}/gstreamer-1.0/libgst${ext}*"
40 done
41 unset ext
42 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+="
43 --exclude=libgstgtksink.dll --exclude=libqtsink.dll
44 ${CROSS_PREFIX#/}
45 usr/share/doc/
46 "
47 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
48 mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
49 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
50 mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
51
52 DIFF_EXCLUDES+=" *.gschema.xml"
53
54 # frei0r plugins use .so suffix
55 CPPFLAGS+=' -DGST_EXTRA_MODULE_SUFFIX="\".so\""'
56
57 src_compile() {
58 cd ${S}
59 gst_plugins_autoreconf
60
61 cd ${B}
62 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"
63 gst_plugins_compile \
64 ac_cv_lib_opengl32_glTexImage2D=yes \
65 --disable-cocoa --disable-glx --enable-wgl
66 }
67
68 KEEP_LA_FILES="none"
This page took 0.03543 seconds and 5 git commands to generate.