summaryrefslogtreecommitdiff
path: root/chat/libpurple/Makefile.common
blob: 3dd4ae458ed0e76aed9a7507502d69583c42641d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $NetBSD: Makefile.common,v 1.55 2022/03/06 07:31:44 nia Exp $
#
# used by chat/finch/Makefile
# used by chat/libpurple/Makefile
# used by chat/pidgin/Makefile
# used by chat/pidgin-sametime/Makefile
# used by chat/pidgin-silc/Makefile

PIDGIN_VERSION=	2.14.8
DISTNAME=	pidgin-${PIDGIN_VERSION}
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pidgin/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.pidgin.im/
LICENSE=	gnu-gpl-v2

USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		pkg-config gmake
GNU_CONFIGURE=		yes

PATCHDIR=		${.CURDIR}/../../chat/libpurple/patches
DISTINFO_FILE?=		${.CURDIR}/../../chat/libpurple/distinfo

CONFIGURE_ARGS+=	--disable-gtkui
CONFIGURE_ARGS+=	--disable-consoleui
CONFIGURE_ARGS+=	--disable-meanwhile
CONFIGURE_ARGS+=	--disable-farstream
CONFIGURE_ARGS+=	--disable-gstreamer
CONFIGURE_ARGS+=	--disable-avahi
CONFIGURE_ARGS+=	--disable-perl
CONFIGURE_ARGS+=	--disable-tcl
CONFIGURE_ARGS+=	--disable-tk
CONFIGURE_ARGS+=	--disable-gnutls
CONFIGURE_ARGS+=	--disable-nss
CONFIGURE_ARGS+=	--disable-schemas-install
CONFIGURE_ARGS+=	--disable-dbus
CONFIGURE_ARGS+=	--disable-cyrus-sasl
CONFIGURE_ARGS+=	--disable-debug
CONFIGURE_ARGS+=	--disable-nm
CONFIGURE_ARGS+=	--disable-vv

CONFIGURE_ENV+=		ac_cv_path_GCONFTOOL="no"

CPPFLAGS.SunOS+=	-D__EXTENSIONS__
CFLAGS.SunOS+=		-Wno-error=implicit-function-declaration
LDFLAGS.SunOS+=		-lnsl -lresolv

PKGCONFIG_OVERRIDE+=	finch/finch.pc.in
PKGCONFIG_OVERRIDE+=	finch/libgnt/gnt.pc.in
PKGCONFIG_OVERRIDE+=	gaim.pc.in
PKGCONFIG_OVERRIDE+=	libpurple/data/purple.pc.in
PKGCONFIG_OVERRIDE+=	libpurple/data/purple-2.pc.in
PKGCONFIG_OVERRIDE+=	pidgin/data/pidgin.pc.in
PKGCONFIG_OVERRIDE+=	pidgin/data/pidgin-2.pc.in