mingw64-i686-gstreamer1.0-plugins-bad-free 1.12.5
[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
ef366e7a 3 direct3d9 directshow directsound dtls fdk_aac fluidsynth gme gsm hls kate
63f978b1 4 modplug openal opencv openexr opengl openjpeg resindvd rsvg
acb43578 5 sndfile soundtouch wasapi webp wildmidi wininet winks winscreencap"
63f978b1 6GST_PLUGINS_DISABLE="flite ladspa neon ofa zbar apple_media avc bluez
acb43578 7 osx_video quicktime uvch264 vcd cdaudio dc1394 directfb wayland dts
01d3e6ee 8 faac faad fbdev libmms linsys mimic mpeg2enc mplex mythtv openh264 pvr
acb43578 9 teletextdec spc swfdec xvid dvb vdpau rtmp spandsp sndio voamrwbenc
cb7c389a 10 voaacenc srtp webrtcdsp x265 decklink gtk3 qt"
acb43578
YS
11inherit cross gst-plugins
12
13NAME="mingw64-i686-gstreamer1.0-plugins-bad-free"
63f978b1
YS
14VERSION=1.12.5
15RELEASE=1
acb43578
YS
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."
63f978b1
YS
22sha512sum=4c2ec8fd2c93f52659ad881a75b38031337179bb6955c19a6cd216efff7ee2f3327b9530a1649b350eaab891d420cecbed3a9d496957241982507e984953a8fc
23SRC_URI="http://src.fedoraproject.org/repo/pkgs/gstreamer1-plugins-bad-free/${ORIG_PN}-${VERSION}.tar.xz/sha512/${sha512sum}/${ORIG_PN}-${VERSION}.tar.xz"
acb43578
YS
24SRC_DIR="gst-plugins-bad-${VERSION}"
25PATCH_URI="
26 1.6.1-mingw32-curl.patch
27 1.6.1-mingw32-librfb.patch
e8fa97a6 28 1.6.3-acm-mingw64.patch
63f978b1 29 1.12.5-opencv34.patch
acb43578
YS
30"
31
32PKG_NAMES="${NAME} ${NAME}-extras"
33
63f978b1 34# flite neon ofa zbar
acb43578 35for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
63f978b1 36 modplug openal opencv openexr openjpeg wildmidi
acb43578
YS
37do
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}*"
40done
41unset ext
42mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+="
43 --exclude=libgstgtksink.dll --exclude=libqtsink.dll
63f978b1 44 --exclude=libgstopencv* --exclude=opencv
acb43578
YS
45 ${CROSS_PREFIX#/}
46 usr/share/doc/
47"
63f978b1
YS
48mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+="
49 ${CROSS_BINDIR#/}/libgstopencv-1.0-0.dll
50"
acb43578
YS
51#PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
52mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
53#PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
54mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
63f978b1
YS
55# private API afaics
56PKG_IGNORE="
57 ${CROSS_INCLUDEDIR#/}/gstreamer-1.0/gst/opencv/
58 ${CROSS_LIBDIR#/}/libgstopencv-1.0.dll.a
59"
acb43578
YS
60
61DIFF_EXCLUDES+=" *.gschema.xml"
62
63# frei0r plugins use .so suffix
64CPPFLAGS+=' -DGST_EXTRA_MODULE_SUFFIX="\".so\""'
65
66src_compile() {
67 cd ${S}
68 gst_plugins_autoreconf
69
70 cd ${B}
71 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"
72 gst_plugins_compile \
2565f3d5 73 ac_cv_lib_opengl32_glTexImage2D=yes \
acb43578
YS
74 --disable-cocoa --disable-glx --enable-wgl
75}
76
77KEEP_LA_FILES="none"
This page took 0.179517 seconds and 5 git commands to generate.