pkgsrc/audio/rhythmbox/options.mk

24 lines
558 B
Makefile

# $NetBSD: options.mk,v 1.3 2019/12/22 06:17:10 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rhythmbox
PKG_SUPPORTED_OPTIONS= hal daap
PKG_SUGGESTED_OPTIONS= hal
PLIST_VARS+= hal daap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mhal)
CONFIGURE_ARGS+= --with-hal
PLIST.hal= yes
.include "../../devel/libmtp/buildlink3.mk"
.include "../../sysutils/hal/buildlink3.mk"
.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