GARNAME = pidgin
GARVERSION = 2.2.1
CATEGORIES = fifth-toe
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

MASTER_SITES = http://download.sourceforge.net/pidgin/

LIBDEPS = platform/gtk+ desktop/evolution-data-server

DESCRIPTION = pidgin
define BLURB
pidgin[formerly known as gaim] is an IM client that supports many protocols, including AIM, 
ICQ, MSN, IRC, and Jabber. pidgin is NOT endorsed by, nor affiliated with, AOL nor any other 
company in ANY way.
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --disable-tcl --disable-tk --disable-gtkspell \
		 --with-howl-includes=$(prefix)/include/avahi-compat-howl \
		 --with-dbus-services=$(datadir)/dbus-1/services

include ../category.mk

# hack: debug still breaks things
CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-debug,--disable-debug,')
CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-tests,--disable-tests,')
CFLAGS := $(shell echo $(CFLAGS) | sed 's,-g ,,')
CXXFLAGS := $(shell echo $(CXXFLAGS) | sed 's,-g ,,')
