Lines 1-8
Link Here
|
1 |
# Created by: Michael Johnson <ahze@FreeBSD.org> |
1 |
# Created by: Michael Johnson <ahze@FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= webkit |
3 |
PORTNAME= webkit |
4 |
DISTVERSION= 2.30.5 |
4 |
DISTVERSION= 2.32.1 |
5 |
PORTREVISION= 1 |
|
|
6 |
CATEGORIES= www |
5 |
CATEGORIES= www |
7 |
MASTER_SITES= https://webkitgtk.org/releases/ |
6 |
MASTER_SITES= https://webkitgtk.org/releases/ |
8 |
PKGNAMESUFFIX= 2-gtk3 |
7 |
PKGNAMESUFFIX= 2-gtk3 |
Lines 32-59
LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \
Link Here
|
32 |
libsoup-2.4.so:devel/libsoup \ |
31 |
libsoup-2.4.so:devel/libsoup \ |
33 |
libgcrypt.so:security/libgcrypt \ |
32 |
libgcrypt.so:security/libgcrypt \ |
34 |
libtasn1.so:security/libtasn1 \ |
33 |
libtasn1.so:security/libtasn1 \ |
35 |
libwoff2dec.so:devel/woff2 |
34 |
libwoff2dec.so:devel/woff2 \ |
|
|
35 |
libsysinfo.so:devel/libsysinfo |
36 |
|
36 |
|
37 |
PORTSCOUT= limitw:1,even |
37 |
PORTSCOUT= limitw:1,even |
38 |
|
38 |
|
39 |
USES= bison cmake compiler:c++14-lang gettext gl gnome gperf \ |
39 |
USES= bison cmake compiler:c++14-lang gettext gl gnome gperf \ |
40 |
jpeg localbase:ldflags perl5 pkgconfig python:build \ |
40 |
jpeg localbase:ldflags perl5 pkgconfig python:build \ |
41 |
sqlite tar:xz xorg |
41 |
sqlite tar:xz |
42 |
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt |
42 |
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt |
43 |
USE_GL= gl egl glesv2 |
43 |
USE_GL= egl glesv2 |
44 |
USE_LDCONFIG= yes |
44 |
USE_LDCONFIG= yes |
45 |
USE_PERL5= build |
45 |
USE_PERL5= build |
46 |
USE_RUBY= yes |
46 |
USE_RUBY= yes |
47 |
RUBY_NO_RUN_DEPENDS= yes |
47 |
RUBY_NO_RUN_DEPENDS= yes |
48 |
USE_XORG= x11 xcomposite xdamage xext xrender xt ice |
|
|
49 |
|
48 |
|
50 |
BINARY_ALIAS= python=${PYTHON_CMD} |
49 |
BINARY_ALIAS= python=${PYTHON_CMD} |
51 |
CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 |
50 |
CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 |
52 |
CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0 |
51 |
CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0 |
53 |
CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 |
52 |
CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 |
|
|
53 |
LDFLAGS+= -lsysinfo |
54 |
CMAKE_ARGS= -DPORT=GTK |
54 |
CMAKE_ARGS= -DPORT=GTK |
55 |
CMAKE_OFF= USE_LD_GOLD ${CMAKE_OFF_${ARCH}:U} \ |
55 |
CMAKE_OFF= ENABLE_GAMEPAD \ |
56 |
ENABLE_GLES2 \ |
56 |
USE_LD_GOLD ${CMAKE_OFF_${ARCH}:U} \ |
57 |
USE_SYSTEMD |
57 |
USE_SYSTEMD |
58 |
CMAKE_ON= ENABLE_MINIBROWSER \ |
58 |
CMAKE_ON= ENABLE_MINIBROWSER \ |
59 |
USE_SYSTEM_MALLOC |
59 |
USE_SYSTEM_MALLOC |
Lines 66-73
INSTALL_TARGET= install
Link Here
|
66 |
|
66 |
|
67 |
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 |
67 |
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 |
68 |
|
68 |
|
69 |
OPTIONS_DEFINE= DEBUG GEOIP GSTREAMER WAYLAND |
69 |
OPTIONS_DEFINE= DEBUG GEOIP GSTREAMER WAYLAND X11 |
70 |
OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND |
70 |
OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND X11 |
71 |
OPTIONS_SUB= yes |
71 |
OPTIONS_SUB= yes |
72 |
|
72 |
|
73 |
# Building WebKit with debugging symbols requires ar and ld with |
73 |
# Building WebKit with debugging symbols requires ar and ld with |
Lines 96-104
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \
Link Here
|
96 |
libwpe-1.0.so:www/libwpe \ |
96 |
libwpe-1.0.so:www/libwpe \ |
97 |
libWPEBackend-fdo-1.0.so:www/wpebackend-fdo |
97 |
libWPEBackend-fdo-1.0.so:www/wpebackend-fdo |
98 |
|
98 |
|
99 |
post-patch: |
99 |
X11_CMAKE_BOOL= ENABLE_X11_TARGET |
100 |
@${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \ |
100 |
X11_USES= xorg |
101 |
${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp |
101 |
X11_USE= XORG=x11,xcomposite,xdamage,xext,xrender,xt,ice |
|
|
102 |
X11_VARS= USE_GL+=gl |
102 |
|
103 |
|
103 |
pre-configure: |
104 |
pre-configure: |
104 |
# .if !exists() evaluates too early before cairo has a chance to be installed |
105 |
# .if !exists() evaluates too early before cairo has a chance to be installed |