summaryrefslogtreecommitdiff
path: root/net/ekiga
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2013-05-11 20:11:38 +0000
committerriastradh <riastradh@pkgsrc.org>2013-05-11 20:11:38 +0000
commit7510e6f76799758a7123e0943c8463b8ee24ffb1 (patch)
treeed5cf4bd99088b91b07fa1b6c5ef3a68e581a521 /net/ekiga
parentd7d921752c219f9a807fafb864fe4281960c0ec1 (diff)
downloadpkgsrc-7510e6f76799758a7123e0943c8463b8ee24ffb1.tar.gz
Make various Gnome things options (default enabled) for net/ekiga.
Diffstat (limited to 'net/ekiga')
-rw-r--r--net/ekiga/Makefile11
-rw-r--r--net/ekiga/PLIST11
-rw-r--r--net/ekiga/options.mk51
3 files changed, 54 insertions, 19 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index 95d090f4360..52e1d87f494 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2013/05/09 07:40:22 adam Exp $
+# $NetBSD: Makefile,v 1.47 2013/05/11 20:11:38 riastradh Exp $
#
DISTNAME= ekiga-3.2.6
@@ -23,8 +23,6 @@ CONFIGURE_ARGS+= --enable-gstreamer
.include "options.mk"
-GCONF_SCHEMAS= ekiga.schemas
-
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
@@ -37,25 +35,18 @@ BUILDLINK_TRANSFORM+= rm:-fno-exceptions
.include "../../audio/esound/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
-.include "../../devel/GConf/schemas.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/libgnome/buildlink3.mk"
-.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../devel/opal/buildlink3.mk"
.include "../../devel/ptlib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/libv4l/buildlink3.mk"
-.include "../../mail/evolution-data-server/buildlink3.mk"
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
.include "../../security/cyrus-sasl/buildlink3.mk"
-.include "../../sysutils/dbus-glib/buildlink3.mk"
-.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../x11/gtk2/buildlink3.mk"
diff --git a/net/ekiga/PLIST b/net/ekiga/PLIST
index 9357ceaf9b3..4458be86752 100644
--- a/net/ekiga/PLIST
+++ b/net/ekiga/PLIST
@@ -1,12 +1,13 @@
-@comment $NetBSD: PLIST,v 1.5 2009/11/17 19:50:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2013/05/11 20:11:38 riastradh Exp $
bin/ekiga
bin/ekiga-config-tool
-bin/ekiga-helper
+${PLIST.dbus}bin/ekiga-helper
+${PLIST.not-gconf}etc/ekiga/ekiga.schemas
man/man1/ekiga.1
share/applications/ekiga.desktop
-share/dbus-1/services/org.ekiga.Ekiga.service
-share/dbus-1/services/org.ekiga.Helper.service
-share/gconf/schemas/ekiga.schemas
+${PLIST.dbus}share/dbus-1/services/org.ekiga.Ekiga.service
+${PLIST.dbus}share/dbus-1/services/org.ekiga.Helper.service
+${PLIST.gconf}share/gconf/schemas/ekiga.schemas
share/gnome/help/ekiga/C/ekiga.xml
share/gnome/help/ekiga/C/figures/accounts_d1.png
share/gnome/help/ekiga/C/figures/accounts_h323.png
diff --git a/net/ekiga/options.mk b/net/ekiga/options.mk
index 17665f67fc5..be6ca56680b 100644
--- a/net/ekiga/options.mk
+++ b/net/ekiga/options.mk
@@ -1,13 +1,56 @@
-# $NetBSD: options.mk,v 1.1 2009/03/22 08:51:24 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2013/05/11 20:11:38 riastradh Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.ekiga
-PKG_SUPPORTED_OPTIONS+= avahi
-PKG_SUGGESTED_OPTIONS+= avahi
+PKG_OPTIONS_VAR= PKG_OPTIONS.ekiga
+PKG_SUPPORTED_OPTIONS+= avahi dbus evolution-data-server gconf gnome notify
+PKG_SUGGESTED_OPTIONS+= avahi dbus evolution-data-server gconf gnome notify
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= dbus gconf not-gconf
+
.if !empty(PKG_OPTIONS:Mavahi)
.include "../../net/avahi/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
+
+.if !empty(PKG_OPTIONS:Mdbus)
+CONFIGURE_ARGS+= --enable-dbus --enable-dbus-service
+PLIST.dbus= yes
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-dbus --disable-dbus-service
+.endif
+
+.if !empty(PKG_OPTIONS:Mevolution-data-server)
+CONFIGURE_ARGS+= --enable-eds
+.include "../../mail/evolution-data-server/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-eds
+.endif
+
+.if !empty(PKG_OPTIONS:Mgconf)
+PLIST.gconf= yes
+GCONF_SCHEMAS= ekiga.schemas
+CONFIGURE_ARGS+= --enable-gconf
+.include "../../devel/GConf/schemas.mk"
+.else
+PLIST.not-gconf= yes
+CONFIGURE_ARGS+= --disable-gconf
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnome)
+CONFIGURE_ARGS+= --enable-gnome
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-gnome
+.endif
+
+.if !empty(PKG_OPTIONS:Mnotify)
+CONFIGURE_ARGS+= --enable-notify
+.include "../../sysutils/libnotify/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-notify
+.endif