summaryrefslogtreecommitdiff
path: root/recipes/matchbox-applet-cards/matchbox-applet-cards_1.0.2.bb
blob: b9266dbb8210fcf88cf148c6e0436213fbf5013f (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
DESCRIPTION = "Panel applet to eject cards (from PdaXrom project)"
LICENSE = "GPL"
DEPENDS = "matchbox-wm libmatchbox"
SECTION = "x11/wm"
PR = "r1"

SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src/mb-applet-cards-${PV}.tar.bz2 \
	file://oz-gpe.patch;patch=1 \
	file://gpe-applet-cards \
	file://cf_mount.png \
	file://cf_unmount.png \
	file://sd_mount.png \
	file://sd_unmount.png \
	file://cards.png"
S = "${WORKDIR}/mb-applet-cards-${PV}"

inherit autotools pkgconfig

FILES_${PN} = "${bindir} ${datadir}/applications ${datadir}/pixmaps"

do_install_append() {
	install -m 0755 ${WORKDIR}/gpe-applet-cards ${D}${bindir}/gpe-applet-cards
	install -m 0644 ${WORKDIR}/cf_mount.png ${D}${datadir}/pixmaps/cf_mount.png
	install -m 0644 ${WORKDIR}/cf_unmount.png ${D}${datadir}/pixmaps/cf_unmount.png
	install -m 0644 ${WORKDIR}/sd_mount.png ${D}${datadir}/pixmaps/sd_mount.png
	install -m 0644 ${WORKDIR}/sd_unmount.png ${D}${datadir}/pixmaps/sd_unmount.png
	install -m 0644 ${WORKDIR}/cards.png ${D}${datadir}/pixmaps/cards.png
}

SRC_URI[md5sum] = "0c4f6da5da1196a60af9a7943e583d58"
SRC_URI[sha256sum] = "b1bdff4c61d320fdbcf9c13a1cb3c3afa4908bdda1d7aad224c6145ab5128706"