Did not work
This commit is contained in:
		@@ -1 +0,0 @@
 | 
			
		||||
DIST evolution-data-server-3.40.0.tar.xz 4623568 BLAKE2B 4c0b8de1eb9129e351f90477f06bcaa6b9f37b0d616df3dc2c53635e0f2ea3520546be7f88dd1ee68d32a37b385e68f5c48ca79d36c63a0f9d10261b557162c4 SHA512 d31ef0d270ef64909150c0e087835bb6308125155664eee3375be6a59c9c43cd251e9617adbf819846a7d9bb73309ec51699159ee06465266193ad5dea3c0a00
 | 
			
		||||
@@ -1,152 +0,0 @@
 | 
			
		||||
# Copyright 1999-2021 Gentoo Authors
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
EAPI=7
 | 
			
		||||
VALA_USE_DEPEND="vapigen"
 | 
			
		||||
 | 
			
		||||
inherit cmake db-use flag-o-matic gnome2 systemd vala virtualx
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="Evolution groupware backend"
 | 
			
		||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
 | 
			
		||||
 | 
			
		||||
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
 | 
			
		||||
LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
 | 
			
		||||
SLOT="0/62-25-20" # subslot = libcamel-1.2/libedataserver-1.2/libebook-1.2.so soname version
 | 
			
		||||
 | 
			
		||||
IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ipv6 ldap kerberos oauth vala +weather"
 | 
			
		||||
REQUIRED_USE="vala? ( introspection )"
 | 
			
		||||
 | 
			
		||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
 | 
			
		||||
 | 
			
		||||
# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks
 | 
			
		||||
# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
 | 
			
		||||
gdata_depend=">=dev-libs/libgdata-0.17.7:="
 | 
			
		||||
RDEPEND="
 | 
			
		||||
	>=app-crypt/gcr-3.4
 | 
			
		||||
	>=app-crypt/libsecret-0.5[crypt]
 | 
			
		||||
	>=dev-db/sqlite-3.7.17:=
 | 
			
		||||
	>=dev-libs/glib-2.46:2
 | 
			
		||||
	>=dev-libs/libical-3.0.8:=[glib,introspection?]
 | 
			
		||||
	>=dev-libs/libxml2-2
 | 
			
		||||
	>=dev-libs/nspr-4.4:=
 | 
			
		||||
	>=dev-libs/nss-3.9:=
 | 
			
		||||
	>=net-libs/libsoup-2.58:2.4
 | 
			
		||||
 | 
			
		||||
	dev-libs/icu:=
 | 
			
		||||
	sys-libs/zlib:=
 | 
			
		||||
	virtual/libiconv
 | 
			
		||||
 | 
			
		||||
	berkdb? ( >=sys-libs/db-4:= )
 | 
			
		||||
	gtk? (
 | 
			
		||||
		>=app-crypt/gcr-3.4[gtk]
 | 
			
		||||
		>=x11-libs/gtk+-3.10:3
 | 
			
		||||
		>=media-libs/libcanberra-0.25[gtk3]
 | 
			
		||||
	)
 | 
			
		||||
	oauth? (
 | 
			
		||||
		>=dev-libs/json-glib-1.0.4
 | 
			
		||||
		>=net-libs/webkit-gtk-2.28.0:4
 | 
			
		||||
		${gdata_depend}
 | 
			
		||||
	)
 | 
			
		||||
	gnome-online-accounts? (
 | 
			
		||||
		>=net-libs/gnome-online-accounts-3.8:=
 | 
			
		||||
		${gdata_depend} )
 | 
			
		||||
	introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
 | 
			
		||||
	kerberos? ( virtual/krb5:= )
 | 
			
		||||
	ldap? ( >=net-nds/openldap-2:= )
 | 
			
		||||
	weather? ( >=dev-libs/libgweather-3.10:2= )
 | 
			
		||||
"
 | 
			
		||||
DEPEND="${RDEPEND}
 | 
			
		||||
	vala? ( $(vala_depend)
 | 
			
		||||
		net-libs/libsoup:2.4[vala]
 | 
			
		||||
		dev-libs/libical[vala]
 | 
			
		||||
	)
 | 
			
		||||
