blob: c7e16e9e4892ad675be53e99e04ae6645a1f46d0 (
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
|
LICENSE = "LGPL"
SECTION = "x11"
DEPENDS = "glib-2.0 gtk+ libglade eds-dbus gnome-vfs"
RDEPENDS = "gnome-vfs-plugin-file"
RRECOMMENDS = "gnome-vfs-plugin-http"
MAINTAINER = "Chris Lord <chris@openedhand.com>"
DESCRIPTION = "Contacts is an address-book application."
PR = "r3"
PV = "0.1+svn-${CVSDATE}"
SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \
file://stock_contact.png \
file://stock_person.png \
file://index.theme"
inherit autotools pkgconfig
S = "${WORKDIR}/trunk"
EXTRA_OECONF = "--enable-gnome-vfs"
do_install_append () {
install -d ${D}/${datadir}/icons/hicolor/48x48/stock/net
install -d ${D}/${datadir}/icons/hicolor/48x48/stock/generic
install -m 0644 ${WORKDIR}/stock_contact.png ${D}/${datadir}/icons/hicolor/48x48/stock/net
install -m 0644 ${WORKDIR}/stock_person.png ${D}/${datadir}/icons/hicolor/48x48/stock/generic
install -m 0644 ${WORKDIR}/index.theme ${D}/${datadir}/icons/hicolor
}
FILES_${PN} += "${datadir}/icons/hicolor/48x48/apps/oh-contacts.png \
${datadir}/icons/hicolor/48x48/stock/*/*.png \
${datadir}/icons/hicolor/index.theme"
pkg_postinst_${PN} () {
gtk-update-icon-cache /usr/share/icons/hicolor
}
|