summaryrefslogtreecommitdiff
path: root/packages/eds/eds-dbus_svn.bb
blob: f5bef2e85915a3fd8efbca57cf708bfabb4cf1fa (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
DESCRIPTION = "Evolution database backend server"
HOMEPAGE = "http://projects.o-hand.com/eds"
LICENSE = "LGPL"
DEPENDS = "intltool-native glib-2.0 gtk+ gconf dbus db gnome-common libglade virtual/libiconv zlib intltool"

PV = "1.4.0+svn${SRCDATE}"
PR = "r2"

SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \
           file://no_libdb.patch;patch=1 \
           file://no_iconv_test.patch;patch=1 \
           file://no_libedataserverui-20060126.patch;patch=1;maxdate=20061214 \
           file://no_libedataserverui.patch;patch=1;mindate=20061215 \
           file://disable_orbit.patch;patch=1;maxdate=20061214 \
           file://fix-bindig-tool.patch;patch=1;maxdate=20061223 \
           file://iconv-detect.h"

S = "${WORKDIR}/trunk"

inherit autotools pkgconfig

# -ldb needs this on some platforms
LDFLAGS += "-lpthread"

EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy --without-soup --with-libdb=${STAGING_DIR}/${HOST_SYS} --disable-smime --disable-nss --disable-nntp --disable-gtk-doc"

acpaths = " -I ${STAGING_DATADIR}/aclocal/gnome-macros "

PACKAGES =+ "eds-pixmaps eds-zoneinfo eds-camel-providers eds-camel-lock-helper eds-camel-index-control libcamel-provider libcamel libebook libecal libedata-book libedata-cal libedataserver"

RDEPENDS_${PN} += "eds-pixmaps eds-zoneinfo"

FILES_eds-pixmaps = "${datadir}/pixmaps"
FILES_eds-zoneinfo = "${datadir}/evolution-data-server-1.4/zoneinfo/"
FILES_eds-camel-providers = "${libdir}/evolution-data-server-1.2/camel-providers/*.so ${libdir}/evolution-data-server-1.2/camel-providers/*.urls"
FILES_eds-camel-lock-helper = "${libexecdir}/camel-lock-helper-1.2"
FILES_eds-camel-index-control = "${libexecdir}/camel-index-control-1.2"
FILES_libcamel-provider = "${libdir}/libcamel-provider-1.2.so.*"
FILES_libcamel = "${libdir}/libcamel-1.2.so.*"
FILES_libebook = "${libdir}/libebook-1.2*"
FILES_libecal = "${libdir}/libecal-1.2.so.*"
FILES_libedata-book = "${libdir}/libedata-book-1.2.so.*"
FILES_libedata-cal = "${libdir}/libedata-cal-1.2.so.*"
FILES_libedataserver = "${libdir}/libedataserver-1.2.so.*"

FILES_${PN} += "${libdir}/evolution-data-server-1.2/extensions/*.so \
                ${libdir}/evolution-data-server-1.2/camel-providers/*.so \
                ${libdir}/evolution-data-server-1.2/camel-providers/*.urls \
                ${datadir}/evolution-data-server-1.4/zoneinfo/zones.tab \
                ${datadir}/evolution-data-server-1.4/zoneinfo/*/*.ics \
                ${datadir}/evolution-data-server-1.4/zoneinfo/*/*/*.ics \
                ${datadir}/dbus-1/services/*.service"
FILES_${PN}-dev += "${libdir}/evolution-data-server-1.2/extensions/*.la \
                    ${libdir}/evolution-data-server-1.2/camel-providers/*.la"


do_configure_append = " cp ${WORKDIR}/iconv-detect.h ${S} "

do_stage () {
        autotools_stage_all
}