aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/qt5-multimedia
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-09-29 04:20:53 +0800
committerkwm <kwm@FreeBSD.org>2015-09-29 04:20:53 +0800
commit28493f88f0af612bb76da7eaa9cb00e0f79563a2 (patch)
tree76617c55cea1588f056bfdc15c9af8333bdd085f /multimedia/qt5-multimedia
parent7ca0eaff564d088eb61db5fbb4ed09c23af224dc (diff)
downloadfreebsd-ports-gnome-28493f88f0af612bb76da7eaa9cb00e0f79563a2.tar.gz
freebsd-ports-gnome-28493f88f0af612bb76da7eaa9cb00e0f79563a2.tar.zst
freebsd-ports-gnome-28493f88f0af612bb76da7eaa9cb00e0f79563a2.zip
Fix qt5-multimedia with GStreamer 1.6.0.
Qt 5 does the following during the build of qt5-multimedia: --- qt-post-install --- echo "# define QT_GSTREAMER" >> /wrkdirs/usr/ports/multimedia/qt5-multimedia/ work/stage/usr/local/include/qt5/QtCore/modules/qconfig-multimedia.h echo "# define QT_GST_VERSION=1.0" >> /wrkdirs/usr/ports/multimedia/ qt5-multimedia/work/stage/usr/local/include/qt5/QtCore/modules/qconfig-multimedia.h echo "# define QT_XVIDEO" >> /wrkdirs/usr/ports/multimedia/qt5-multimedia/ work/stage/usr/local/include/qt5/QtCore/modules/qconfig-multimedia.h That's (second line) not how #define works in C of C++ The resulting qconfig-multimedia.h file contains this: #if !defined(QT_GST_VERSION=1.0) && !defined(QT_NO_GST_VERSION=1.0) # define QT_GST_VERSION=1.0 #endif This patch filters out the "=1.0" from the define. Bump qt5-multimedia since the installed header needs to be corrected. Reported by: antoine@ Patch submitted by: Adriaan de Groot <groot@kde.org>
Diffstat (limited to 'multimedia/qt5-multimedia')
-rw-r--r--multimedia/qt5-multimedia/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/qt5-multimedia/Makefile b/multimedia/qt5-multimedia/Makefile
index b765044364e6..d6d3fea8593e 100644
--- a/multimedia/qt5-multimedia/Makefile
+++ b/multimedia/qt5-multimedia/Makefile
@@ -2,6 +2,7 @@
PORTNAME= multimedia
DISTVERSION= ${QT5_VERSION}
+PORTREVISION= 1
CATEGORIES= multimedia
PKGNAMEPREFIX= qt5-