# $NetBSD: Makefile,v 1.190 2020/05/22 10:56:19 adam Exp $
DISTNAME= evolution-data-server-3.35.1
PKGREVISION= 7
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evolution-data-server/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/Apps/Evolution/
COMMENT= Libraries and services for storing addressbooks and calendars
LICENSE= gnu-gpl-v2
USE_CMAKE= yes
USE_TOOLS+= pkg-config perl:run
USE_TOOLS+= intltool msgfmt msgmerge xgettext
USE_LANGUAGES= c c++14
# C++14
GCC_REQD+= 5
TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
CMAKE_ARGS+= -DENABLE_GOA=OFF
CMAKE_ARGS+= -DWITH_LIBDB=OFF
CMAKE_ARGS+= -DENABLE_WEATHER=OFF
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/evolution-data-server
REPLACE_INTERPRETER+= perl
REPLACE.perl.old= @PERL@ -w
REPLACE.perl.new= ${PREFIX}/bin/perl
REPLACE_FILES.perl= src/tools/addressbook-export/csv2vcard.in
PKGCONFIG_OVERRIDE+= evolution-data-server.pc.in
PKGCONFIG_OVERRIDE+= src/addressbook/libebook-contacts/libebook-contacts.pc.in
PKGCONFIG_OVERRIDE+= src/addressbook/libebook/libebook.pc.in
PKGCONFIG_OVERRIDE+= src/addressbook/libedata-book/libedata-book.pc.in
PKGCONFIG_OVERRIDE+= src/calendar/libecal/libecal.pc.in
PKGCONFIG_OVERRIDE+= src/calendar/libedata-cal/libedata-cal.pc.in
PKGCONFIG_OVERRIDE+= src/camel/camel.pc.in
PKGCONFIG_OVERRIDE+= src/libebackend/libebackend.pc.in
PKGCONFIG_OVERRIDE+= src/libedataserver/libedataserver.pc.in
PKGCONFIG_OVERRIDE+= src/libedataserverui/libedataserverui.pc.in
# "gettext version 0.18.3+ required, but version '0.16.1' found instead."
_TOOLS_USE_PKGSRC.msgfmt= yes
_TOOLS_USE_PKGSRC.msgmerge= yes
_TOOLS_USE_PKGSRC.xgettext= yes
.include "../../audio/libcanberra/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/nspr/buildlink3.mk"
.include "../../devel/nss/buildlink3.mk"
.include "../../net/libgdata/buildlink3.mk"
.include "../../net/libsoup/buildlink3.mk"
.include "../../security/gcr/buildlink3.mk"
.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/json-glib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../time/libical/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../www/webkit-gtk/buildlink3.mk"
.include "../../mk/krb5.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>