3663f4dcb1
pkgsrc changes: --------------- * Remove useless PLIST.vv variable. * Disable vv when farstream or gstreamer options are not enabled. upstream changes: ----------------- version 2.14.12 (12/31/2022): * Remove a string from the Romanian translation that's breaks the creation of the Windows installer. (RR 2157) (Gary Kramlich) version 2.14.11 (12/31/2022): * Add Markus "ivanhoe" Fischer to the Crazy Patch Writers! Congrats Markus! (RR 1952) (Gary Kramlich) * Fix a crash when closing a group chat with spellchk plugin enabled. (RR 1951) (Markus Fischer) * Fix network interface detection on Windows to fix broken file transfers. (PIDGIN-17123, PIDGIN-17293, PIDGIN-17516, PIDGIN-17704) (RR 2018) (Gary Kramlich) * Update the about box to point people to Discourse instead of the mailing lists. (RR 2154) (Gary Kramlich)
95 lines
2.9 KiB
Makefile
95 lines
2.9 KiB
Makefile
# $NetBSD: options.mk,v 1.35 2023/01/23 20:25:27 triaxx Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
|
|
PKG_OPTIONS_REQUIRED_GROUPS= ssl
|
|
PKG_OPTIONS_GROUP.ssl= gnutls nss
|
|
PKG_SUPPORTED_OPTIONS+= avahi dbus debug farstream
|
|
PKG_SUPPORTED_OPTIONS+= gstreamer perl sasl tcl
|
|
PKG_SUGGESTED_OPTIONS+= dbus farstream gstreamer gnutls
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= avahi dbus gnutls nss perl tcl
|
|
|
|
.if !empty(PKG_OPTIONS:Mavahi)
|
|
PLIST.avahi= yes
|
|
CONFIGURE_ARGS+= --enable-avahi
|
|
. include "../../net/avahi/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnutls)
|
|
PLIST.gnutls= yes
|
|
CONFIGURE_ARGS+= --enable-gnutls
|
|
CONFIGURE_ARGS+= --with-gnutls-includes=${BUILDLINK_PREFIX.gnutls}/include
|
|
CONFIGURE_ARGS+= --with-gnutls-libs=${BUILDLINK_PREFIX.gnutls}/lib
|
|
. include "../../security/gnutls/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mnss)
|
|
PLIST.nss= yes
|
|
CONFIGURE_ARGS+= --enable-nss
|
|
CONFIGURE_ARGS+= --with-nspr-includes=${BUILDLINK_PREFIX.nspr}/include/nspr
|
|
CONFIGURE_ARGS+= --with-nspr-libs=${BUILDLINK_PREFIX.nspr}/lib/nspr
|
|
CONFIGURE_ARGS+= --with-nss-includes=${BUILDLINK_PREFIX.nss}/include/nss
|
|
CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib/nss
|
|
. include "../../devel/nss/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mperl)
|
|
PLIST.perl= yes
|
|
CONFIGURE_ARGS+= --enable-perl
|
|
USE_TOOLS+= perl:run
|
|
PERL5_PACKLIST_DIR= ${PREFIX}/lib/purple-2/perl
|
|
PERL5_PACKLIST= auto/Purple/.packlist
|
|
. include "../../lang/perl5/packlist.mk"
|
|
. include "../../lang/perl5/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mtcl)
|
|
PLIST.tcl= yes
|
|
CONFIGURE_ARGS+= --enable-tcl
|
|
CONFIGURE_ARGS+= --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
|
|
. include "../../lang/tcl/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdbus)
|
|
CONFIGURE_ARGS+= --enable-dbus
|
|
CONFIGURE_ARGS+= --with-python3=${PYTHONBIN}
|
|
PLIST.dbus= yes
|
|
REPLACE_SH+= libpurple/purple-send
|
|
REPLACE_SH+= libpurple/purple-send-async
|
|
REPLACE_PYTHON+= libpurple/purple-remote
|
|
REPLACE_PYTHON+= libpurple/purple-url-handler
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
. include "../../sysutils/py-dbus/buildlink3.mk"
|
|
. include "../../sysutils/dbus/buildlink3.mk"
|
|
. include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
. include "../../lang/python/application.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
|
CONFIGURE_ARGS+= --enable-cyrus-sasl
|
|
. include "../../security/cyrus-sasl/buildlink3.mk"
|
|
.endif
|
|
|
|
# voice/video support requires both farstream and gstreamer
|
|
.if !empty(PKG_OPTIONS:Mfarstream) && !empty(PKG_OPTIONS:Mgstreamer)
|
|
CONFIGURE_ARGS+= --enable-vv
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-vv
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mfarstream)
|
|
CONFIGURE_ARGS+= --enable-farstream
|
|
. include "../../chat/farstream/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgstreamer)
|
|
CONFIGURE_ARGS+= --enable-gstreamer
|
|
. include "../../multimedia/gstreamer1/buildlink3.mk"
|
|
. include "../../multimedia/gst-plugins1-base/buildlink3.mk"
|
|
.endif
|