pkgsrc/lang/gjs/Makefile
2021-04-21 11:40:12 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2021/04/21 11:40:26 adam Exp $
DISTNAME= gjs-1.68.0
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gjs/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
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"
.include "../../graphics/cairo-gobject/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../lang/mozjs78/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"