summaryrefslogtreecommitdiffstats
path: root/www/chromium/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/Makefile')
-rw-r--r--www/chromium/Makefile35
1 files changed, 20 insertions, 15 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 6a5d253..c6eb773 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= chromium
-PORTVERSION= 58.0.3029.110
+PORTVERSION= 59.0.3071.104
CATEGORIES= www
-MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
+MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on
MAINTAINER= chromium@FreeBSD.org
@@ -57,16 +57,17 @@ LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher \
RUN_DEPENDS= xdg-open:devel/xdg-utils \
droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf
-ONLY_FOR_ARCHS= i386 amd64
-USES= compiler bison cpe desktop-file-utils execinfo jpeg \
+ONLY_FOR_ARCHS= amd64 i386
+USES= bison compiler cpe desktop-file-utils execinfo jpeg \
ninja perl5 pkgconfig python:2,build shebangfix tar:xz
CPE_VENDOR= google
CPE_PRODUCT= chrome
+USE_LDCONFIG= ${DATADIR}
USE_PERL5= build
USE_XORG= scrnsaverproto x11 xcb xcomposite xcursor xext xdamage xfixes xi \
xproto xrandr xrender xscrnsaver xtst
-USE_GNOME= atk glib20 gtk20 gtk30 dconf libxslt libxml2
+USE_GNOME= atk dconf glib20 gtk20 gtk30 libxml2 libxslt
MAKE_ARGS= -C out/${BUILDTYPE}
SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper
ALL_TARGET= chrome
@@ -78,20 +79,22 @@ INSTALLS_ICONS= yes
# Some parts don't have use_system_* flag, and can be turned on/off by using
# replace_gn_files.py script, some parts just turned on/off for target host
# OS "target_os == is_bsd", like libusb, libpci.
-GN_ARGS+= is_clang=true \
- clang_use_chrome_plugins=false \
+GN_ARGS+= clang_use_chrome_plugins=false \
enable_media_router=true \
enable_nacl=false \
enable_one_click_signin=true \
enable_remoting=false \
enable_webrtc=false \
fieldtrial_testing_like_official_build=true \
+ is_clang=true \
toolkit_views=true \
+ treat_warnings_as_errors=false \
use_allocator="none" \
use_aura=true \
use_cups=true \
use_experimental_allocator_shim=false \
- treat_warnings_as_errors=false \
+ use_gtk3=true \
+ use_lld=true \
use_sysroot=false \
use_system_libjpeg=true \
use_system_sqlite=false # chrome has additional patches
@@ -146,17 +149,13 @@ GN_ARGS+= proprietary_codecs=false
GN_ARGS+= enable_hevc_demuxing=false
.endif
-DEBUG_MAKE_ENV= V=1
.if ${PORT_OPTIONS:MDEBUG}
BUILDTYPE= Debug
GN_ARGS+= is_debug=true
GN_BOOTSTRAP_FLAGS+= --debug
-#GN_ARGS+= is_component_build=true
+MAKE_ENV+= V=1
.else
BUILDTYPE= Release
-.if ${ARCH} == amd64
-GN_ARGS+= use_lld=true # harder, better, faster, stronger
-.endif
GN_ARGS+= is_debug=false
GN_ARGS+= symbol_level=0
GN_ARGS+= remove_webcore_debug_symbols=true
@@ -244,8 +243,8 @@ test regression-test: build
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.for t in font_service test_ime_driver ui
- ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${t}.service \
+.for m in font_service test_ime_driver ui
+ ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${m}.service \
${STAGEDIR}${DATADIR}
.endfor
.for s in 22 24 48 64 128 256
@@ -274,6 +273,12 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \
${STAGEDIR}${DATADIR}
+.if ${PORT_OPTIONS:MDEBUG}
+ ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \
+ ${STAGEDIR}${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \
+ ${STAGEDIR}${DATADIR}
+.endif
.if ${PORT_OPTIONS:MDRIVER}
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \
${STAGEDIR}${PREFIX}/bin
OpenPOWER on IntegriCloud