Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2013 12:58:34 +0000 (UTC)
From:      Alberto Villa <avilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311972 - head/www/qt4-webkit
Message-ID:  <201302091258.r19CwYfF026833@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avilla
Date: Sat Feb  9 12:58:34 2013
New Revision: 311972
URL: http://svnweb.freebsd.org/changeset/ports/311972

Log:
  - Enable video and audio support for real when requested.
  - Correctly disable dependency on GStreamer when option is off.
  - Bump PORTREVISION.
  
  PR:		175644

Modified:
  head/www/qt4-webkit/Makefile

Modified: head/www/qt4-webkit/Makefile
==============================================================================
--- head/www/qt4-webkit/Makefile	Sat Feb  9 12:54:20 2013	(r311971)
+++ head/www/qt4-webkit/Makefile	Sat Feb  9 12:58:34 2013	(r311972)
@@ -3,6 +3,7 @@
 
 PORTNAME=	webkit
 DISTVERSION=	${QT4_VERSION}
+PORTREVISION=	1
 CATEGORIES?=	www
 PKGNAMEPREFIX=	qt4-
 
@@ -45,14 +46,12 @@ EXTRA_PATCHES=	${.CURDIR}/../../devel/qt
 OPTIONS_DEFINE=	GSTREAMER
 OPTIONS_DEFAULT=	GSTREAMER
 
-GSTREAMER_DESC=	HTML5 audio and video support
+GSTREAMER_DESC=	HTML5 audio and video via GStreamer
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MGSTREAMER}
 USE_GSTREAMER=	yes
-.else
-CONFIGURE_ARGS+=	-no-gstreamer
 .endif
 
 .include <bsd.port.pre.mk>
@@ -68,6 +67,13 @@ pre-configure:
 	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
 	${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
 	${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
+	${REINPLACE_CMD} -e 's|linux-\*|unix|g' \
+		${BUILD_WRKSRC}/WebCore/features.pri \
+		${BUILD_WRKSRC}/JavaScriptCore/wtf/wtf.pri
+.if ! ${PORT_OPTIONS:MGSTREAMER}
+	${REINPLACE_CMD} -e 's|.*exists.*gstreamer.*|false {|' \
+		${BUILD_WRKSRC}/WebCore/features.pri
+.endif
 # Avoid building and installing several tests. Should this be made an option?
 	${REINPLACE_CMD} -e '/WebKit\/qt\/tests/ d' \
 		${BUILD_WRKSRC}/WebKit.pro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302091258.r19CwYfF026833>