pkgsrc/x11/kde-runtime4/options.mk
markd 0f0bf04f11 kde-runtime4: make samba option off by default
The samba3 dependency conflicts with newer kde elements that require samba4
so switch off by default.  If someone really requires this option as well
as newer kde bits could bump the dependency to samba4 as its quite happy to
build against that.
2021-04-07 20:49:15 +00:00

29 lines
769 B
Makefile

# $NetBSD: options.mk,v 1.6 2021/04/07 20:49:15 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kde-runtime4
PKG_SUPPORTED_OPTIONS= samba alsa pulseaudio
#PKG_SUGGESTED_OPTIONS= samba
PKG_SUGGESTED_OPTIONS.Linux+= alsa
.include "../../mk/bsd.options.mk"
PLIST_VARS+= smb
.if !empty(PKG_OPTIONS:Msamba)
.include "../../net/samba/buildlink3.mk"
#CMAKE_ARGS+= -DSAMBA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.samba}/include
#CMAKE_ARGS+= -DSAMBA_LIBRARIES:FILEPATH=${BUILDLINK_PREFIX.samba}/lib/samba
PLIST.smb= yes
.endif
.if !empty(PKG_OPTIONS:Malsa)
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_ALSA=OFF
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
.endif