pkgsrc/chat/libpurple/options.mk
adam 6fbcfcbcf5 Changes 2.7.9:
John: Just a quick release for a security fix here.  Elliott has not
  yet had a chance to work on the MSN breakage that's been present in
  the last couple releases, but we hope he can do it before 2.7.10!

Changes 2.7.8:
  Elliott: OK, so I know a few things broke with the last release, and
  it's too bad we had to rush it for that silly certificate thing that
  the MSN people can't configure properly.  I've certainly done a lot of
  small fixes this time, but it's too bad we haven't been able to get the
  transfers with the official client fixed yet.  I promise it'll be in
  the next release (barring any quick security issues).

  John: So, it's been about a month since we last released.  Again, we've
  assembled a bugfix release for your enjoyment.  While a few commonly
  reported bugs remain, particularly in MSN, we're working on it for the
  next release.  In the meantime, Merry Christmas and enjoy!

Changes 2.7.7:
  John: Well, this time around, we should finally have the certificate
  issue really and fully fixed for all of you MSN users.  Also, we have
  a few AIM-related fixes in this release, most notably the fix for the
  new "SSL Handshake Failure" message some of you got after upgrading.
  That one was an oversight on our part.  Enjoy the fixes!
2011-02-02 13:18:47 +00:00

94 lines
2.8 KiB
Makefile

# $NetBSD: options.mk,v 1.18 2011/02/02 13:18:48 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
PKG_SUPPORTED_OPTIONS+= avahi dbus debug farsight gnome gnutls
PKG_SUPPORTED_OPTIONS+= gstreamer perl sasl tcl
PKG_SUGGESTED_OPTIONS+= dbus farsight gnome gnutls gstreamer
.include "../../mk/bsd.options.mk"
PLIST_VARS+= avahi dbus gnome 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:Mgnome)
PLIST.gnome= yes
. include "../../devel/GConf/schemas.mk"
GCONF_SCHEMAS+= purple.schemas
.else
CONFIGURE_ARGS+= --disable-schemas-install
.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"
.else
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/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
. 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-python=${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
. 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 farsight and gstreamer
.if !empty(PKG_OPTIONS:Mfarsight) && !empty(PKG_OPTIONS:Mgstreamer)
CONFIGURE_ARGS+= --enable-vv
PLIST.vv= yes
.endif
.if !empty(PKG_OPTIONS:Mfarsight)
CONFIGURE_ARGS+= --enable-farsight
. include "../../multimedia/farsight2/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgstreamer)
CONFIGURE_ARGS+= --enable-gstreamer
. include "../../multimedia/gstreamer0.10/buildlink3.mk"
. include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
.endif