summaryrefslogtreecommitdiff
path: root/meta/recipes-sato/pimlico/contacts.inc
blob: e3921d86cdce3152f0ae6ee11318a4b545060294 (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
DESCRIPTION = "Address-book application."
HOMEPAGE = "http://pimlico-project.org/contacts.html"
BUGTRACKER = "https://bugzilla.gnome.org/"

LICENSE = "GPLv2 & GPLv2+ & GPLv3+ "
SECTION = "x11"
DEPENDS = "glib-2.0 gtk+ eds-dbus"
DEPENDS_append_poky = " libowl"
RDEPENDS_${PN} = "libedata-book"

inherit autotools pkgconfig

OWL = "--disable-owl"
OWL_poky = "--enable-owl"

EXTRA_OECONF += "--disable-gnome-vfs ${OWL}"
EXTRA_OEMAKE += "GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1"

do_install_append () {
	install -d ${D}/${datadir}/pixmaps
	install -m 0644 ${WORKDIR}/stock_contact.png ${D}/${datadir}/pixmaps
	install -m 0644 ${WORKDIR}/stock_person.png ${D}/${datadir}/pixmaps
}

FILES_${PN} += "${datadir}/pixmaps/stock_contact.png \
		${datadir}/pixmaps/stock_person.png \
		${datadir}/icons/hicolor"

SRC_URI = "file://stock_contact.png \
           file://stock_person.png \
           file://contacts-conditionally-install-schema.patch \
          "

SRC_URI_append_poky = " file://contacts-owl-window-menu.patch;apply=yes "