From 01aae93a08df7a5945a16aae7d7fe3c495504f98 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Thu, 22 Sep 2011 17:07:04 +0000 Subject: [PATCH] Enable gjs support (Javascript bindings for GNOME). ok jasper@ --- devel/libpeas/Makefile | 10 +++++++--- devel/libpeas/pkg/PLIST | 7 ++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/devel/libpeas/Makefile b/devel/libpeas/Makefile index 8166dfaca6f..de406087e7d 100755 --- a/devel/libpeas/Makefile +++ b/devel/libpeas/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.12 2011/09/22 16:01:02 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.13 2011/09/22 17:07:04 ajacoutot Exp $ COMMENT= gobject-based plugins engine GNOME_PROJECT= libpeas GNOME_VERSION= 1.1.4 +REVISION= 0 CATEGORIES= devel @@ -31,7 +32,8 @@ WANTLIB += gthread-2.0 gtk-3 icudata icui18n icuuc jpeg m pango-1.0 WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread WANTLIB += pthread-stubs seed-gtk3 soup-2.4 sqlite3 WANTLIB += stdc++ util webkitgtk-3.0 xcb xcb-render xcb-shm xml2 -WANTLIB += kvm xslt z ${MODPY_WANTLIB} +WANTLIB += kvm xslt z gjs mozjs ncurses nspr4 plc4 plds4 +WANTLIB += ${MODPY_WANTLIB} MODULES= devel/gettext \ x11/gnome \ @@ -43,12 +45,14 @@ BUILD_DEPENDS= devel/py-gobject3 MODGNOME_TOOLS= vala LIB_DEPENDS= devel/gobject-introspection \ - x11/gnome/seed + x11/gnome/seed \ + x11/gnome/gjs LIBTOOL_FLAGS= --tag=disable-static CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --disable-static \ + --enable-gjs \ --enable-seed \ --enable-python diff --git a/devel/libpeas/pkg/PLIST b/devel/libpeas/pkg/PLIST index ea4556f7084..a358b461712 100644 --- a/devel/libpeas/pkg/PLIST +++ b/devel/libpeas/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2011/09/22 16:01:02 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.6 2011/09/22 17:07:04 ajacoutot Exp $ @bin bin/peas-demo include/libpeas-1.0/ include/libpeas-1.0/libpeas/ @@ -23,6 +23,8 @@ lib/libpeas-1.0.la lib/libpeas-1.0/loaders/ @comment lib/libpeas-1.0/loaders/libcloader.la lib/libpeas-1.0/loaders/libcloader.so +@comment lib/libpeas-1.0/loaders/libgjsloader.la +lib/libpeas-1.0/loaders/libgjsloader.so @comment lib/libpeas-1.0/loaders/libpythonloader.la lib/libpeas-1.0/loaders/libpythonloader.so @comment lib/libpeas-1.0/loaders/libseedloader.la @@ -31,6 +33,9 @@ lib/libpeas-gtk-1.0.la @lib lib/libpeas-gtk-1.0.so.${LIBpeas-gtk-1.0_VERSION} lib/peas-demo/ lib/peas-demo/plugins/ +lib/peas-demo/plugins/gjshello/ +lib/peas-demo/plugins/gjshello/gjshello.js +lib/peas-demo/plugins/gjshello/gjshello.plugin lib/peas-demo/plugins/helloworld/ lib/peas-demo/plugins/helloworld/helloworld.plugin @comment lib/peas-demo/plugins/helloworld/libhelloworld.la