Update www/firefox-esr to version 102.5.0,1
[dports.git] / www / qt5-webkit / Makefile
1 PORTNAME=               webkit
2 DISTVERSION=            5.212.0-alpha4
3 PORTREVISION=           10
4 CATEGORIES=             www
5 MASTER_SITES=           https://github.com/qt${PORTNAME}/qt${PORTNAME}/releases/download/${DISTNAME}/
6 PKGNAMEPREFIX=          qt5-
7 DISTNAME=               qt${PORTNAME}-${DISTVERSION}
8
9 PATCH_SITES=            https://github.com/qt${PORTNAME}/qt${PORTNAME}/commit/
10 PATCHFILES+=            78360c01c796b6260bf828bc9c8a0ef73c5132fd.patch:-p1
11
12 MAINTAINER=             kde@FreeBSD.org
13 COMMENT=                QtWebKit with a more modern WebKit code base
14 WWW=            https://github.com/annulen/webkit
15
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
22
23 USES=                   bison cmake compiler:c++11-lang gnome gperf jpeg \
24                         pathfix perl5 pkgconfig python:3.5+,build qt:5 sqlite:3 \
25                         tar:xz xorg
26 USE_GNOME=              glib20 libxml2 libxslt
27 USE_PERL5=              build
28 USE_QT=                 core declarative gui location network opengl printsupport \
29                         sensors webchannel widgets \
30                         buildtools:build declarative-test:build qmake:build testlib:build
31 USE_RUBY=               yes
32 USE_XORG=               x11 xcomposite xrender
33
34 # Fix pkgconfig install paths.
35 PATHFIX_CMAKELISTSTXT=  PlatformQt.cmake
36
37 RUBY_NO_RUN_DEPENDS=    yes
38
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
44
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 ]
48 CXXFLAGS+=              -DNDEBUG
49
50 PLIST_SUB=              FULLVER="${PORTVERSION:R}"
51
52 SUB_FILES=              pkg-install
53 SUB_LIST=               QT_INCDIR="${QT_INCDIR}"
54
55 OPTIONS_DEFINE= GSTREAMER
56 OPTIONS_DEFAULT=        GSTREAMER
57
58 GSTREAMER_USES=         gstreamer
59 GSTREAMER_USE=          GSTREAMER=core
60 GSTREAMER_CMAKE_OFF=    -DUSE_GSTREAMER:BOOL=OFF
61
62 BINARY_ALIAS=           python3=${PYTHON_CMD}
63
64 .include <bsd.port.mk>