1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/www/qt5-webkit/Makefile
Tobias C. Berner 145a78aecc www/qt5-webkit add upstream patch to fix mail/trojita
PR:		224215
Submitted by:	tcberner
Reported by:	Laurent Cimon <laurent@nuxi.ca>
2017-12-16 11:57:06 +00:00

54 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= webkit
DISTVERSION= 5.212.0-alpha2
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= https://github.com/annulen/${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 \
libgstapp-1.0.so:multimedia/gstreamer1-plugins \
libgstbase-1.0.so:multimedia/gstreamer1 \
libhyphen.so:textproc/hyphen \
libicui18n.so:devel/icu \
libpng.so:graphics/png \
libwebp.so:graphics/webp
USES= bison cmake:outsource gperf jpeg pathfix perl5 pkgconfig \
python:2.7,build sqlite:3 tar:xz
USE_GNOME= glib20 libxml2 libxslt
USE_GSTREAMER1= core
USE_QT5= core gui location network opengl printsupport \
qml quick 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}" \
-DENABLE_OPENGL:BOOL=TRUE \
-DUSE_QT_MULTIMEDIA:BOOL=FALSE
# 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}"
.include <bsd.port.mk>