83d21b710aee5e22ec7dd14e2ff275fd76c47734
[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 fdk_aac fluidsynth gme gsm hls kate
4 modplug openal opencv openexr opengl openjpeg resindvd rsvg
5 sndfile soundtouch wasapi webp wildmidi wininet winks winscreencap"
6 GST_PLUGINS_DISABLE="flite ladspa neon ofa zbar apple_media avc bluez
7 osx_video quicktime uvch264 vcd cdaudio dc1394 directfb wayland dts
8 faac faad fbdev libmms linsys mimic mpeg2enc mplex mythtv openh264 pvr
9 teletextdec spc swfdec xvid dvb vdpau rtmp spandsp sndio voamrwbenc
10 voaacenc srtp webrtcdsp x265 decklink gtk3 qt"
11 inherit cross gst-plugins
12
13 NAME="mingw64-i686-gstreamer1.0-plugins-bad-free"
14 VERSION=1.12.5
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 sha512sum=4c2ec8fd2c93f52659ad881a75b38031337179bb6955c19a6cd216efff7ee2f3327b9530a1649b350eaab891d420cecbed3a9d496957241982507e984953a8fc
23 SRC_URI="http://src.fedoraproject.org/repo/pkgs/gstreamer1-plugins-bad-free/${ORIG_PN}-${VERSION}.tar.xz/sha512/${sha512sum}/${ORIG_PN}-${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-mingw64.patch
29 1.12.5-opencv34.patch
30 "
31
32 PKG_NAMES="${NAME} ${NAME}-extras"
33
34 # flite neon ofa zbar
35 for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
36 modplug openal opencv openexr openjpeg 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 --exclude=libgstopencv* --exclude=opencv
45 ${CROSS_PREFIX#/}
46 usr/share/doc/
47 "
48 mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+="
49 ${CROSS_BINDIR#/}/libgstopencv-1.0-0.dll
50 "
51 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
52 mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
53 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
54 mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
55 # private API afaics
56 PKG_IGNORE="
57 ${CROSS_INCLUDEDIR#/}/gstreamer-1.0/gst/opencv/
58 ${CROSS_LIBDIR#/}/libgstopencv-1.0.dll.a
59 "
60
61 DIFF_EXCLUDES+=" *.gschema.xml"
62
63 # frei0r plugins use .so suffix
64 CPPFLAGS+=' -DGST_EXTRA_MODULE_SUFFIX="\".so\""'
65
66 src_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 \
73 ac_cv_lib_opengl32_glTexImage2D=yes \
74 --disable-cocoa --disable-glx --enable-wgl
75 }
76
77 KEEP_LA_FILES="none"
This page took 0.037705 seconds and 5 git commands to generate.