summaryrefslogtreecommitdiff
path: root/recipes/qpe-gaim/qpe-gaim_20041030.bb
blob: f8f4d6a28f898209c3b4b6f4177932eb81ec40d8 (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
DESCRIPTION = "A multi protocol instant messager application, Qt/Embedded based Palmtop Environments Edition"
SECTION = "opie/applications"
DEPENDS = "qpe-libgaim glib-2.0"
RDEPENDS = "libgaim-plugins glibc-gconv-iso8859-1"
LICENSE = "GPL"
HOMEPAGE = "http://qpe-gaim.sourceforge.net/"
APPNAME = "gaim"
APPTYPE = "binary"
LICENSE = "GPL"
APPDESKTOP = "${S}"
PR = "r2"

SRC_URI = "http://www.vanille.de/mirror/qpe-gaim_20041030.tar.bz2 \
           file://qpe-gaim.patch;patch=1 \
	   file://buzzer-notification.patch;patch=1;pnum=1 \
	   file://vit.patch;patch=1"
S = "${WORKDIR}/qpe-gaim"

inherit opie

EXTRA_QMAKEVARS_POST +="INCLUDEPATH-=${includedir}/glib-2.0 \
			INCLUDEPATH-=${libdir}/glib-2.0/include \
			INCLUDEPATH+=${STAGING_INCDIR}/glib-2.0 \
			LIBS-=-lopie LIBS+=-lopiecore2 LIBS+=-lopieui2"

do_configure_prepend() {
	ln -s ../libgaim/src libgaim
}

do_install() {
	for dir in 16x16 32x32 protocols status
	do
		install -d ${D}${palmtopdir}/pics/gaim/${dir}
		install -m 0644 data/images/${dir}/*.png ${D}${palmtopdir}/pics/gaim/${dir}/
	done
	install -m 0644 gaim.png ${D}${palmtopdir}/pics/
}