summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Li <vishwin@FreeBSD.org>2025-11-27 12:35:17 -0500
committerCharlie Li <vishwin@FreeBSD.org>2025-11-27 12:35:17 -0500
commitb37f7e116641b7c8c8e8da96a82eff8d5974c98b (patch)
tree4f07cef972b672ff043dcd6c2d7468e430c052ad
parentsysutils/nginx-ui: Update to 2.2.1 (diff)
lang/cjs: update to 128.0
New version scheme is tied to SpiderMonkey rather than Cinnamon
-rw-r--r--lang/cjs/Makefile17
-rw-r--r--lang/cjs/distinfo8
2 files changed, 15 insertions, 10 deletions
diff --git a/lang/cjs/Makefile b/lang/cjs/Makefile
index a752893bd4ea..900edd3b5c04 100644
--- a/lang/cjs/Makefile
+++ b/lang/cjs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cjs
-DISTVERSION= 6.4.0
+DISTVERSION= 128.0
CATEGORIES= lang gnome
DIST_SUBDIR= gnome
@@ -13,13 +13,16 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT.txt
LICENSE_FILE_LGPL20+ = ${WRKSRC}/LICENSES/LGPL-2.0-or-later.txt
LIB_DEPENDS= libffi.so:devel/libffi \
- libmozjs-115.so:lang/spidermonkey115
+ libmozjs-128.so:lang/spidermonkey128
USES= compiler:c++17-lang gnome meson pkgconfig \
python:build shebangfix xorg
USE_GNOME= cairo glib20 introspection
USE_XORG= x11 xext
-MESON_ARGS= -Dprofiler=disabled
+MESON_ARGS= -Dprofiler=disabled \
+ -Dinstalled_tests=false
+# requires display connection which is not always available
+MESON_ARGS+= -Dskip_gtk_tests=true
USE_LDCONFIG= yes
@@ -36,9 +39,13 @@ OPTIONS_DEFAULT= READLINE
READLINE_MESON_ENABLED= readline
READLINE_USES= readline
-TEST_BUILD_DEPENDS= dbus-run-session:devel/dbus \
+TEST_BUILD_DEPENDS= dbus-run-session:devel/dbus
+TEST_TEST_DEPENDS= ${TEST_BUILD_DEPENDS} \
gtk3>0:x11-toolkits/gtk30 \
gtk4>0:x11-toolkits/gtk40
-TEST_MESON_FALSE= skip_dbus_tests skip_gtk_tests
+TEST_MESON_FALSE= skip_dbus_tests
+
+post-install:
+ @${RM} -r ${STAGEDIR}${PREFIX}/libexec/installed-tests
.include <bsd.port.mk>
diff --git a/lang/cjs/distinfo b/lang/cjs/distinfo
index 4c513062cc1f..c48c5a9334d4 100644
--- a/lang/cjs/distinfo
+++ b/lang/cjs/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1735624742
-SHA256 (gnome/linuxmint-cjs-6.4.0_GH0.tar.gz) = 55d730fdb331a9778a0d569e45c968ac68c8f218876e5d2d475cb5af21b6935a
-SIZE (gnome/linuxmint-cjs-6.4.0_GH0.tar.gz) = 874506
-SHA256 (gnome/f93880c356108cfdbc8f9ebe318d18f256d7128d.patch) = 254299e1b39987c53c3c4943fcc3c4e0b00a27442192243e3c7c1589969f2811
-SIZE (gnome/f93880c356108cfdbc8f9ebe318d18f256d7128d.patch) = 1674
+TIMESTAMP = 1763849810
+SHA256 (gnome/linuxmint-cjs-128.0_GH0.tar.gz) = d3432dd2722eef65b4a36db430824882b3bd90b4db469f576ff087d045e022ca
+SIZE (gnome/linuxmint-cjs-128.0_GH0.tar.gz) = 981542