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.
29 lines
769 B
Makefile
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
|