busybox: enable mkfs.vfat
[openembedded.git] / recipes / pidgin / pidgin.inc
1 DESCRIPTION = "multi-protocol instant messaging client"
2 SECTION = "x11/network"
3 LICENSE = "GPL"
4 DEPENDS = "python startup-notification avahi gtk+ ncurses gnutls virtual/libintl gstreamer dbus"
5 INC_PR = "r1"
6
7 inherit autotools gettext pkgconfig gconf
8
9 EXTRA_OECONF = " \
10                 --disable-audio \
11                 --disable-perl \
12                 --disable-tcl \
13                 --disable-deprecated \
14                 --disable-gevolution \
15                 --disable-schemas-install \
16                 --x-includes=${STAGING_INCDIR} \
17                 --x-libraries=${STAGING_LIBDIR} \
18                 --enable-gnutls=yes \
19                 --with-ncurses-headers=${STAGING_INCDIR} \
20                 --with-gnutls-includes=${STAGING_INCDIR} \
21                 --with-gnutls-libs=${STAGING_LIBDIR} \
22                 "
23
24 OE_LT_RPATH_ALLOW=":${libdir}/purple-2:"
25 OE_LT_RPATH_ALLOW[export]="1"
26
27 PACKAGES =+ "libpurple-dbg libpurple-dev libpurple libgnt-dbg libgnt libgnt-dev finch-dbg finch finch-dev ${PN}-data"
28
29 LEAD_SONAME = "libpurple.so.0"
30 FILES_libpurple     = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs"
31 FILES_libpurple-dev = "${libdir}/libpurple*.la \
32                        ${libdir}/libpurple*.so \
33                        ${libdir}/purple-2/*.la \
34                        ${libdir}/purple-2/libjabber.so \
35                        ${libdir}/purple-2/liboscar.so \
36                        ${datadir}/aclocal"
37 FILES_libpurple-dbg += "${libdir}/.debug/libpurple* \
38                         ${libdir}/purple-2/.debug"
39 FILES_libgnt         = "${libdir}/libgnt.so.* ${libdir}/gnt/*.so" 
40 FILES_libgnt-dev     = "${libdir}/gnt/*.la" 
41 FILES_libgnt-dbg     = "${libdir}/gnt/.debug \
42 FILES_finch          = "${bindir}/finch"
43 FILES_finch-dev      = "${libdir}/finch/*.la"
44 FILES_finch-dbg      = "${bindir}/.debug/finch \
45                         ${libdir}/finch/.debug"
46
47 FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
48                ${datadir}/applications"
49 RRECOMMENDS_${PN} = "${PN}-data libpurple-plugin-ssl-gnutls libpurple-protocol-irc libpurple-protocol-xmpp"
50
51 FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons"
52 FILES_${PN}-dev += "${libdir}/${PN}/*.la"
53
54 PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*"
55
56 python populate_packages_prepend () {
57         pidgroot = bb.data.expand('${libdir}/pidgin', d)
58         purple   = bb.data.expand('${libdir}/purple-2', d)
59         finch    = bb.data.expand('${libdir}/finch', d)
60
61         do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$',
62                 output_pattern='pidgin-plugin-%s',
63                 description='Pidgin plugin %s',
64                 prepend=True, extra_depends='')
65
66         do_split_packages(d, purple, '^lib(.*)\.so$',
67                 output_pattern='libpurple-protocol-%s',
68                 description='Libpurple protocol plugin for %s',
69                 prepend=True, extra_depends='')
70
71         do_split_packages(d, purple, '^(ssl-.*)\.so$',
72                 output_pattern='libpurple-plugin-%s',
73                 description='libpurple plugin %s',
74                 prepend=True, extra_depends='libpurple-plugin-ssl')
75
76         do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$',
77                 output_pattern='libpurple-plugin-%s',
78                 description='libpurple plugin %s',
79                 prepend=True, extra_depends='')
80
81         do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$',
82                 output_pattern='finch-plugin-%s',
83                 description='Finch plugin %s',
84                 prepend=True, extra_depends='')
85 }