Rebuilt for mingw32-nettle-3.3
[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 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 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.10.4
15 RELEASE=2
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=db2086ceb0e1026617590d51aaeddfe63720d4941cc551c90e8f59b544a4b8e01cc7eae9bd7eb42309a852f06276af499cb631094e415d646abbd7ef503015e6
23 SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${NAME/.0/}/${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 "
30
31 PKG_NAMES="${NAME} ${NAME}-extras"
32
33 # flite neon ofa opencv zbar
34 for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
35 modplug openal openexr openjpeg schro wildmidi
36 do
37 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+=" --exclude=libgst${ext}*"
38 mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+=" ${CROSS_LIBDIR#/}/gstreamer-1.0/libgst${ext}*"
39 done
40 unset ext
41 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+="
42 --exclude=libgstgtksink.dll --exclude=libqtsink.dll
43 ${CROSS_PREFIX#/}
44 usr/share/doc/
45 "
46 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
47 mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
48 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
49 mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
50
51 DIFF_EXCLUDES+=" *.gschema.xml"
52
53 # frei0r plugins use .so suffix
54 CPPFLAGS+=' -DGST_EXTRA_MODULE_SUFFIX="\".so\""'
55
56 src_compile() {
57 cd ${S}
58 gst_plugins_autoreconf
59
60 cd ${B}
61 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"
62 gst_plugins_compile \
63 ac_cv_lib_opengl32_glTexImage2D=yes \
64 --disable-cocoa --disable-glx --enable-wgl
65 }
66
67 KEEP_LA_FILES="none"
This page took 0.040339 seconds and 5 git commands to generate.