dbus is optional in gajim.diff -r1.33 -r1.34 pkgsrc/chat/gajim/Makefile
(riastradh)
@@ -1,28 +1,27 @@ | @@ -1,28 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.33 2017/02/12 06:25:07 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.34 2017/04/08 18:08:53 riastradh Exp $ | |
2 | 2 | |||
3 | DISTNAME= gajim-0.15 | 3 | DISTNAME= gajim-0.15 | |
4 | PKGREVISION= 16 | 4 | PKGREVISION= 16 | |
5 | CATEGORIES= chat python | 5 | CATEGORIES= chat python | |
6 | MASTER_SITES= http://www.gajim.org/downloads/0.15/ | 6 | MASTER_SITES= http://www.gajim.org/downloads/0.15/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= vsevolod@highsecure.ru | 9 | MAINTAINER= vsevolod@highsecure.ru | |
10 | HOMEPAGE= http://www.gajim.org/ | 10 | HOMEPAGE= http://www.gajim.org/ | |
11 | COMMENT= Jabber client written in PyGTK | 11 | COMMENT= Jabber client written in PyGTK | |
12 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
13 | 13 | |||
14 | DEPENDS= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | 14 | DEPENDS= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | |
15 | DEPENDS= ${PYPKGPREFIX}-dbus>=0.81:../../sysutils/py-dbus | |||
16 | DEPENDS= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | 15 | DEPENDS= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | |
17 | 16 | |||
18 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-gtk2 | 17 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-gtk2 | |
19 | 18 | |||
20 | .include "options.mk" | 19 | .include "options.mk" | |
21 | 20 | |||
22 | USE_TOOLS+= gmake intltool pkg-config msgfmt | 21 | USE_TOOLS+= gmake intltool pkg-config msgfmt | |
23 | GNU_CONFIGURE= yes | 22 | GNU_CONFIGURE= yes | |
24 | 23 | |||
25 | .include "../../lang/python/application.mk" | 24 | .include "../../lang/python/application.mk" | |
26 | .include "../../lang/python/extension.mk" | 25 | .include "../../lang/python/extension.mk" | |
27 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 26 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
28 | .include "../../x11/libXScrnSaver/buildlink3.mk" | 27 | .include "../../x11/libXScrnSaver/buildlink3.mk" |
@@ -1,29 +1,34 @@ | @@ -1,29 +1,34 @@ | |||
1 | # $NetBSD: options.mk,v 1.8 2017/01/01 14:43:25 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.9 2017/04/08 18:08:53 riastradh Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gajim | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gajim | |
4 | PKG_SUPPORTED_OPTIONS= avahi gnome gnome-keyring ssl | 4 | PKG_SUPPORTED_OPTIONS= avahi dbus gnome gnome-keyring ssl | |
5 | PKG_SUGGESTED_OPTIONS= ssl | 5 | PKG_SUGGESTED_OPTIONS= dbus ssl | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | # ssl | 9 | # ssl | |
10 | .if !empty(PKG_OPTIONS:Mssl) | 10 | .if !empty(PKG_OPTIONS:Mssl) | |
11 | DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.9:../../security/py-OpenSSL | 11 | DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.9:../../security/py-OpenSSL | |
12 | DEPENDS+= ${PYPKGPREFIX}-crypto-[0-9]*:../../security/py-crypto | 12 | DEPENDS+= ${PYPKGPREFIX}-crypto-[0-9]*:../../security/py-crypto | |
13 | .endif | 13 | .endif | |
14 | 14 | |||
15 | # avahi | 15 | # avahi | |
16 | .if !empty(PKG_OPTIONS:Mavahi) | 16 | .if !empty(PKG_OPTIONS:Mavahi) | |
17 | DEPENDS+= avahi-[0-9]*:../../net/avahi | 17 | DEPENDS+= avahi-[0-9]*:../../net/avahi | |
18 | .endif | 18 | .endif | |
19 | 19 | |||
20 | # gnome | 20 | # gnome | |
21 | .if !empty(PKG_OPTIONS:Mgnome) | 21 | .if !empty(PKG_OPTIONS:Mgnome) | |
22 | DEPENDS+= ${PYPKGPREFIX}-gnome2-[0-9]*:../../x11/py-gnome2 | 22 | DEPENDS+= ${PYPKGPREFIX}-gnome2-[0-9]*:../../x11/py-gnome2 | |
23 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-ORBit via py-gnome2 | 23 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-ORBit via py-gnome2 | |
24 | .endif | 24 | .endif | |
25 | 25 | |||
26 | # gnome-keyring | 26 | # gnome-keyring | |
27 | .if !empty(PKG_OPTIONS:Mgnome-keyring) | 27 | .if !empty(PKG_OPTIONS:Mgnome-keyring) | |
28 | DEPENDS+= ${PYPKGPREFIX}-gnome2-desktop-[0-9]*:../../x11/py-gnome2-desktop | 28 | DEPENDS+= ${PYPKGPREFIX}-gnome2-desktop-[0-9]*:../../x11/py-gnome2-desktop | |
29 | .endif | 29 | .endif | |
30 | ||||
31 | # dbus | |||
32 | .if !empty(PKG_OPTIONS:Mdbus) | |||
33 | DEPENDS= ${PYPKGPREFIX}-dbus>=0.81:../../sysutils/py-dbus | |||
34 | .endif |