HiDPI: Load xsettings during initialization phase Add HiDPI configuration in XSettings Add support for HiDPI displays plugins: G_GNUC_UNUSED in unused but needed variables xsettings: drop CanChangeAccels which won’t work with GTK+3 msd-datetime-mechanism.c: Fix build warnings: msd-mpris-manager.c: Fix build warning: configure.ac: drop GLIB_VERSION_MAX_ALLOWED Translations update
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2018/05/14 13:17:15 youri Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mate-settings-daemon
|
|
PKG_SUPPORTED_OPTIONS= nss polkit
|
|
PKG_OPTIONS_OPTIONAL_GROUPS+= audio
|
|
PKG_OPTIONS_GROUP.audio= pulseaudio gstreamer
|
|
PKG_SUGGESTED_OPTIONS= nss polkit gstreamer
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= nss polkit
|
|
|
|
.if !empty(PKG_OPTIONS:Mnss)
|
|
.include "../../devel/nss/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-smartcard-support
|
|
PLIST.nss= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-smartcard-support
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-pulse
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-pulse
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpolkit)
|
|
.include "../../security/polkit/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-polkit
|
|
PLIST.polkit= yes
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d
|
|
CONF_FILES+= ${PREFIX}/share/examples/${PKGBASE}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf \
|
|
${PKG_SYSCONFDIR}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-polkit
|
|
.endif
|