pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gjs: Import gjs-1.82.1 as wip/gjs



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <dan%alt.md@localhost>
Pushed By:	cirnatdan
Date:		Sat Dec 14 19:21:59 2024 +0100
Changeset:	c08ba2be717835998d7f71668b26a157ef3a7baa

Added Files:
	gjs/DESCR
	gjs/Makefile
	gjs/PLIST
	gjs/buildlink3.mk
	gjs/distinfo

Log Message:
gjs: Import gjs-1.82.1 as wip/gjs

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c08ba2be717835998d7f71668b26a157ef3a7baa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gjs/DESCR         |  3 +++
 gjs/Makefile      | 38 ++++++++++++++++++++++++++++++++++++++
 gjs/PLIST         | 26 ++++++++++++++++++++++++++
 gjs/buildlink3.mk | 19 +++++++++++++++++++
 gjs/distinfo      |  5 +++++
 5 files changed, 91 insertions(+)

diffs:
diff --git a/gjs/DESCR b/gjs/DESCR
new file mode 100644
index 0000000000..6bc76b1eaf
--- /dev/null
+++ b/gjs/DESCR
@@ -0,0 +1,3 @@
+Gjs is a Javascript binding for GNOME. It's mainly based on
+Spidermonkey javascript engine and the GObject introspection
+framework.
diff --git a/gjs/Makefile b/gjs/Makefile
new file mode 100644
index 0000000000..e334ff98e8
--- /dev/null
+++ b/gjs/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.32 2024/11/17 07:16:19 wiz Exp $
+
+DISTNAME=	gjs-1.82.1
+CATEGORIES=	lang
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gjs/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.gnome.org/GNOME/gjs
+COMMENT=	Javascript binding for GNOME based on Spidermonkey
+LICENSE=	mit
+
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/output/gjs@sha:${WRKSRC}/output/gjs-jsapi@sta:${WRKSRC}/output/gjs-console@exe
+MESON_ARGS+=	-Dinstalled_tests=false
+MESON_ARGS+=	-Dprofiler=disabled
+
+PYTHON_FOR_BUILD_ONLY=	tool
+
+PKGCONFIG_OVERRIDE+=		output/meson-private/gjs-1.0.pc
+PKGCONFIG_OVERRIDE_STAGE=	post-configure
+
+CHECK_PORTABILITY_SKIP+=	tools/run_iwyu.sh
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
+BUILDLINK_API_DEPENDS.cairo+=	cairo>=1.18
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../lang/mozjs128/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gjs/PLIST b/gjs/PLIST
new file mode 100644
index 0000000000..8732ff1f0a
--- /dev/null
+++ b/gjs/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+bin/gjs
+bin/gjs-console
+include/gjs-1.0/gjs/context.h
+include/gjs-1.0/gjs/coverage.h
+include/gjs-1.0/gjs/error-types.h
+include/gjs-1.0/gjs/gjs.h
+include/gjs-1.0/gjs/macros.h
+include/gjs-1.0/gjs/mem.h
+include/gjs-1.0/gjs/profiler.h
+lib/gjs/girepository-1.0/GjsPrivate-1.0.typelib
+lib/libgjs.so
+lib/libgjs.so.0
+lib/libgjs.so.0.0.0
+lib/pkgconfig/gjs-1.0.pc
+libexec/installed-tests/gjs/GIMarshallingTests-1.0.typelib
+libexec/installed-tests/gjs/Regress-1.0.typelib
+libexec/installed-tests/gjs/RegressUnix-1.0.typelib
+libexec/installed-tests/gjs/Utility-1.0.typelib
+libexec/installed-tests/gjs/WarnLib-1.0.typelib
+libexec/installed-tests/gjs/libgimarshallingtests.so
+libexec/installed-tests/gjs/libregress.so
+libexec/installed-tests/gjs/libutility.so
+libexec/installed-tests/gjs/libwarnlib.so
+share/gjs-1.0/lsan/lsan.supp
+share/gjs-1.0/valgrind/gjs.supp
diff --git a/gjs/buildlink3.mk b/gjs/buildlink3.mk
new file mode 100644
index 0000000000..3137fa0adf
--- /dev/null
+++ b/gjs/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.20 2024/11/14 22:20:27 wiz Exp $
+
+BUILDLINK_TREE+=	gjs
+
+.if !defined(GJS_BUILDLINK3_MK)
+GJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gjs+=	gjs>=1.53.4
+BUILDLINK_ABI_DEPENDS.gjs?=	gjs>=1.82
+BUILDLINK_PKGSRCDIR.gjs?=	../../wip/gjs
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../lang/mozjs128/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.endif	# GJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-gjs
diff --git a/gjs/distinfo b/gjs/distinfo
new file mode 100644
index 0000000000..7aa7df605b
--- /dev/null
+++ b/gjs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.10 2022/03/10 20:53:35 nia Exp $
+
+BLAKE2s (gjs-1.82.1.tar.xz) = cc73b6a97413d4b1c0ae8b17a3692262fdd7c3dab821515d7157dae23aeb19fe
+SHA512 (gjs-1.82.1.tar.xz) = 2e4e1ceee784d252cb0f6a5df9c9dd9a486112af9973e184d785cb4bcb06a5844e16ce51b8a46021220f2b6ead24186eb98cc15b836492f71922e8a80669b16f
+Size (gjs-1.82.1.tar.xz) = 728920 bytes


Home | Main Index | Thread Index | Old Index