ports/www/qt5-webkit/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

61 lines
1.8 KiB
Makefile

# $FreeBSD$
PORTNAME= webkit
DISTVERSION= 5.212.0-alpha3
PORTREVISION= 2
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 gperf jpeg \
pathfix perl5 pkgconfig python:2.7,build qt:5 sqlite:3 \
tar:xz
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
.include <bsd.port.mk>