diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-02-03 17:21:56 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-02-03 17:21:56 +0000 |
commit | c2dd4d2e2d1073e25997d892bd76aac5e841d55b (patch) | |
tree | 66fbbfbf5bab18e735ad851a8c6925ac9e54cd31 /www/qt4-webkit | |
parent | dc0df90ca8b14adc6647caf42bd1d0b88fc9ca01 (diff) | |
download | ports-c2dd4d2e2d1073e25997d892bd76aac5e841d55b.tar.gz ports-c2dd4d2e2d1073e25997d892bd76aac5e841d55b.zip |
Notes
Diffstat (limited to 'www/qt4-webkit')
-rw-r--r-- | www/qt4-webkit/Makefile | 20 | ||||
-rw-r--r-- | www/qt4-webkit/pkg-plist | 2 |
2 files changed, 16 insertions, 6 deletions
diff --git a/www/qt4-webkit/Makefile b/www/qt4-webkit/Makefile index 9d707b8018dc..24020164b2e8 100644 --- a/www/qt4-webkit/Makefile +++ b/www/qt4-webkit/Makefile @@ -9,8 +9,6 @@ PKGNAMEPREFIX= qt4- MAINTAINER= kde@FreeBSD.org COMMENT= Qt4 WebKit engine -USE_GNOME= glib20 -USE_GSTREAMER= yes USE_QT4= corelib declarative gui network \ qmake_build moc_build rcc_build QT_NONSTANDARD= yes @@ -44,6 +42,19 @@ CONFIGURE_ARGS+= -I../../../../include/Qt -I../../../../include EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure +OPTIONS_DEFINE= GSTREAMER +OPTIONS_DEFAULT= GSTREAMER + +GSTREAMER_DESC= HTML5 audio and video support + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MGSTREAMER} +USE_GSTREAMER= yes +.else +CONFIGURE_ARGS+= -no-gstreamer +.endif + .include <bsd.port.pre.mk> # Base ld(1) segfaults on PowerPC: @@ -57,8 +68,7 @@ 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 - # Avoid building and installing several tests. Should this be - # made an option? +# Avoid building and installing several tests. Should this be made an option? ${REINPLACE_CMD} -e '/WebKit\/qt\/tests/ d' \ ${BUILD_WRKSRC}/WebKit.pro @@ -76,7 +86,7 @@ post-configure: ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \ ${WRKSRC}/lib/pkgconfig/QtWebKit.pc - # QtWebKit is statically linked with jscore, remove the latest. +# QtWebKit is statically linked with jscore, remove the latest. ${REINPLACE_CMD} -e 's|-L../JavaScriptCore/release||; s|-ljscore||' \ ${WRKSRC}/lib/pkgconfig/QtWebKit.pc \ ${WRKSRC}/lib/libQtWebKit.la diff --git a/www/qt4-webkit/pkg-plist b/www/qt4-webkit/pkg-plist index 3923148494bf..ed6d821dd7c6 100644 --- a/www/qt4-webkit/pkg-plist +++ b/www/qt4-webkit/pkg-plist @@ -64,7 +64,7 @@ lib/qt4/libQtWebKit.prl lib/qt4/libQtWebKit.so lib/qt4/libQtWebKit.so.4 lib/qt4/libQtWebKit.so.4.9 -lib/qt4/libQtWebKit.so.4.9.2 +lib/qt4/libQtWebKit.so.4.9.3 libdata/pkgconfig/QtWebKit.pc share/qt4/mkspecs/modules/qt_webkit_version.pri @dirrmtry share/qt4/mkspecs/modules |