aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-09-28 07:26:19 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-09-28 07:26:19 +0000
commit78bc328777bfdb6ddae62192494b7f5082b40837 (patch)
treeea6c93bbd8a9a7c58269c9127978e01057ed0ce6 /multimedia
parent2e9f199525dfd6fc5885c86a6c30c4969cf2675c (diff)
downloadports-78bc328777bfdb6ddae62192494b7f5082b40837.tar.gz
ports-78bc328777bfdb6ddae62192494b7f5082b40837.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer1-qt4/Makefile1
-rw-r--r--multimedia/gstreamer1-qt4/files/patch-CMakeLists.txt14
-rw-r--r--multimedia/gstreamer1-qt4/files/patch-cmake_modules_FindGStreamer.cmake14
3 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/gstreamer1-qt4/Makefile b/multimedia/gstreamer1-qt4/Makefile
index 694ca248f32e..45d04da8e548 100644
--- a/multimedia/gstreamer1-qt4/Makefile
+++ b/multimedia/gstreamer1-qt4/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gstreamer
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/
PKGNAMESUFFIX= 1-qt4
diff --git a/multimedia/gstreamer1-qt4/files/patch-CMakeLists.txt b/multimedia/gstreamer1-qt4/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..11d3ed14de15
--- /dev/null
+++ b/multimedia/gstreamer1-qt4/files/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$OpenBSD: patch-CMakeLists_txt,v 1.1 2015/09/27 08:23:55 ajacoutot Exp $
+
+https://bugzilla.gnome.org/show_bug.cgi?id=751382
+
+--- CMakeLists.txt.orig Tue Jul 8 20:38:36 2014
++++ CMakeLists.txt Sun Sep 27 09:12:31 2015
+@@ -106,6 +106,7 @@ find_package(GObject)
+ macro_log_feature(GOBJECT_FOUND "GObject" "Required to build QtGLib" "http://www.gtk.org/" TRUE)
+
+ set(CMAKE_REQUIRED_INCLUDES ${QTGSTREAMER_INCLUDES})
++add_definitions(${GSTREAMER_DEFINITIONS})
+ include(CheckCXXSourceCompiles)
+ check_cxx_source_compiles("
+ #include <QtCore/QtGlobal>
diff --git a/multimedia/gstreamer1-qt4/files/patch-cmake_modules_FindGStreamer.cmake b/multimedia/gstreamer1-qt4/files/patch-cmake_modules_FindGStreamer.cmake
new file mode 100644
index 000000000000..3a10a86ab3a8
--- /dev/null
+++ b/multimedia/gstreamer1-qt4/files/patch-cmake_modules_FindGStreamer.cmake
@@ -0,0 +1,14 @@
+$OpenBSD: patch-cmake_modules_FindGStreamer_cmake,v 1.1 2015/09/27 08:23:55 ajacoutot Exp $
+
+https://bugzilla.gnome.org/show_bug.cgi?id=751382
+
+--- cmake/modules/FindGStreamer.cmake.orig Tue Jul 8 20:38:36 2014
++++ cmake/modules/FindGStreamer.cmake Sun Sep 27 09:12:31 2015
+@@ -36,6 +36,7 @@ if (PKG_CONFIG_FOUND)
+ exec_program(${PKG_CONFIG_EXECUTABLE}
+ ARGS --variable pluginsdir gstreamer-${GSTREAMER_ABI_VERSION}
+ OUTPUT_VARIABLE PKG_GSTREAMER_PLUGIN_DIR)
++ set(GSTREAMER_DEFINITIONS ${PKG_GSTREAMER_CFLAGS})
+ endif()
+
+ find_library(GSTREAMER_LIBRARY