"
 | 
			
		||||
BDEPEND="
 | 
			
		||||
	dev-util/gdbus-codegen
 | 
			
		||||
	dev-util/glib-utils
 | 
			
		||||
	dev-util/gperf
 | 
			
		||||
	gtk-doc? ( >=dev-util/gtk-doc-1.14
 | 
			
		||||
		app-text/docbook-xml-dtd:4.1.2 )
 | 
			
		||||
	>=dev-util/intltool-0.35.5
 | 
			
		||||
	>=sys-devel/gettext-0.18.3
 | 
			
		||||
	virtual/pkgconfig
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
# Some tests fail due to missing locales.
 | 
			
		||||
# Also, dbus tests are flaky, bugs #397975 #501834
 | 
			
		||||
# It looks like a nightmare to disable those for now.
 | 
			
		||||
RESTRICT="test !test? ( test )"
 | 
			
		||||
 | 
			
		||||
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	use vala && vala_src_prepare
 | 
			
		||||
	cmake_src_prepare
 | 
			
		||||
	gnome2_src_prepare
 | 
			
		||||
 | 
			
		||||
	eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
 | 
			
		||||
 | 
			
		||||
	# Make CMakeLists versioned vala enabled
 | 
			
		||||
	sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
 | 
			
		||||
		-e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
 | 
			
		||||
		-i "${S}"/CMakeLists.txt || die
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_configure() {
 | 
			
		||||
	# /usr/include/db.h is always db-1 on FreeBSD
 | 
			
		||||
	# so include the right dir in CPPFLAGS
 | 
			
		||||
	use berkdb && append-cppflags "-I$(db_includedir)"
 | 
			
		||||
 | 
			
		||||
	local google_enable
 | 
			
		||||
	if use oauth || use gnome-online-accounts; then
 | 
			
		||||
		google_enable="ON"
 | 
			
		||||
	else
 | 
			
		||||
		google_enable="OFF"
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	# phonenumber does not exist in tree
 | 
			
		||||
	local mycmakeargs=(
 | 
			
		||||
		-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
 | 
			
		||||
		-DENABLE_GTK_DOC=$(usex gtk-doc)
 | 
			
		||||
		-DWITH_PRIVATE_DOCS=$(usex gtk-doc)
 | 
			
		||||
		-DENABLE_SCHEMAS_COMPILE=OFF
 | 
			
		||||
		-DENABLE_INTROSPECTION=$(usex introspection)
 | 
			
		||||
		-DWITH_KRB5=$(usex kerberos)
 | 
			
		||||
		-DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
 | 
			
		||||
		-DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
 | 
			
		||||
		-DWITH_OPENLDAP=$(usex ldap)
 | 
			
		||||
		-DWITH_PHONENUMBER=OFF
 | 
			
		||||
		-DENABLE_SMIME=ON
 | 
			
		||||
		-DENABLE_GTK=$(usex gtk)
 | 
			
		||||
		-DENABLE_CANBERRA=$(usex gtk)
 | 
			
		||||
		-DENABLE_OAUTH2=$(usex oauth)
 | 
			
		||||
		-DENABLE_EXAMPLES=OFF
 | 
			
		||||
		-DENABLE_GOA=$(usex gnome-online-accounts)
 | 
			
		||||
		-DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
 | 
			
		||||
		# ENABLE_BACKTRACES requires libdwarf ?
 | 
			
		||||
		-DENABLE_IPV6=$(usex ipv6)
 | 
			
		||||
		-DENABLE_WEATHER=$(usex weather)
 | 
			
		||||
		-DENABLE_GOOGLE=${google_enable}
 | 
			
		||||
		-DENABLE_LARGEFILE=ON
 | 
			
		||||
		-DENABLE_VALA_BINDINGS=$(usex vala)
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
	cmake_src_configure
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_compile() {
 | 
			
		||||
	cmake_src_compile
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_test() {
 | 
			
		||||
	virtx cmake_src_test
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_install() {
 | 
			
		||||
	cmake_src_install
 | 
			
		||||
 | 
			
		||||
	if use ldap; then
 | 
			
		||||
		insinto /etc/openldap/schema
 | 
			
		||||
		doins "${FILESDIR}"/calentry.schema
 | 
			
		||||
		dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
 | 
			
		||||
	fi
 | 
			
		||||
}
 | 
			
		||||
@@ -1,31 +0,0 @@
 | 
			
		||||
From 24c7ca17eaf69211b75f2882c11aeff01a3cad01 Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: Mart Raudsepp <leio@gentoo.org>
 | 
			
		||||
Date: Sat, 8 Aug 2020 18:59:25 +0300
 | 
			
		||||
Subject: [PATCH] I#158 - Workaround build error with gtk-doc-1.32
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 src/calendar/libecal/e-cal-time-util.h | 2 ++
 | 
			
		||||
 1 file changed, 2 insertions(+)
 | 
			
		||||
 | 
			
		||||
diff --git a/src/calendar/libecal/e-cal-time-util.h b/src/calendar/libecal/e-cal-time-util.h
 | 
			
		||||
index 8acb13061..11c9d3369 100644
 | 
			
		||||
--- a/src/calendar/libecal/e-cal-time-util.h
 | 
			
		||||
+++ b/src/calendar/libecal/e-cal-time-util.h
 | 
			
		||||
@@ -150,6 +150,7 @@ void		time_to_gdate_with_zone	(GDate *date,
 | 
			
		||||
  * struct tm manipulation
 | 
			
		||||
  **************************************************************************/
 | 
			
		||||
 
 | 
			
		||||
+#ifndef __GTK_DOC_IGNORE__
 | 
			
		||||
 struct tm	e_cal_util_icaltime_to_tm
 | 
			
		||||
 					(const ICalTime *itt);
 | 
			
		||||
 struct tm	e_cal_util_icaltime_to_tm_with_zone
 | 
			
		||||
@@ -159,6 +160,7 @@ struct tm	e_cal_util_icaltime_to_tm_with_zone
 | 
			
		||||
 ICalTime *	e_cal_util_tm_to_icaltime
 | 
			
		||||
 					(struct tm *tm,
 | 
			
		||||
 					 gboolean is_date);
 | 
			
		||||
+#endif
 | 
			
		||||
 
 | 
			
		||||
 G_END_DECLS
 | 
			
		||||
 
 | 
			
		||||
-- 
 | 
			
		||||
2.20.1
 | 
			
		||||
@@ -1,108 +0,0 @@
 | 
			
		||||
# RFC2739 calEntry schema for OpenLDAP 2.x 
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# From https://bugs.gentoo.org/show_bug.cgi?id=83988
 | 
			
		||||
# Please notify us of updated revisions by submitting a bug report at bugs.gentoo.org
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# Version of RFC 2739 schema translated by Terrelle Shaw 
 | 
			
		||||
# (xytek@xytek.org) # Nov. 7, 2002 # Modifications by Peter Marschall
 | 
			
		||||
# <peter.marschall@adpm.de> # Nov. 9, 2002
 | 
			
		||||
 | 
			
		||||
# Notes:
 | 
			
		||||
# * RFC2739 seems to be a bit sloppy about attribute type and
 | 
			
		||||
#   objectclass definitions syntax and also about attribute syntax
 | 
			
		||||
#   and matching rules.
 | 
			
		||||
#   (It even counts the attributes in the calEntry objectclass wrong ;-)
 | 
			
		||||
# * The following changes have been applied to correct the schema
 | 
			
		||||
#   - added description to each attributetype definition
 | 
			
		||||
#   - changed SYNTAX from 'IA5String' to corresponding OID
 | 
			
		||||
#     to make matching rules and syntax consistent
 | 
			
		||||
#   - replaced illegal keyword SUBSTRING by SUBSTR
 | 
			
		||||
#   - changed SUBSTR from caseIgnoreIA5Match to caseIgnoreIA5SubstringsMatch
 | 
			
		||||
#   - removed illegal keyword MULTI-VALUE
 | 
			
		||||
#   - added keyword SINGLE-VALUE where appropriate
 | 
			
		||||
#   - removed USAGE since cwuserApplications is the default 
 | 
			
		||||
#   - added description to the objectclass defintion
 | 
			
		||||
#   - corrected typo in objectclass definition
 | 
			
		||||
#   - added the attributetypes defined but not used to the objectclass
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# 2.4.4.1 calCalURI
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.478 
 | 
			
		||||
	NAME 'calCalURI' 
 | 
			
		||||
	DESC 'URI to a snapshot of the users entire default calendar'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match 
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch 
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 | 
			
		||||
	SINGLE-VALUE )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.2 calFBURL
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.479
 | 
			
		||||
	NAME 'calFBURL'
 | 
			
		||||
	DESC 'URI to the users default free/busy time data'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 | 
			
		||||
	SINGLE-VALUE )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.3 calCAPURI
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.480
 | 
			
		||||
	NAME 'calCAPURI'
 | 
			
		||||
	DESC 'URI used to communicate with the users calendar'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 | 
			
		||||
	SINGLE-VALUE )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.4 calCalAdrURI
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.481
 | 
			
		||||
	NAME 'calCalAdrURI'
 | 
			
		||||
	DESC 'URI to which event requests should be sent for the user'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 | 
			
		||||
	SINGLE-VALUE )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.5 calOtherCalURIs
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.482
 | 
			
		||||
	NAME 'calOtherCalURIs'
 | 
			
		||||
	DESC 'URIs to snapshots of non-default calendars belonging to the user'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.6 calOtherFBURLs
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.483
 | 
			
		||||
	NAME 'calOtherFBURLs'
 | 
			
		||||
	DESC 'URIs to non-default free/busy data belonging to the user'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.7 calOtherCAPURIs
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.484
 | 
			
		||||
	NAME 'calOtherCAPURIs'
 | 
			
		||||
	DESC 'URIs to non-default calendars belonging to the user'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 | 
			
		||||
 | 
			
		||||
# 2.4.4.8 calOtherCalAdrURIs
 | 
			
		||||
attributetype ( 1.2.840.113556.1.4.485
 | 
			
		||||
	NAME 'calOtherCalAdrURIs'
 | 
			
		||||
	DESC 'URIs of destinations for event requests to non-default calendars'
 | 
			
		||||
	EQUALITY caseIgnoreIA5Match
 | 
			
		||||
	SUBSTR caseIgnoreIA5SubstringsMatch
 | 
			
		||||
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 | 
			
		||||
 | 
			
		||||
# 2.4.3.1 calEntry
 | 
			
		||||
objectclass ( 1.2.840.113556.1.5.87
 | 
			
		||||
	NAME 'calEntry'
 | 
			
		||||
	DESC 'Calendering and free/busy information'
 | 
			
		||||
	SUP top AUXILIARY
 | 
			
		||||
	MAY ( calCalURI $ calFBURL $ calCAPURI $ calCalAdrURI $
 | 
			
		||||
		calOtherCAPURIs $ calOtherCalURIs $ calOtherFBURLs $ 
 | 
			
		||||
		calOtherCalAdrURIs ) )
 | 
			
		||||
 | 
			
		||||
# EOF
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
DIST evolution-3.40.0.tar.xz 12215660 BLAKE2B fb60c2dd45cae22d8095cf0f7a0f4691816f3a5a3417b9bf3af2a6171f86d63b32bf8efd3a57fb665f22c6a07491d25fa685c60c198a1ddd50533b5ef18ae626 SHA512 9d672143213e5b37a15b8667b0c6cc6d6217cff981569fa937309839926607e3ef1f39743a5a1cf9ab2a181413fed85c4b36bb4dbf21dee492753d17d7f88548
 | 
			
		||||
@@ -1,152 +0,0 @@
 | 
			
		||||
# Copyright 1999-2021 Gentoo Authors
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
EAPI=7
 | 
			
		||||
 | 
			
		||||
inherit cmake gnome2 flag-o-matic readme.gentoo-r1
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
 | 
			
		||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
 | 
			
		||||
 | 
			
		||||
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
 | 
			
		||||
LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
 | 
			
		||||
SLOT="2.0"
 | 
			
		||||
 | 
			
		||||
IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef"
 | 
			
		||||
 | 
			
		||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 | 
			
		||||
 | 
			
		||||
# glade-3 support is for maintainers only per configure.ac
 | 
			
		||||
# pst is not mature enough and changes API/ABI frequently
 | 
			
		||||
# dconf explicitely needed for backup plugin
 | 
			
		||||
# gnome-desktop support is optional with --enable-gnome-desktop
 | 
			
		||||
# automagic libunity dep
 | 
			
		||||
# >=gspell-1.8 to ensure it uses enchant:2 like webkit-gtk
 | 
			
		||||
DEPEND="
 | 
			
		||||
	>=app-crypt/gcr-3.4:=[gtk]
 | 
			
		||||
	>=app-text/enchant-2.2.0:2
 | 
			
		||||
	>=dev-libs/glib-2.46:2[dbus]
 | 
			
		||||
	>=dev-libs/libxml2-2.7.3:2
 | 
			
		||||
	>=gnome-base/gnome-desktop-2.91.3:3=
 | 
			
		||||
	>=gnome-base/gsettings-desktop-schemas-2.91.92
 | 
			
		||||
	>=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
 | 
			
		||||
	>=media-libs/libcanberra-0.25[gtk3]
 | 
			
		||||
	>=net-libs/libsoup-2.42:2.4
 | 
			
		||||
	>=net-libs/webkit-gtk-2.28.0:4[spell?]
 | 
			
		||||
	>=x11-libs/cairo-1.9.15:=[glib]
 | 
			
		||||
	>=x11-libs/gdk-pixbuf-2.24:2
 | 
			
		||||
	>=x11-libs/gtk+-3.22:3
 | 
			
		||||
	>=x11-libs/libnotify-0.7:=
 | 
			
		||||
	>=x11-misc/shared-mime-info-0.22
 | 
			
		||||
 | 
			
		||||
	>=app-text/iso-codes-0.49
 | 
			
		||||
	dev-libs/atk
 | 
			
		||||
	gnome-base/dconf
 | 
			
		||||
	x11-libs/libSM
 | 
			
		||||
	x11-libs/libICE
 | 
			
		||||
 | 
			
		||||
	archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
 | 
			
		||||
	bogofilter? ( mail-filter/bogofilter )
 | 
			
		||||
	geolocation? (
 | 
			
		||||
		>=media-libs/libchamplain-0.12:0.12[gtk]
 | 
			
		||||
		>=media-libs/clutter-1.0.0:1.0
 | 
			
		||||
		>=media-libs/clutter-gtk-0.90:1.0
 | 
			
		||||
		>=sci-geosciences/geocode-glib-3.10.0
 | 
			
		||||
		x11-libs/mx:1.0 )
 | 
			
		||||
	ldap? ( >=net-nds/openldap-2:= )
 | 
			
		||||
	spamassassin? ( mail-filter/spamassassin )
 | 
			
		||||
	spell? ( >=app-text/gspell-1.8:= )
 | 
			
		||||
	ssl? (
 | 
			
		||||
		>=dev-libs/nspr-4.6.1:=
 | 
			
		||||
		>=dev-libs/nss-3.11:= )
 | 
			
		||||
	weather? ( >=dev-libs/libgweather-3.10:2= )
 | 
			
		||||
	ytnef? ( net-mail/ytnef )
 | 
			
		||||
"
 | 
			
		||||
RDEPEND="${DEPEND}
 | 
			
		||||
	highlight? ( app-text/highlight )
 | 
			
		||||
"
 | 
			
		||||
BDEPEND="
 | 
			
		||||
	app-text/docbook-xml-dtd:4.1.2
 | 
			
		||||
	dev-util/gdbus-codegen
 | 
			
		||||
	dev-util/glib-utils
 | 
			
		||||
	dev-util/itstool
 | 
			
		||||
	gtk-doc? ( dev-util/gtk-doc
 | 
			
		||||
		app-text/docbook-xml-dtd:4.3 )
 | 
			
		||||
	>=dev-util/intltool-0.40.0
 | 
			
		||||
	>=sys-devel/gettext-0.18.3
 | 
			
		||||
	virtual/pkgconfig
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
DISABLE_AUTOFORMATTING="yes"
 | 
			
		||||
DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
 | 
			
		||||
~/.local/share/applications/mimeapps.list so it includes the
 | 
			
		||||
following content:
 | 
			
		||||
 | 
			
		||||
[Default Applications]
 | 
			
		||||
x-scheme-handler/http=firefox.desktop
 | 
			
		||||
x-scheme-handler/https=firefox.desktop
 | 
			
		||||
 | 
			
		||||
(replace firefox.desktop with the name of the appropriate .desktop
 | 
			
		||||
file from /usr/share/applications if you use a different browser)."
 | 
			
		||||
 | 
			
		||||
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
 | 
			
		||||
# call; if needed, set them after cmake_src_prepare call, if that works
 | 
			
		||||
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	cmake_src_prepare
 | 
			
		||||
	gnome2_src_prepare
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_configure() {
 | 
			
		||||
	# Use NSS/NSPR only if 'ssl' is enabled.
 | 
			
		||||
	local mycmakeargs=(
 | 
			
		||||
		-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
 | 
			
		||||
		-DENABLE_SCHEMAS_COMPILE=OFF
 | 
			
		||||
		-DENABLE_GTK_DOC=$(usex gtk-doc)
 | 
			
		||||
		-DWITH_OPENLDAP=$(usex ldap)
 | 
			
		||||
		-DENABLE_SMIME=$(usex ssl)
 | 
			
		||||
		-DENABLE_GNOME_DESKTOP=ON
 | 
			
		||||
		-DWITH_ENCHANT_VERSION=2
 | 
			
		||||
		-DENABLE_CANBERRA=ON
 | 
			
		||||
		-DENABLE_AUTOAR=$(usex archive)
 | 
			
		||||
		-DWITH_HELP=ON
 | 
			
		||||
		-DENABLE_YTNEF=OFF
 | 
			
		||||
		-DWITH_BOGOFILTER=$(usex bogofilter)
 | 
			
		||||
		-DWITH_SPAMASSASSIN=$(usex spamassassin)
 | 
			
		||||
		-DENABLE_GSPELL=$(usex spell)
 | 
			
		||||
		-DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
 | 
			
		||||
		-DENABLE_WEATHER=$(usex weather)
 | 
			
		||||
		-DENABLE_CONTACT_MAPS=$(usex geolocation)
 | 
			
		||||
		-DENABLE_YTNEF=$(usex ytnef)
 | 
			
		||||
		-DENABLE_PST_IMPORT=OFF
 | 
			
		||||
		-DWITH_GLADE_CATALOG=OFF
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
	cmake_src_configure
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_compile() {
 | 
			
		||||
	cmake_src_compile
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_test() {
 | 
			
		||||
	cmake_src_test
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_install() {
 | 
			
		||||
	cmake_src_install
 | 
			
		||||
 | 
			
		||||
	# Problems with prelink:
 | 
			
		||||
	# https://bugzilla.gnome.org/show_bug.cgi?id=731680
 | 
			
		||||
	# https://bugzilla.gnome.org/show_bug.cgi?id=732148
 | 
			
		||||
	# https://bugzilla.redhat.com/show_bug.cgi?id=1114538
 | 
			
		||||
	echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
 | 
			
		||||
	doenvd "${T}"/99${PN}
 | 
			
		||||
 | 
			
		||||
	readme.gentoo_create_doc
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkg_postinst() {
 | 
			
		||||
	gnome2_pkg_postinst
 | 
			
		||||
	readme.gentoo_print_elog
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user