2 DISTVERSION= 5.212.0-alpha4
5 MASTER_SITES= https://github.com/qt${PORTNAME}/qt${PORTNAME}/releases/download/${DISTNAME}/
7 DISTNAME= qt${PORTNAME}-${DISTVERSION}
9 PATCH_SITES= https://github.com/qt${PORTNAME}/qt${PORTNAME}/commit/
10 PATCHFILES+= 78360c01c796b6260bf828bc9c8a0ef73c5132fd.patch:-p1
12 MAINTAINER= kde@FreeBSD.org
13 COMMENT= QtWebKit with a more modern WebKit code base
14 WWW= https://github.com/annulen/webkit
16 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
17 libhyphen.so:textproc/hyphen \
18 libicui18n.so:devel/icu \
19 libpng.so:graphics/png \
20 libwebp.so:graphics/webp \
21 libwoff2dec.so:devel/woff2
23 USES= bison cmake compiler:c++11-lang gnome gperf jpeg \
24 pathfix perl5 pkgconfig python:3.5+,build qt:5 sqlite:3 \
26 USE_GNOME= glib20 libxml2 libxslt
28 USE_QT= core declarative gui location network opengl printsupport \
29 sensors webchannel widgets \
30 buildtools:build declarative-test:build qmake:build testlib:build
32 USE_XORG= x11 xcomposite xrender
34 # Fix pkgconfig install paths.
35 PATHFIX_CMAKELISTSTXT= PlatformQt.cmake
37 RUBY_NO_RUN_DEPENDS= yes
39 CMAKE_ARGS= -DPORT:STRING="Qt" \
40 -DKDE_INSTALL_INCLUDEDIR:PATH="${QT_INCDIR_REL}" \
41 -DKDE_INSTALL_LIBDIR:PATH="${QT_LIBDIR_REL}"
42 CMAKE_ON= ENABLE_OPENGL
43 CMAKE_OFF= USE_QT_MULTIMEDIA USE_LD_GOLD
45 # Add -DNDEBUG to CXXFLAGS which in turn gets sucked into
46 # CMAKE_CXX_FLAGS_RELEASE where we actually want to have it.
47 # [for the ASSERT in Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp ]
50 PLIST_SUB= FULLVER="${PORTVERSION:R}"
52 SUB_FILES= pkg-install
53 SUB_LIST= QT_INCDIR="${QT_INCDIR}"
55 OPTIONS_DEFINE= GSTREAMER
56 OPTIONS_DEFAULT= GSTREAMER
58 GSTREAMER_USES= gstreamer
59 GSTREAMER_USE= GSTREAMER=core
60 GSTREAMER_CMAKE_OFF= -DUSE_GSTREAMER:BOOL=OFF
62 BINARY_ALIAS= python3=${PYTHON_CMD}
64 .include <bsd.port.mk>