pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/xulrunner add a gnome option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7e34f363931
branches:  trunk
changeset: 399132:e7e34f363931
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Sep 13 17:56:56 2009 +0000

description:
add a gnome option

diffstat:

 devel/xulrunner/PLIST      |   5 ++++-
 devel/xulrunner/options.mk |  15 ++++++++++++---
 2 files changed, 16 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 0812f9bb0334 -r e7e34f363931 devel/xulrunner/PLIST
--- a/devel/xulrunner/PLIST     Sun Sep 13 17:28:44 2009 +0000
+++ b/devel/xulrunner/PLIST     Sun Sep 13 17:56:56 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2009/09/13 12:19:26 tnn Exp $
+@comment $NetBSD: PLIST,v 1.14 2009/09/13 17:56:56 tnn Exp $
 bin/xulrunner
 include/xulrunner/stable/base64.h
 include/xulrunner/stable/blapit.h
@@ -2335,7 +2335,10 @@
 lib/xulrunner/components/layout_printing.xpt
 lib/xulrunner/components/layout_xul.xpt
 lib/xulrunner/components/layout_xul_tree.xpt
+${PLIST.gnome}lib/xulrunner/components/libdbusservice.so
 lib/xulrunner/components/libimgicon.so
+${PLIST.gnome}lib/xulrunner/components/libmozgnome.so
+${PLIST.gnome}lib/xulrunner/components/libnkgnomevfs.so
 lib/xulrunner/components/locale.xpt
 lib/xulrunner/components/loginmgr.xpt
 lib/xulrunner/components/lwbrk.xpt
diff -r 0812f9bb0334 -r e7e34f363931 devel/xulrunner/options.mk
--- a/devel/xulrunner/options.mk        Sun Sep 13 17:28:44 2009 +0000
+++ b/devel/xulrunner/options.mk        Sun Sep 13 17:56:56 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.3 2009/08/15 05:03:30 obache Exp $
+# $NetBSD: options.mk,v 1.4 2009/09/13 17:56:56 tnn Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.xulrunner
-PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc
+PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome
 
-PLIST_VARS+=   jit
+PLIST_VARS+=   jit gnome
 
 .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
 PKG_SUGGESTED_OPTIONS+=        mozilla-jemalloc
@@ -20,6 +20,15 @@
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-gnomevfs --enable-dbus
+PLIST.gnome=           yes
+.else
+CONFIGURE_ARGS+=       --disable-gnomevfs --disable-dbus
+.endif
+
 .if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
 CONFIGURE_ARGS+=       --enable-jemalloc
 .else



Home | Main Index | Thread Index | Old Index