Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "Evolution database backend server" |
| 2 | HOMEPAGE = "http://www.gnome.org/projects/evolution/" |
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" |
| 4 | |
| 5 | LICENSE = "LGPLv2 & LGPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6e689d19255cf0557f3fe7d7068212 \ |
| 7 | file://camel/camel.h;endline=24;md5=b02175c88f821224746b347a89731a2b \ |
| 8 | file://libedataserver/e-data-server-util.h;endline=20;md5=934502f03c84523aa059d4825887b380 \ |
| 9 | file://calendar/libecal/e-cal.h;endline=24;md5=5d496b9b6fd2a4fdbbfc31ef9455c9d0" |
| 10 | |
| 11 | DEPENDS = "intltool-native glib-2.0 gtk+3 gconf dbus db gnome-common virtual/libiconv zlib libsoup-2.4 libglade libical libgnome-keyring gperf-native libgdata nss" |
| 12 | |
| 13 | SRCREV = "a9e4e74ec4473a4fd09e56b690bd4fa72f686687" |
| 14 | |
| 15 | # 3.4 series needs libgdata-0.10*, 3.8 series needs also libsecret instead of gnome-keyring |
| 16 | PV = "3.2.3+git${SRCPV}" |
| 17 | |
| 18 | SRC_URI = " \ |
| 19 | git://git.gnome.org/evolution-data-server;branch=gnome-3-2 \ |
| 20 | file://0001-contact-Replace-the-Novell-sample-contact-with-somet.patch \ |
| 21 | file://0002-Fix-for-automake-1.12.x.patch \ |
| 22 | file://0003-Disable-Werror-for-automake.patch \ |
| 23 | file://0004-configure-Fix-libical-pkg-config-trying-to-use-host-.patch \ |
| 24 | file://0005-soup-adapt-to-new-libxml2-API-from-2.9.0.patch \ |
| 25 | file://0006-configure.ac-do-not-overwrite-localedir.patch \ |
| 26 | file://iconv-detect.h \ |
| 27 | " |
| 28 | |
| 29 | S = "${WORKDIR}/git" |
| 30 | |
| 31 | inherit autotools gtk-doc pkgconfig gettext gobject-introspection |
| 32 | |
| 33 | # -ldb needs this on some platforms |
| 34 | LDFLAGS += "-lpthread" |
| 35 | |
| 36 | # Parallel make shows many issues with this source code. |
| 37 | # Current problems seem to be duplicate execution of the calander/backends |
| 38 | # directories by make resulting in truncated/corrupt .la files |
| 39 | #PARALLEL_MAKE = "" |
| 40 | |
| 41 | do_configure_append () { |
| 42 | cp ${WORKDIR}/iconv-detect.h ${S} |
| 43 | } |
| 44 | |
| 45 | do_compile_prepend() { |
| 46 | export GIR_EXTRA_LIBS_PATH="${B}/camel/.libs:${B}/libedataserver/.libs" |
| 47 | } |
| 48 | |
| 49 | EXTRA_OECONF = "--without-openldap \ |
| 50 | --with-libdb=${STAGING_DIR_HOST}${prefix} \ |
| 51 | --disable-nntp --disable-goa --disable-weather" |
| 52 | |
| 53 | PACKAGES =+ "libcamel libcamel-dev libebook libebook-dev libecal libecal-dev \ |
| 54 | libedata-book libedata-book-dev libedata-cal libedata-cal-dev \ |
| 55 | libedataserver libedataserver-dev \ |
| 56 | libedataserverui libedataserverui-dev" |
| 57 | |
| 58 | FILES_${PN} =+ "${datadir}/evolution-data-server-*/ui/" |
| 59 | FILES_${PN}-dev =+ "${libdir}/pkgconfig/evolution-data-server-*.pc" |
| 60 | FILES_${PN}-dbg =+ "${libdir}/evolution-data-server*/camel-providers/.debug \ |
| 61 | ${libdir}/evolution-data-server*/calendar-backends/.debug \ |
| 62 | ${libdir}/evolution-data-server*/addressbook-backends/.debug \ |
| 63 | ${libdir}/evolution-data-server*/extensions/.debug/" |
| 64 | |
| 65 | RRECOMMENDS_${PN}-dev += "libecal-dev libebook-dev" |
| 66 | |
| 67 | FILES_libcamel = "${libdir}/libcamel-*.so.* \ |
| 68 | ${libdir}/libcamel-provider-*.so.* \ |
| 69 | ${libdir}/evolution-data-server*/camel-providers/*.so \ |
| 70 | ${libdir}/evolution-data-server*/camel-providers/*.urls" |
| 71 | FILES_libcamel-dev = "${libdir}/libcamel-*.so ${libdir}/libcamel-provider-*.so \ |
| 72 | ${libdir}/pkgconfig/camel*pc \ |
| 73 | ${libdir}/evolution-data-server*/camel-providers/*.la \ |
| 74 | ${includedir}/evolution-data-server*/camel" |
| 75 | |
| 76 | FILES_libebook = "${libdir}/libebook-*.so.*" |
| 77 | FILES_libebook-dev = "${libdir}/libebook-1.2.so \ |
| 78 | ${libdir}/pkgconfig/libebook-*.pc \ |
| 79 | ${includedir}/evolution-data-server*/libebook/*.h" |
| 80 | RRECOMMENDS_libebook = "libedata-book" |
| 81 | |
| 82 | FILES_libecal = "${libdir}/libecal-*.so.* \ |
| 83 | ${datadir}/evolution-data-server-1.4/zoneinfo" |
| 84 | FILES_libecal-dev = "${libdir}/libecal-*.so ${libdir}/pkgconfig/libecal-*.pc \ |
| 85 | ${includedir}/evolution-data-server*/libecal/*.h \ |
| 86 | ${includedir}/evolution-data-server*/libical/*.h" |
| 87 | RRECOMMENDS_libecal = "libedata-cal tzdata" |
| 88 | |
| 89 | FILES_libedata-book = "${libexecdir}/e-addressbook-factory \ |
| 90 | ${datadir}/dbus-1/services/*.AddressBook.service \ |
| 91 | ${libdir}/libedata-book-*.so.* \ |
| 92 | ${libdir}/evolution-data-server-*/extensions/libebook*.so \ |
| 93 | ${datadir}/evolution-data-server-1.4/weather/Locations.xml" |
| 94 | FILES_libedata-book-dev = "${libdir}/libedata-book-*.so \ |
| 95 | ${libdir}/pkgconfig/libedata-book-*.pc \ |
| 96 | ${libdir}/evolution-data-server-*/extensions/libebook*.la \ |
| 97 | ${includedir}/evolution-data-server-*/libedata-book" |
| 98 | |
| 99 | FILES_libedata-cal = "${libexecdir}/e-calendar-factory \ |
| 100 | ${datadir}/dbus-1/services/*.Calendar.service \ |
| 101 | ${libdir}/libedata-cal-*.so.* \ |
| 102 | ${libdir}/evolution-data-server-*/extensions/libecal*.so" |
| 103 | FILES_libedata-cal-dev = "${libdir}/libedata-cal-*.so \ |
| 104 | ${libdir}/pkgconfig/libedata-cal-*.pc \ |
| 105 | ${includedir}/evolution-data-server-*/libedata-cal \ |
| 106 | ${libdir}/evolution-data-server-*/extensions/libecal*.la" |
| 107 | |
| 108 | FILES_libedataserver = "${libdir}/libedataserver-*.so.*" |
| 109 | FILES_libedataserver-dev = "${libdir}/libedataserver-*.so \ |
| 110 | ${libdir}/pkgconfig/libedataserver-*.pc \ |
| 111 | ${includedir}/evolution-data-server-*/libedataserver/*.h" |
| 112 | |
| 113 | FILES_libedataserverui = "${libdir}/libedataserverui-*.so.* ${datadir}/evolution-data-server-1.4/glade/*.glade" |
| 114 | FILES_libedataserverui-dev = "${libdir}/libedataserverui-*.so \ |
| 115 | ${libdir}/pkgconfig/libedataserverui-*.pc \ |
| 116 | ${includedir}/evolution-data-server-*/libedataserverui/*.h" |
| 117 | |