Merge oe-devel@oe-devel.bkbits.net:packages
[vuplus_openembedded] / qpe-gaim / qpe-libgaim_20041030.oe
1 DESCRIPTION = "A multi protocol instant messager library, Qt/Embedded based Palmtop Environments Edition"
2 SECTION = "opie/applications"
3 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
4 DEPENDS = "openssl glib-2.0"
5 RDEPENDS = "libgaim-plugins"
6 LICENSE = "GPL"
7 HOMEPAGE = "http://qpe-gaim.sourceforge.net/"
8 PV = "0.4+cvs-20041030"
9 PR = "r3"
10
11 SRC_URI = "http://www.vanille.de/mirror/qpe-gaim_20041030.tar.bz2 \
12            file://fix-compilation.patch;patch=1 \
13            file://dont-look-for-gtk.patch;patch=1"
14 S = "${WORKDIR}/libgaim"
15
16 inherit autotools
17
18 EXTRA_OE_CONF = "--disable-audio --disable-gtkspell --disable-perl \
19                  --with-dynamic-prpls=gg,irc,jabber,msn,napster,oscar,yahoo \
20                  --disable-screensaver --disable-sm --disable-glibtest \
21                  --disable-gtktest --disable-startup-notification \
22                  --disable-gevolution --disable-aotest --disable-audiofiletest"
23
24 CFLAGS_append = " -I${STAGING_INCDIR}/glib-2.0"
25
26 do_configure_prepend() {
27         ln -s src libgaim
28         touch intl/Makefile.in
29         touch po/Makefile.in.in
30         install -d build-root
31         touch build-root/mkipk.sh.in.in
32 }
33
34 do_stage() {
35         oe_libinstall -so -C src libgaim ${QTDIR}/lib
36 }
37
38 #FIXME: use do_packages to create individual packages for each of the plugins
39 python populate_packages_prepend () {
40         plugindir = oe.data.expand('${libdir}/gaim', d)
41         do_split_packages(d, plugindir, '^lib(.*)\.so$', 'libgaim-protocol-%s', 'GAIM plugin for %s protocol', extra_depends='' )
42 }
43
44 PACKAGES += "libgaim-plugins"
45 FILES_libgaim-plugins = "/usr/lib/gaim/autorecon.so /usr/lib/gaim/s*.so"
46