mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Allow build without DBUS.
PR: ports/120509 Submitted by: Amaury Gauthier <amauryamaury@gmail.com> Approved by: Denis Shaposhnikov <dsh@wizard.volgograd.ru> (maintainer)
This commit is contained in:
parent
dd46428dfa
commit
c4468c6a46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207494
@ -14,10 +14,8 @@ MASTER_SITES= http://www.gajim.org/downloads/ \
|
||||
MAINTAINER= dsh@vlink.ru
|
||||
COMMENT= Gajim is a Jabber client based on a plugin system
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
|
||||
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl \
|
||||
${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
@ -37,7 +35,18 @@ CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
MAN1= gajim.1 gajim-remote.1
|
||||
MAN1= gajim.1
|
||||
|
||||
.if !defined(WITHOUT_DBUS)
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus
|
||||
CONFIGURE_ARGS+= --enable-remote
|
||||
MAN1+= gajim-remote.1
|
||||
PLIST_SUB+= DBUS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-remote
|
||||
PLIST_SUB+= DBUS="@comment "
|
||||
.endif
|
||||
|
||||
EMOTICONS= animated static static-big
|
||||
ICONSETS= crystal dcraven gnome goojim gossip gota jabberbulb nuvola \
|
||||
|
@ -9,3 +9,14 @@
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_in_files = gajim.desktop.in.in
|
||||
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
|
||||
@@ -267,7 +267,9 @@
|
||||
sounds_DATA = $(srcdir)/sounds/*.wav
|
||||
otherdir = $(pkgdatadir)/data/other
|
||||
other_DATA = other/servers.xml
|
||||
-man_MANS = gajim.1 gajim-remote.1
|
||||
+@BUILD_REMOTE_CONTROL_FALSE@OPTIONAL_MAN =
|
||||
+@BUILD_REMOTE_CONTROL_TRUE@OPTIONAL_MAN = gajim-remote.1
|
||||
+man_MANS = gajim.1 $(OPTIONAL_MAN)
|
||||
EXTRA_DIST = $(desktop_in_files) \
|
||||
$(sounds_DATA) \
|
||||
$(other_DATA) \
|
||||
|
@ -1,5 +1,5 @@
|
||||
bin/gajim
|
||||
bin/gajim-remote
|
||||
%%DBUS%%bin/gajim-remote
|
||||
lib/gajim/gtkspell.la
|
||||
lib/gajim/gtkspell.so
|
||||
lib/gajim/idle.la
|
||||
|
Loading…
Reference in New Issue
Block a user