pkgsrc/chat/gajim/options.mk
2017-04-08 18:08:53 +00:00

34 lines
894 B
Makefile

# $NetBSD: options.mk,v 1.9 2017/04/08 18:08:53 riastradh Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gajim
PKG_SUPPORTED_OPTIONS= avahi dbus gnome gnome-keyring ssl
PKG_SUGGESTED_OPTIONS= dbus ssl
.include "../../mk/bsd.options.mk"
# ssl
.if !empty(PKG_OPTIONS:Mssl)
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.9:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-crypto-[0-9]*:../../security/py-crypto
.endif
# avahi
.if !empty(PKG_OPTIONS:Mavahi)
DEPENDS+= avahi-[0-9]*:../../net/avahi
.endif
# gnome
.if !empty(PKG_OPTIONS:Mgnome)
DEPENDS+= ${PYPKGPREFIX}-gnome2-[0-9]*:../../x11/py-gnome2
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-ORBit via py-gnome2
.endif
# gnome-keyring
.if !empty(PKG_OPTIONS:Mgnome-keyring)
DEPENDS+= ${PYPKGPREFIX}-gnome2-desktop-[0-9]*:../../x11/py-gnome2-desktop
.endif
# dbus
.if !empty(PKG_OPTIONS:Mdbus)
DEPENDS= ${PYPKGPREFIX}-dbus>=0.81:../../sysutils/py-dbus
.endif