Lines 10-16
Link Here
|
10 |
COMMENT= Qt4 WebKit engine |
10 |
COMMENT= Qt4 WebKit engine |
11 |
|
11 |
|
12 |
USE_GNOME= glib20 |
12 |
USE_GNOME= glib20 |
13 |
USE_GSTREAMER= yes |
|
|
14 |
USE_QT4= corelib declarative gui network \ |
13 |
USE_QT4= corelib declarative gui network \ |
15 |
qmake_build moc_build rcc_build |
14 |
qmake_build moc_build rcc_build |
16 |
QT_NONSTANDARD= yes |
15 |
QT_NONSTANDARD= yes |
Lines 44-51
Link Here
|
44 |
|
43 |
|
45 |
EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure |
44 |
EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure |
46 |
|
45 |
|
|
|
46 |
OPTIONS_DEFINE= GSTREAMER |
47 |
OPTIONS_DEFAULT= GSTREAMER |
48 |
|
49 |
GSTREAMER_DESC= HTML5 audio and video support |
50 |
|
47 |
.include <bsd.port.pre.mk> |
51 |
.include <bsd.port.pre.mk> |
48 |
|
52 |
|
|
|
53 |
.if ${PORT_OPTIONS:MGSTREAMER} |
54 |
USE_GSTREAMER= yes |
55 |
.else |
56 |
CONFIGURE_ARGS+= -no-gstreamer |
57 |
.endif |
58 |
|
49 |
# Base ld(1) segfaults on PowerPC: |
59 |
# Base ld(1) segfaults on PowerPC: |
50 |
# http://bugs.freebsd.org/173042 |
60 |
# http://bugs.freebsd.org/173042 |
51 |
.if ${ARCH} == "powerpc" |
61 |
.if ${ARCH} == "powerpc" |
Lines 57-64
Link Here
|
57 |
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake |
67 |
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake |
58 |
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc |
68 |
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc |
59 |
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc |
69 |
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc |
60 |
# Avoid building and installing several tests. Should this be |
70 |
# Avoid building and installing several tests. Should this be made an option? |
61 |
# made an option? |
|
|
62 |
${REINPLACE_CMD} -e '/WebKit\/qt\/tests/ d' \ |
71 |
${REINPLACE_CMD} -e '/WebKit\/qt\/tests/ d' \ |
63 |
${BUILD_WRKSRC}/WebKit.pro |
72 |
${BUILD_WRKSRC}/WebKit.pro |
64 |
|
73 |
|
Lines 76-82
Link Here
|
76 |
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ |
85 |
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ |
77 |
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \ |
86 |
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \ |
78 |
${WRKSRC}/lib/pkgconfig/QtWebKit.pc |
87 |
${WRKSRC}/lib/pkgconfig/QtWebKit.pc |
79 |
# QtWebKit is statically linked with jscore, remove the latest. |
88 |
# QtWebKit is statically linked with jscore, remove the latest. |
80 |
${REINPLACE_CMD} -e 's|-L../JavaScriptCore/release||; s|-ljscore||' \ |
89 |
${REINPLACE_CMD} -e 's|-L../JavaScriptCore/release||; s|-ljscore||' \ |
81 |
${WRKSRC}/lib/pkgconfig/QtWebKit.pc \ |
90 |
${WRKSRC}/lib/pkgconfig/QtWebKit.pc \ |
82 |
${WRKSRC}/lib/libQtWebKit.la |
91 |
${WRKSRC}/lib/libQtWebKit.la |