summaryrefslogtreecommitdiff
path: root/audio/rhythmbox/options.mk
diff options
context:
space:
mode:
authordrochner <drochner>2010-02-03 12:45:15 +0000
committerdrochner <drochner>2010-02-03 12:45:15 +0000
commite5e3e3b55692b8d058e9bb4fc721f6c947d067e6 (patch)
tree9146c682630b1bc50639bb3ed2fefd91d223e898 /audio/rhythmbox/options.mk
parent7cbbe6e0db0d7e22bdb3220c0628ad7620ad1032 (diff)
downloadpkgsrc-e5e3e3b55692b8d058e9bb4fc721f6c947d067e6.tar.gz
make "daap" support an option which if off per default -- it depends
on "avahi" bump PKGREVISION
Diffstat (limited to 'audio/rhythmbox/options.mk')
-rw-r--r--audio/rhythmbox/options.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/rhythmbox/options.mk b/audio/rhythmbox/options.mk
index f1a34537dab..73e1247fbf7 100644
--- a/audio/rhythmbox/options.mk
+++ b/audio/rhythmbox/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.1 2009/05/26 20:26:58 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2010/02/03 12:45:15 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rhythmbox
-PKG_SUPPORTED_OPTIONS= hal
+PKG_SUPPORTED_OPTIONS= hal daap
PKG_SUGGESTED_OPTIONS= hal
-PLIST_VARS+= hal
+PLIST_VARS+= hal daap
.include "../../mk/bsd.options.mk"
@@ -19,3 +19,10 @@ PLIST.hal= yes
.else
CONFIGURE_ARGS+= --without-hal
.endif
+
+.if !empty(PKG_OPTIONS:Mdaap)
+.include "../../net/avahi/buildlink3.mk"
+PLIST.daap= yes
+.else
+CONFIGURE_ARGS+= --disable-daap
+.endif