diff --git a/lang/v8-beta/Makefile b/lang/v8-beta/Makefile index 00334b3735cc..1446c02bfdc4 100644 --- a/lang/v8-beta/Makefile +++ b/lang/v8-beta/Makefile @@ -1,118 +1,118 @@ # We follow the beta channel on https://omahaproxy.appspot.com/ # https://chromium.googlesource.com/v8/v8/+/refs/heads/10.3-lkgr PORTNAME= v8 -PORTVERSION= 10.3.174.4 +PORTVERSION= 10.3.174.11 CATEGORIES= lang MASTER_SITES= LOCAL/sunpoet/v8/${PORTVERSION:R:R}:local PKGNAMESUFFIX= -beta DISTFILES= build-${BUILD_REV}.tar.gz:local \ buildtools-${BUILDTOOLS_REV}.tar.gz:local \ clang-${CLANG_REV}.tar.gz:local \ common-${COMMON_REV}.tar.gz:local \ googletest-${GOOGLETEST_REV}.tar.gz:local \ icu-${ICU_REV}.tar.gz:local \ zlib-${ZLIB_REV}.tar.gz:local DIST_SUBDIR= v8/${PORTVERSION:R:R} EXTRACT_ONLY= ${DISTNAME}.tar.gz MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open source JavaScript engine by Google LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= binutils>=0:devel/binutils \ gn:devel/gn \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} LIB_DEPENDS= libicudata.so:devel/icu USES= compiler:c++17-lang cpe gnome ninja pkgconfig python:3.5+,build tar:xz USE_GNOME= glib20 BINARY_ALIAS= python3=${PYTHON_CMD} MAKE_ARGS= -C out/Release USE_LDCONFIG= yes SUB_FILES= v8.pc v8_libbase.pc v8_libplatform.pc USE_GITHUB= yes CPE_VENDOR= google CONFLICTS_INSTALL= v8 BUILD_REV= 1c34f36484f43be915b48b090527d87356c72ce8 BUILDTOOLS_REV= 7208eddba161d85108097c3c5975264c04e3cad8 CLANG_REV= 9da95105864734ee87f47e0de638a09eb088338b COMMON_REV= d115b033c4e53666b535cbd1985ffe60badad082 GOOGLETEST_REV= af29db7ec28d6df1c7f0f745186884091e602e07 ICU_REV= 585942f33d939a11f4600bd5042649b7ca189008 ZLIB_REV= 9979c19f11314156490b53da91df08c934a3c0d4 # Run "gn args --list out/Release" for all variables. # 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+= clang_use_chrome_plugins=false \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" \ is_clang=true \ is_component_build=true \ is_debug=false \ treat_warnings_as_errors=false \ use_aura=true \ use_lld=true \ use_custom_libcxx=false \ v8_use_external_startup_data=false OPTIONS_DEFINE= EXAMPLES post-extract: @${MKDIR} ${WRKSRC}/base/trace_event/common ${WRKSRC}/build ${WRKSRC}/buildtools ${WRKSRC}/third_party/googletest/src ${WRKSRC}/third_party/icu ${WRKSRC}/third_party/zlib ${WRKSRC}/tools/clang @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/build-${BUILD_REV}.tar.gz -C ${WRKSRC}/build @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/buildtools-${BUILDTOOLS_REV}.tar.gz -C ${WRKSRC}/buildtools @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/clang-${CLANG_REV}.tar.gz -C ${WRKSRC}/tools/clang @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/common-${COMMON_REV}.tar.gz -C ${WRKSRC}/base/trace_event/common @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/googletest-${GOOGLETEST_REV}.tar.gz -C ${WRKSRC}/third_party/googletest/src @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/icu-${ICU_REV}.tar.gz -C ${WRKSRC}/third_party/icu @${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/zlib-${ZLIB_REV}.tar.gz -C ${WRKSRC}/third_party/zlib post-patch: @${REINPLACE_CMD} -i '' 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/build/toolchain/gcc_toolchain.gni ${WRKSRC}/buildtools/third_party/libc++/BUILD.gn # https://github.com/klzgrad/naiveproxy/blob/master/src/build/config/gclient_args.gni @${ECHO_CMD} 'checkout_google_benchmark = false' > ${WRKSRC}/build/config/gclient_args.gni # Use ICU from ports and create needed directory pre-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} ./build/linux/unbundle/replace_gn_files.py --system-libraries icu # || ${FALSE} @${MKDIR} ${WRKSRC}/out/Release/gen/shim_headers/icui18n_shim/third_party/icu/source/i18n/unicode ${WRKSRC}/out/Release/gen/shim_headers/icuuc_shim/third_party/icu/source/common/unicode @${MKDIR} ${WRKSRC}/out/Release/gen/include @${CP} -R ${LOCALBASE}/include/unicode ${WRKSRC}/out/Release/gen/include/unicode do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} gn gen out/Release --args='${GN_ARGS}' do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/cppgc ${STAGEDIR}${PREFIX}/include/libplatform ${INSTALL_PROGRAM} ${WRKSRC}/out/Release/d8 ${STAGEDIR}${PREFIX}/bin/d8 ${INSTALL_PROGRAM} ${WRKSRC}/out/Release/mkgrokdump ${STAGEDIR}${PREFIX}/bin/mkgrokdump ${INSTALL_PROGRAM} ${WRKSRC}/out/Release/mksnapshot ${STAGEDIR}${PREFIX}/bin/mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/Release/v8_shell ${STAGEDIR}${PREFIX}/bin/v8_shell ${INSTALL_LIB} ${WRKSRC}/out/Release/libchrome_zlib.so ${STAGEDIR}${PREFIX}/lib/libchrome_zlib.so ${INSTALL_LIB} ${WRKSRC}/out/Release/libcppgc.so ${STAGEDIR}${PREFIX}/lib/libcppgc.so ${INSTALL_LIB} ${WRKSRC}/out/Release/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so ${INSTALL_LIB} ${WRKSRC}/out/Release/libv8_libbase.so ${STAGEDIR}${PREFIX}/lib/libv8_libbase.so ${INSTALL_LIB} ${WRKSRC}/out/Release/libv8_libplatform.so ${STAGEDIR}${PREFIX}/lib/libv8_libplatform.so ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include/ cd ${WRKSRC}/include/cppgc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/cppgc '-name *\.h' ${INSTALL_DATA} ${WRKSRC}/include/libplatform/*.h ${STAGEDIR}${PREFIX}/include/libplatform/ ${INSTALL_DATA} ${WRKDIR}/v8*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/Release/v8_simple_* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/lang/v8-beta/distinfo b/lang/v8-beta/distinfo index 997b5d344cab..a7b2a0575d7d 100644 --- a/lang/v8-beta/distinfo +++ b/lang/v8-beta/distinfo @@ -1,17 +1,17 @@ -TIMESTAMP = 1653925890 +TIMESTAMP = 1655208218 SHA256 (v8/10.3/build-1c34f36484f43be915b48b090527d87356c72ce8.tar.gz) = b2357a8869477efde4f9c00db7e9724fa7f91014e41c95ca9af04d1a69826e73 SIZE (v8/10.3/build-1c34f36484f43be915b48b090527d87356c72ce8.tar.gz) = 1429146 SHA256 (v8/10.3/buildtools-7208eddba161d85108097c3c5975264c04e3cad8.tar.gz) = 2938cd9a943c6ada5cfea163206e13c04c9d6e9302990ea6a99d60720da62685 SIZE (v8/10.3/buildtools-7208eddba161d85108097c3c5975264c04e3cad8.tar.gz) = 87080 SHA256 (v8/10.3/clang-9da95105864734ee87f47e0de638a09eb088338b.tar.gz) = a1cf18801bb5073f661062d525f350c9c20026cf030bbbc62726414f6271cb94 SIZE (v8/10.3/clang-9da95105864734ee87f47e0de638a09eb088338b.tar.gz) = 301159 SHA256 (v8/10.3/common-d115b033c4e53666b535cbd1985ffe60badad082.tar.gz) = a9023ef8d38372f8577fdd1683a7841c72f96169d28c00482a65c486c3eeefad SIZE (v8/10.3/common-d115b033c4e53666b535cbd1985ffe60badad082.tar.gz) = 10496 SHA256 (v8/10.3/googletest-af29db7ec28d6df1c7f0f745186884091e602e07.tar.gz) = dcca6755ff45b7aee6d461e74dd5ec765c3abc579d5a3906013630ca72e85a38 SIZE (v8/10.3/googletest-af29db7ec28d6df1c7f0f745186884091e602e07.tar.gz) = 840843 SHA256 (v8/10.3/icu-585942f33d939a11f4600bd5042649b7ca189008.tar.gz) = 720d9cf89b870bfb77f5601b6a683e02f5ce3c6199714972412b66bc9769a113 SIZE (v8/10.3/icu-585942f33d939a11f4600bd5042649b7ca189008.tar.gz) = 49657477 SHA256 (v8/10.3/zlib-9979c19f11314156490b53da91df08c934a3c0d4.tar.gz) = 04de97ac30242c3acf4b0159453863ea75caa0fd6b8b69a17e03917ea97ec032 SIZE (v8/10.3/zlib-9979c19f11314156490b53da91df08c934a3c0d4.tar.gz) = 562540 -SHA256 (v8/10.3/v8-v8-10.3.174.4_GH0.tar.gz) = fcf1dda3cca8c07f31a1637e9c52405e051c603f2e7219086fcca7560e878aad -SIZE (v8/10.3/v8-v8-10.3.174.4_GH0.tar.gz) = 27932388 +SHA256 (v8/10.3/v8-v8-10.3.174.11_GH0.tar.gz) = 8098a533b575b4a36da91883f3d4427d07883934db29f045aae453ffdc1383b6 +SIZE (v8/10.3/v8-v8-10.3.174.11_GH0.tar.gz) = 27937673