summaryrefslogtreecommitdiff
path: root/packages/eds/eds-dbus_svn.bb
blob: 1583a4fde450d729078416cac2f1d1bb728a50ff (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
LICENSE = "LGPL"
DEPENDS = "glib-2.0 gtk+ gconf dbus db gnome-common libglade libiconv"
RDEPENDS = "gconf dbus db libiconv"
MAINTAINER = "Richard Purdie <richard@openedhand.com>"
DESCRIPTION = "Evolution database backend server"

SRCDATE = "20060126"

PV = "1.4.0+svn${SRCDATE}"
#PV = "1.4.0+svn20060126"
PR = "r15"

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.patch;patch=1 \
           file://disable_orbit.patch;patch=1 \
           file://iconv-detect.h"

S = "${WORKDIR}/trunk"

inherit autotools pkgconfig

#EXTRA_OECONF = "--without-openldap --with-dbus --without-bug-buddy --without-soup --with-libdb=${STAGING_DIR}/${HOST_SYS} --disable-smime --disable-nss --disable-camel --disable-nntp --disable-gtk-doc"
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 "

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 () {
	oe_libinstall -so -C addressbook/libebook-dbus libebook-1.2 ${STAGING_LIBDIR}
	oe_libinstall -so -C addressbook/libedata-book-dbus libedata-book-1.2 ${STAGING_LIBDIR}
	oe_libinstall -so -C calendar/libecal-dbus libecal-1.2 ${STAGING_LIBDIR}
	oe_libinstall -so -C calendar/libedata-cal-dbus libedata-cal-1.2 ${STAGING_LIBDIR}
	oe_libinstall -so -C libedataserver libedataserver-1.2 ${STAGING_LIBDIR}
	oe_libinstall -so -C camel libcamel-1.2 ${STAGING_LIBDIR}
	oe_libinstall -so -C camel libcamel-provider-1.2 ${STAGING_LIBDIR}

	install -d ${STAGING_INCDIR}/camel-1.2 ${STAGING_INCDIR}/libebook \
		${STAGING_INCDIR}/libecal ${STAGING_INCDIR}/libedataserver \
		${STAGING_INCDIR}/libical
	install -m 0644 ${S}/camel/*.h ${STAGING_INCDIR}/camel-1.2
	install -m 0644 ${S}/camel/*.def ${STAGING_INCDIR}/camel-1.2
	ln -sf ${STAGING_INCDIR}/camel-1.2 ${STAGING_INCDIR}/camel
	install -m 0644 ${S}/addressbook/libebook-dbus/*.h ${STAGING_INCDIR}/libebook
	install -m 0644 ${S}/calendar/libecal-dbus/*.h ${STAGING_INCDIR}/libecal
	install -m 0644 ${S}/libedataserver/*.h ${STAGING_INCDIR}/libedataserver
	install -m 0644 ${S}/calendar/libical/src/libical/*.h ${STAGING_INCDIR}/libical
}