jasper 6c29dd7fa1 - update to gjs-1.64.2
there are runtime regressions with some applications (e.g. gnome-weather),
these will be handled in due time
2020-05-14 14:55:56 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.85 2020/05/14 14:55:56 jasper Exp $
USE_WXNEEDED= Yes
COMMENT= Javascript bindings for GNOME
GNOME_PROJECT= gjs
GNOME_VERSION= 1.64.2
SHARED_LIBS += gjs 5.0 # 0.0
CATEGORIES= devel
# MIT
# console modules (modules/console.c) and stack printer (gjs/stack.c)
# contain code from Mozilla which are: MPL1.1/LGPLv2+/GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX}
WANTLIB += X11 c cairo cairo-gobject ffi gio-2.0 girepository-1.0
WANTLIB += glib-2.0 gobject-2.0 intl m mozjs-68 readline
MODULES= devel/meson \
x11/gnome
DEBUG_PACKAGES = ${BUILD_PACKAGES}
# sync with devel/spidermonkey68 and SHARED_LIBS consumers:
# x11/gnome/documents x11/gnome/shell x11/gnome/sushi
COMPILER= base-clang ports-clang
MODCLANG_ARCHS = amd64 i386
MODPY_RUNDEP= No
MODPY_BUILDDEP= No
LIB_DEPENDS= devel/gobject-introspection \
devel/spidermonkey68
# --with-dbus-tests
BUILD_DEPENDS += x11/dbus
CONFIGURE_ARGS = -Dprofiler=disabled \
-Dinstalled_tests=false
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gjs/
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/gjs/
.include <bsd.port.mk>