summaryrefslogtreecommitdiff
path: root/packages/gnome-desktop/evolution-data-server/evolution-data-server-scm.exheres-0
blob: 53fea1abbc8960ea04aa29ffc904a510f3fad4d7 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Copyright 2008 Saleem Abdulrasool <compnerd@compnerd.org>
# Distributed under the terms of the GNU General Purpose License v2

SCM_REPOSITORY="git://git.gnome.org/evolution-data-server"

require scm-git
#require gnome.org [ suffix=tar.xz ]
require gsettings
require vala [ with_opt=true vala_dep=true ]
require cmake [ api=2 cmake_minimum_version=3.1 ]
require test-dbus-daemon

SUMMARY="Backend store for contact data"
HOMEPAGE="http://projects.gnome.org/evolution"

LICENCES="LGPL-2"
SLOT="1.2"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
    gobject-introspection
    google [[ description = [ build google addressbook backend ] ]]
    gtk [[ description = [ build GTK+ based prompting service ] ]]
    kerberos [[ description = [ Enable kerberos authentication support ] ]]
    ldap [[ description = [ Enable LDAP support in evolution ] ]]
    vapi [[
        description = [ Build Vala bindings ]
        requires = [ gobject-introspection ]
    ]]
    weather  [[ description = [ Enable weather calendar component ] ]]
    ( linguas: am ar as ast az be bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_AU en_CA en_GB
               en@shaw eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka km kn ko ku lt lv
               mai mk ml mn mr ms nb ne nl nn oc or pa pl pt pt_BR ro ru rw si sk sl sq sr sr@latin
               sv ta te tg th tr ug uk vi wa xh zh_CN zh_HK zh_TW )
"

DEPENDENCIES="
    build:
        virtual/pkg-config[>=0.20]
        dev-lang/python:*
    build+run:
        dev-libs/glib:2[>=2.46]
        dev-libs/libxml2:2.0[>=2.0.0]
        gnome-desktop/libsoup:2.4[>=2.42]
        office-libs/libical[>=2.0.0]
        gnome-desktop/gnome-online-accounts[>=3.8]
        dev-libs/libsecret:1[>=0.5]
        gnome-desktop/gcr[>=3.4]
        sys-libs/db:=
        dev-libs/nspr
        dev-libs/nss
        dev-db/sqlite:3[>=3.7.17]
        dev-util/gperf
        dev-libs/icu:=
        gobject-introspection? ( gnome-desktop/gobject-introspection:1[>=0.9.12] )
        google? (
            core/json-glib[>=1.0.4]
            gnome-desktop/libgdata[>=0.15.1]
            net-libs/webkit:4.0[>=2.11.91]
        )
        gtk? ( x11-libs/gtk+:3[>=3.10.0] )
        kerberos? ( app-crypt/heimdal )
        ldap? ( net-directory/openldap[>=2.4.0] )
        weather? ( gnome-desktop/libgweather:3.0[>=3.10] )
"

AT_M4DIR=( m4 )

CMAKE_SRC_CONFIGURE_PARAMS=(
    -DSHARE_INSTALL_PREFIX:STRING=/usr/share
    -DSYSCONF_INSTALL_DIR:STRING=/etc
    -DENABLE_IPV6:BOOL=TRUE
    -DENABLE_GOA:BOOL=TRUE
    -DENABLE_LARGEFILE:BOOL=TRUE
    -DENABLE_SMIME:BOOL=TRUE
    -DWITH_SUNLDAP:BOOL=FALSE
    -DENABLE_BACKTRACES:BOOL=TRUE
    -DENABLE_UOA:BOOL=FALSE
    -DENABLE_EXAMPLES:BOOL=FALSE
    -DENABLE_BACKEND_PER_PROCESS:BOOL=TRUE
)
CMAKE_SRC_CONFIGURE_OPTIONS=(
    'gobject-introspection ENABLE_INTROSPECTION'
    'google ENABLE_GOOGLE'
    'google ENABLE_OAUTH2'
    'gtk ENABLE_GTK'
    'kerberos WITH_KRB5'
    'ldap WITH_OPENLDAP'
    'vapi ENABLE_VALA_BINDINGS'
    'weather ENABLE_WEATHER'
)

src_test() {
    test-dbus-daemon_src_test
}