pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gvfs Add avahi and cdda support, bump PKGREVI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a270d3b2b5b2
branches:  trunk
changeset: 551858:a270d3b2b5b2
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Dec 20 20:11:54 2008 +0000

description:
Add avahi and cdda support, bump PKGREVISION.

diffstat:

 sysutils/gvfs/Makefile |  24 ++++++++++++++++++++----
 sysutils/gvfs/PLIST    |   6 +++++-
 2 files changed, 25 insertions(+), 5 deletions(-)

diffs (81 lines):

diff -r 2f53c49b9b7e -r a270d3b2b5b2 sysutils/gvfs/Makefile
--- a/sysutils/gvfs/Makefile    Sat Dec 20 19:44:00 2008 +0000
+++ b/sysutils/gvfs/Makefile    Sat Dec 20 20:11:54 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2008/11/24 15:09:02 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/12/20 20:11:54 jmcneill Exp $
 #
 
 DISTNAME=      gvfs-1.0.3
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gvfs/1.0/}
 EXTRACT_SUFX=  .tar.bz2
@@ -22,18 +23,33 @@
 .include "../../mk/bsd.prefs.mk"
 
 PKG_OPTIONS_VAR=        PKG_OPTIONS.gvfs
-PKG_SUPPORTED_OPTIONS+= hal
-PKG_SUGGESTED_OPTIONS+= hal
-PLIST_VARS+=           hal
+PKG_SUPPORTED_OPTIONS+= avahi hal
+PKG_SUGGESTED_OPTIONS+= avahi hal
+PLIST_VARS+=           ${PKG_SUPPORTED_OPTIONS}
 .include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mavahi)
+.include "../../net/avahi/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-avahi
+PLIST.avahi=           yes
+.else
+CONFIGURE_ARGS+=       --disable-avahi
+.endif
+
 .if !empty(PKG_OPTIONS:Mhal)
+.include "../../misc/libcdio/buildlink3.mk"
 .include "../../sysutils/hal/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-hal
+CONFIGURE_ARGS+=       --enable-cdda
 PLIST.hal=             yes
 .else
 CONFIGURE_ARGS+=       --disable-hal
+CONFIGURE_ARGS+=       --disable-cdda
 .endif
 
+# Not yet; will cause the package to fail if fuse is not present
+#.include "../../mk/fuse.buildlink3.mk"
+
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.17.6
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
diff -r 2f53c49b9b7e -r a270d3b2b5b2 sysutils/gvfs/PLIST
--- a/sysutils/gvfs/PLIST       Sat Dec 20 19:44:00 2008 +0000
+++ b/sysutils/gvfs/PLIST       Sat Dec 20 20:11:54 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2008/11/23 03:28:50 jmcneill Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/12/20 20:11:54 jmcneill Exp $
 bin/gvfs-cat
 bin/gvfs-copy
 bin/gvfs-info
@@ -25,8 +25,10 @@
 libexec/gvfsd
 libexec/gvfsd-archive
 libexec/gvfsd-burn
+${PLIST.hal}libexec/gvfsd-cdda
 libexec/gvfsd-computer
 libexec/gvfsd-dav
+${PLIST.avahi}libexec/gvfsd-dnssd
 libexec/gvfsd-ftp
 libexec/gvfsd-http
 libexec/gvfsd-localtest
@@ -39,8 +41,10 @@
 ${PLIST.hal}share/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service
 share/gvfs/mounts/archive.mount
 share/gvfs/mounts/burn.mount
+${PLIST.hal}share/gvfs/mounts/cdda.mount
 share/gvfs/mounts/computer.mount
 share/gvfs/mounts/dav.mount
+${PLIST.avahi}share/gvfs/mounts/dns-sd.mount
 share/gvfs/mounts/ftp.mount
 share/gvfs/mounts/http.mount
 share/gvfs/mounts/localtest.mount



Home | Main Index | Thread Index | Old Index