pkgsrc/x11/kde-runtime4/options.mk

30 lines
770 B
Makefile
Raw Normal View History

2016-02-26 11:57:45 +01:00
# $NetBSD: options.mk,v 1.5 2016/02/26 11:27:14 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kde-runtime4
2013-04-30 22:51:54 +02:00
PKG_SUPPORTED_OPTIONS= samba alsa pulseaudio
PKG_SUGGESTED_OPTIONS= samba
2016-02-26 11:57:45 +01:00
PKG_SUGGESTED_OPTIONS.Linux+= alsa
.include "../../mk/bsd.options.mk"
PLIST_VARS+= smb
.if !empty(PKG_OPTIONS:Msamba)
.include "../../net/samba/buildlink3.mk"
2011-02-25 21:37:56 +01:00
#CMAKE_ARGS+= -DSAMBA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.samba}/include
#CMAKE_ARGS+= -DSAMBA_LIBRARIES:FILEPATH=${BUILDLINK_PREFIX.samba}/lib/samba
PLIST.smb= yes
.endif
2011-02-25 21:37:56 +01:00
.if !empty(PKG_OPTIONS:Malsa)
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_ALSA=OFF
.endif
2013-04-30 22:51:54 +02:00
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
.endif