mingw64-i686-gstreamer1.0-plugins-bad-free 1.12.5 master
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 10 Apr 2018 06:34:56 +0000 (01:34 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 10 Apr 2018 06:34:56 +0000 (01:34 -0500)
1.12.5-opencv34.patch [new file with mode: 0644]
mingw64-i686-gstreamer1.0-plugins-bad-free.cygport

diff --git a/1.12.5-opencv34.patch b/1.12.5-opencv34.patch
new file mode 100644 (file)
index 0000000..7332757
--- /dev/null
@@ -0,0 +1,11 @@
+--- origsrc/gst-plugins-bad-1.12.5/configure.ac        2018-04-09 20:11:17.158013600 -0500
++++ src/gst-plugins-bad-1.12.5/configure.ac    2018-04-09 22:31:52.932211400 -0500
+@@ -2742,7 +2742,7 @@ AG_GST_CHECK_FEATURE(OPENCV, [opencv plu
+   dnl a new version and the no-backward-compatibility define. (There doesn't
+   dnl seem to be a switch to suppress the warnings the cvcompat.h header
+   dnl causes.)
+-  PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.0 opencv <= 3.3.0 , [
++  PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.0 opencv < 3.5.0 , [
+     AC_PROG_CXX
+     AC_LANG([C++])
+     OLD_CPPFLAGS=$CPPFLAGS
index 1cf043a3d862fff3c64dbc78bab242abf041a8d4..83d21b710aee5e22ec7dd14e2ff275fd76c47734 100644 (file)
@@ -1,9 +1,9 @@
 CROSS_HOST="i686-w64-mingw32"
 GST_PLUGINS_ENABLE="acm assrender bs2b bz2 chromaprint curl dash direct3d
        direct3d9 directshow directsound dtls fdk_aac fluidsynth gme gsm hls kate
 CROSS_HOST="i686-w64-mingw32"
 GST_PLUGINS_ENABLE="acm assrender bs2b bz2 chromaprint curl dash direct3d
        direct3d9 directshow directsound dtls fdk_aac fluidsynth gme gsm hls kate
-       modplug openal openexr opengl openjpeg resindvd rsvg schro
+       modplug openal opencv openexr opengl openjpeg resindvd rsvg
        sndfile soundtouch wasapi webp wildmidi wininet winks winscreencap"
        sndfile soundtouch wasapi webp wildmidi wininet winks winscreencap"
-GST_PLUGINS_DISABLE="flite ladspa neon ofa opencv zbar apple_media avc bluez
+GST_PLUGINS_DISABLE="flite ladspa neon ofa zbar apple_media avc bluez
        osx_video quicktime uvch264 vcd cdaudio dc1394 directfb wayland dts
        faac faad fbdev libmms linsys mimic mpeg2enc mplex mythtv openh264 pvr
        teletextdec spc swfdec xvid dvb vdpau rtmp spandsp sndio voamrwbenc
        osx_video quicktime uvch264 vcd cdaudio dc1394 directfb wayland dts
        faac faad fbdev libmms linsys mimic mpeg2enc mplex mythtv openh264 pvr
        teletextdec spc swfdec xvid dvb vdpau rtmp spandsp sndio voamrwbenc
@@ -11,28 +11,29 @@ GST_PLUGINS_DISABLE="flite ladspa neon ofa opencv zbar apple_media avc bluez
 inherit cross gst-plugins
 
 NAME="mingw64-i686-gstreamer1.0-plugins-bad-free"
 inherit cross gst-plugins
 
 NAME="mingw64-i686-gstreamer1.0-plugins-bad-free"
-VERSION=1.12.4
-RELEASE=2
+VERSION=1.12.5
+RELEASE=1
 CATEGORY="Devel"
 SUMMARY="GStreamer 1.0 Bad plugins for Win32 toolchain"
 DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par
 compared to the rest. They might be close to being good quality, but they're
 missing something - be it a good code review, some documentation, a set of
 tests, a real live maintainer, or some actual wide use."
 CATEGORY="Devel"
 SUMMARY="GStreamer 1.0 Bad plugins for Win32 toolchain"
 DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par
 compared to the rest. They might be close to being good quality, but they're
 missing something - be it a good code review, some documentation, a set of
 tests, a real live maintainer, or some actual wide use."
-sha512sum=07230161a983ed9f0d6947d52660b112ee330867b8a52cfb2c25b7b23bb6483eef7ace5097afb00c8a8e14c063dc5ca89a4e5a92ceb81edf8c9b1f3b10c10378
-SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/gstreamer1-plugins-bad-free/${ORIG_PN}-${VERSION}.tar.xz/sha512/${sha512sum}/${ORIG_PN}-${VERSION}.tar.xz"
+sha512sum=4c2ec8fd2c93f52659ad881a75b38031337179bb6955c19a6cd216efff7ee2f3327b9530a1649b350eaab891d420cecbed3a9d496957241982507e984953a8fc
+SRC_URI="http://src.fedoraproject.org/repo/pkgs/gstreamer1-plugins-bad-free/${ORIG_PN}-${VERSION}.tar.xz/sha512/${sha512sum}/${ORIG_PN}-${VERSION}.tar.xz"
 SRC_DIR="gst-plugins-bad-${VERSION}"
 PATCH_URI="
        1.6.1-mingw32-curl.patch
        1.6.1-mingw32-librfb.patch
        1.6.3-acm-mingw64.patch
 SRC_DIR="gst-plugins-bad-${VERSION}"
 PATCH_URI="
        1.6.1-mingw32-curl.patch
        1.6.1-mingw32-librfb.patch
        1.6.3-acm-mingw64.patch
+       1.12.5-opencv34.patch
 "
 
 PKG_NAMES="${NAME} ${NAME}-extras"
 
 "
 
 PKG_NAMES="${NAME} ${NAME}-extras"
 
-# flite neon ofa opencv zbar
+# flite neon ofa zbar
 for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
 for ext in assrender bs2b chromaprint curl fluidsynth gme kate \
-          modplug openal openexr openjpeg schro wildmidi
+          modplug openal opencv openexr openjpeg wildmidi
 do
        mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+=" --exclude=libgst${ext}*"
        mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+=" ${CROSS_LIBDIR#/}/gstreamer-1.0/libgst${ext}*"
 do
        mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+=" --exclude=libgst${ext}*"
        mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+=" ${CROSS_LIBDIR#/}/gstreamer-1.0/libgst${ext}*"
@@ -40,13 +41,22 @@ done
 unset ext
 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+="
        --exclude=libgstgtksink.dll --exclude=libqtsink.dll
 unset ext
 mingw64_i686_gstreamer1_0_plugins_bad_free_CONTENTS+="
        --exclude=libgstgtksink.dll --exclude=libqtsink.dll
+       --exclude=libgstopencv* --exclude=opencv
        ${CROSS_PREFIX#/}
        usr/share/doc/
 "
        ${CROSS_PREFIX#/}
        usr/share/doc/
 "
+mingw64_i686_gstreamer1_0_plugins_bad_free_extras_CONTENTS+="
+       ${CROSS_BINDIR#/}/libgstopencv-1.0-0.dll
+"
 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
 mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
 mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-gtk"
 mingw64_i686_gstreamer1_0_plugins_gtk_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libgstgtksink.dll"
 #PKG_NAMES+=" mingw64-i686-gstreamer1.0-plugins-qt"
 mingw64_i686_gstreamer1_0_plugins_qt_CONTENTS="${CROSS_LIBDIR#/}/gstreamer-1.0/libqtsink.dll"
+# private API afaics
+PKG_IGNORE="
+       ${CROSS_INCLUDEDIR#/}/gstreamer-1.0/gst/opencv/
+       ${CROSS_LIBDIR#/}/libgstopencv-1.0.dll.a
+"
 
 DIFF_EXCLUDES+=" *.gschema.xml"
 
 
 DIFF_EXCLUDES+=" *.gschema.xml"
 
This page took 0.025115 seconds and 5 git commands to generate.