Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/Makefile
Show All 14 Lines | |||||
# newer releases more easily. | # newer releases more easily. | ||||
# | # | ||||
# Also note that, due to the insane amount of patches this port needs, it tends | # Also note that, due to the insane amount of patches this port needs, it tends | ||||
# to lag behind the rest of the official Qt5 ones, which is why we set | # to lag behind the rest of the official Qt5 ones, which is why we set | ||||
# QT5_VERSION and DISTINFO_FILE here. | # QT5_VERSION and DISTINFO_FILE here. | ||||
PORTNAME= webengine | PORTNAME= webengine | ||||
DISTVERSION= ${QT5_VERSION} | DISTVERSION= ${QT5_VERSION} | ||||
PORTREVISION= 15 | |||||
CATEGORIES= www | CATEGORIES= www | ||||
PKGNAMEPREFIX= qt5- | PKGNAMEPREFIX= qt5- | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Qt 5 library to render web content | COMMENT= Qt 5 library to render web content | ||||
BUILD_DEPENDS= bison:devel/bison \ | BUILD_DEPENDS= bison:devel/bison \ | ||||
ninja:devel/ninja \ | ninja:devel/ninja \ | ||||
yasm:devel/yasm \ | yasm:devel/yasm \ | ||||
${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ | |||||
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat | ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat | ||||
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ | LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ | ||||
libdbus-1.so:devel/dbus \ | libdbus-1.so:devel/dbus \ | ||||
libevent.so:devel/libevent \ | libevent.so:devel/libevent \ | ||||
libfontconfig.so:x11-fonts/fontconfig \ | libfontconfig.so:x11-fonts/fontconfig \ | ||||
libfreetype.so:print/freetype2 \ | libfreetype.so:print/freetype2 \ | ||||
libharfbuzz.so:print/harfbuzz \ | libharfbuzz.so:print/harfbuzz \ | ||||
libjsoncpp.so:devel/jsoncpp \ | libjsoncpp.so:devel/jsoncpp \ | ||||
libnspr4.so:devel/nspr \ | libnspr4.so:devel/nspr \ | ||||
libnss3.so:security/nss \ | libnss3.so:security/nss \ | ||||
libopus.so:audio/opus \ | libopus.so:audio/opus \ | ||||
libpci.so:devel/libpci \ | libpci.so:devel/libpci \ | ||||
libpng.so:graphics/png \ | libpng.so:graphics/png \ | ||||
libre2.so:devel/re2 \ | libre2.so:devel/re2 \ | ||||
libsnappy.so:archivers/snappy \ | libsnappy.so:archivers/snappy \ | ||||
libvpx.so:multimedia/libvpx \ | |||||
libwebp.so:graphics/webp | libwebp.so:graphics/webp | ||||
DISTINFO_FILE= ${.CURDIR}/distinfo | DISTINFO_FILE= ${.CURDIR}/distinfo | ||||
QT5_VERSION= 5.9.5 | QT5_VERSION= 5.12.1 | ||||
OPTIONS_SINGLE= AUDIO | OPTIONS_SINGLE= AUDIO | ||||
OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO | OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO | ||||
OPTIONS_DEFAULT= ALSA | OPTIONS_DEFAULT= ALSA | ||||
AUDIO_DESC= Audio backend | AUDIO_DESC= Audio backend | ||||
# Need the alsa plugins to get sound at runtime, otherwise messages | # Need the alsa plugins to get sound at runtime, otherwise messages | ||||
# that the pcm_oss plugin can't be opened. | # that the pcm_oss plugin can't be opened. | ||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib | ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib | ||||
ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins | ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins | ||||
ALSA_VARS= QMAKE_CONFIGURE_ARGS+=-alsa | ALSA_VARS= QMAKE_CONFIGURE_ARGS+=-alsa | ||||
ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-alsa | ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-alsa | ||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio | PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio | ||||
PULSEAUDIO_VARS= QMAKE_CONFIGURE_ARGS+=-pulseaudio | PULSEAUDIO_VARS= QMAKE_CONFIGURE_ARGS+=-pulseaudio | ||||
PULSEAUDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-pulseaudio | PULSEAUDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-pulseaudio | ||||
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio | SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio | ||||
SNDIO_VARS= QMAKE_CONFIGURE_ARGS+=-sndio | SNDIO_VARS= QMAKE_CONFIGURE_ARGS+=-sndio | ||||
SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio | SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio | ||||
# We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks | # We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks | ||||
# whether webenginewidgets is available, which fails when qmake processes all | # whether webenginewidgets is available, which fails when qmake processes all | ||||
# .pro files at once. | # .pro files at once. | ||||
USES= gperf jpeg python:2.7,build pkgconfig \ | USES= gl gnome gperf jpeg python:2.7,build pkgconfig \ | ||||
qmake:norecursive,outsource qt-dist:5,webengine shebangfix | qmake:norecursive,outsource qt-dist:5,webengine shebangfix | ||||
USE_GL= gl | |||||
USE_GNOME= glib20 libxml2 libxslt | USE_GNOME= glib20 libxml2 libxslt | ||||
USE_QT= core declarative designer gui location network webchannel \ | USE_QT= core declarative designer gui location network webchannel \ | ||||
widgets buildtools_build qmake_build printsupport | widgets buildtools_build qmake_build printsupport | ||||
USE_XORG= x11 xcb xcomposite xcursor xext xi xorgproto \ | USE_XORG= x11 xcb xcomposite xcursor xext xi xorgproto \ | ||||
xrandr xrender xscrnsaver xtst | xrandr xrender xscrnsaver xtst | ||||
USE_LDCONFIG= ${QT_LIBDIR} | USE_LDCONFIG= ${QT_LIBDIR} | ||||
QMAKE_CONFIGURE_ARGS= -proprietary-codecs -system-ffmpeg -disable-webrtc | |||||
QMAKE_CONFIGURE_ARGS= -proprietary-codecs -system-ffmpeg | |||||
# We could just set it to an empty string as well. "all" does not account for | # We could just set it to an empty string as well. "all" does not account for | ||||
# dependencies correctly in the generated Makefiles, use the right target here. | # dependencies correctly in the generated Makefiles, use the right target here. | ||||
ALL_TARGET= first | ALL_TARGET= first | ||||
# We need ar(1) from ports because the Chromium code uses the @file syntax. | # We need ar(1) from ports because the Chromium code uses the @file syntax. | ||||
# We then need to ensure ld(1) from ports is used because of the archives ar(1) | # We then need to ensure ld(1) from ports is used because of the archives ar(1) | ||||
# generated. | # generated. | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |