5f34284e7c
This is a major upgrade of the Qt libraries [1], [2]. * People that use upgrading mechanisms with incomplete dependency handling (portmaster & Co) should make sure to manually remove the existing Qt packages to guarantee a safe upgrade. Keep in mind, that Qt does not like if you have an incomplete upgrade. * This version of Qt drops support for OpenSSL 1.0 -- this means that there won't be any binary packages for Qt5 provided by the FreeBSD package builders for FreeBSD 11.x anymore -- and the same for *all* the ports depending on net/qt5-network [3]. If you cannot upgrade to a more recent FreeBSD version (12.x, 13.x), you will need to build Qt5 from ports while switching to an SSL implementation from ports. Big thanks are due for * kai@ for updating webengine (also mikael@) * Felix Palmen for providing LibreSSL support patches * adridg@ and lbartoletti@ for helping me fix the fallout [1] https://www.qt.io/blog/qt-5.15-released [2] https://wiki.qt.io/New_Features_in_Qt_5.15 [3] https://www.freshports.org/net/qt5-network PR: 247010 Exp-run by: antoine
64 lines
1.8 KiB
Makefile
64 lines
1.8 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= webkit
|
|
DISTVERSION= 5.212.0-alpha4
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/qt${PORTNAME}/qt${PORTNAME}/releases/download/${DISTNAME}/
|
|
PKGNAMEPREFIX= qt5-
|
|
DISTNAME= qt${PORTNAME}-${DISTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= QtWebKit with a more modern WebKit code base
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libhyphen.so:textproc/hyphen \
|
|
libicui18n.so:devel/icu \
|
|
libpng.so:graphics/png \
|
|
libwebp.so:graphics/webp \
|
|
libwoff2dec.so:devel/woff2
|
|
|
|
USES= bison cmake compiler:c++11-lang gnome gperf jpeg \
|
|
pathfix perl5 pkgconfig python:3.5+,build qt:5 sqlite:3 \
|
|
tar:xz xorg
|
|
USE_GNOME= glib20 libxml2 libxslt
|
|
USE_PERL5= build
|
|
USE_QT= core declarative gui location network opengl printsupport \
|
|
sensors testlib webchannel widgets \
|
|
buildtools_build qmake_build
|
|
USE_RUBY= yes
|
|
USE_XORG= x11 xcomposite xrender
|
|
|
|
# Fix pkgconfig install paths.
|
|
PATHFIX_CMAKELISTSTXT= PlatformQt.cmake
|
|
|
|
RUBY_NO_RUN_DEPENDS= yes
|
|
|
|
CMAKE_ARGS= -DPORT:STRING="Qt" \
|
|
-DKDE_INSTALL_INCLUDEDIR:PATH="${QT_INCDIR_REL}" \
|
|
-DKDE_INSTALL_LIBDIR:PATH="${QT_LIBDIR_REL}"
|
|
CMAKE_ON= ENABLE_OPENGL
|
|
CMAKE_OFF= USE_QT_MULTIMEDIA USE_LD_GOLD
|
|
|
|
# Add -DNDEBUG to CXXFLAGS which in turn gets sucked into
|
|
# CMAKE_CXX_FLAGS_RELEASE where we actually want to have it.
|
|
# [for the ASSERT in Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp ]
|
|
CXXFLAGS+= -DNDEBUG
|
|
|
|
PLIST_SUB= FULLVER="${PORTVERSION:R}"
|
|
|
|
SUB_FILES= pkg-install
|
|
SUB_LIST= QT_INCDIR="${QT_INCDIR}"
|
|
|
|
OPTIONS_DEFINE= GSTREAMER
|
|
OPTIONS_DEFAULT= GSTREAMER
|
|
|
|
GSTREAMER_LIB_DEPENDS= libgstapp-1.0.so:multimedia/gstreamer1-plugins \
|
|
libgstbase-1.0.so:multimedia/gstreamer1
|
|
GSTREAMER_USE= GSTREAMER1=core
|
|
GSTREAMER_CMAKE_OFF= -DUSE_GSTREAMER:BOOL=OFF
|
|
|
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
|
|
.include <bsd.port.mk>
|