summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-01-10 03:20:55 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-01-12 08:41:41 (GMT)
commit121d251ddff4dbae43a4ee770e072e148385504e (patch)
treee7196714825520642ad5172bc3cc3519fedd0ddb
parent578e7979041b95e1f5bd756ed4acbb975c274cdf (diff)
downloadmxe-121d251ddff4dbae43a4ee770e072e148385504e.zip
mxe-121d251ddff4dbae43a4ee770e072e148385504e.tar.gz
mxe-121d251ddff4dbae43a4ee770e072e148385504e.tar.bz2
openscenegraph: add missing gstreamer dep and fix detection on mingw
-rw-r--r--src/openscenegraph-1-fixes.patch20
-rw-r--r--src/openscenegraph.mk4
2 files changed, 23 insertions, 1 deletions
diff --git a/src/openscenegraph-1-fixes.patch b/src/openscenegraph-1-fixes.patch
index f328987..2e97c39 100644
--- a/src/openscenegraph-1-fixes.patch
+++ b/src/openscenegraph-1-fixes.patch
@@ -135,3 +135,23 @@ index 1111111..2222222 100644
osg
osgDB
osgUtil
+
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Tony Theodore <tonyt@logyst.com>
+Date: Sun, 10 Jan 2016 14:19:57 +1100
+Subject: [PATCH] use pkg-config for gstreamer detection in mingw
+
+
+diff --git a/CMakeModules/FindGStreamer.cmake b/CMakeModules/FindGStreamer.cmake
+index 1111111..2222222 100644
+--- a/CMakeModules/FindGStreamer.cmake
++++ b/CMakeModules/FindGStreamer.cmake
+@@ -65,7 +65,7 @@
+ # )
+ #endmacro()
+
+-if (WIN32)
++if (WIN32 AND NOT MINGW)
+ macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _header _library)
+ find_path(${_component_prefix}_INCLUDE_DIRS
+ NAMES ${_header}
diff --git a/src/openscenegraph.mk b/src/openscenegraph.mk
index e9b35aa..c7551ec 100644
--- a/src/openscenegraph.mk
+++ b/src/openscenegraph.mk
@@ -8,7 +8,9 @@ $(PKG)_CHECKSUM := 5c727d84755da276adf8c4a4a3a8ba9c9570fc4b4969f06f1d2e9f89b1e30
$(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION)
$(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip
$(PKG)_URL := http://trac.openscenegraph.org/downloads/developer_releases/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc boost curl dcmtk ffmpeg freetype gdal giflib gta jasper jpeg libpng openal openexr openthreads poppler qt tiff xine-lib zlib
+$(PKG)_DEPS := gcc boost curl dcmtk ffmpeg freetype gdal giflib gstreamer \
+ gta jasper jpeg libpng openal openexr openthreads poppler \
+ qt tiff xine-lib zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://trac.openscenegraph.org/downloads/developer_releases/?C=M;O=D' | \