summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/pidgin/pidgin.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-04-10 13:24:47 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2011-04-10 14:43:41 +0200
commit89500c583e0f1dc1b4ffdf72914e08e505e427e0 (patch)
treeb073036cc61aa34ca5ac9eec4d617366e0dcb3d5 /meta-oe/recipes-support/pidgin/pidgin.inc
parente66079da37992abd54486488aa06a99bf7a4198c (diff)
downloadmeta-openembedded-89500c583e0f1dc1b4ffdf72914e08e505e427e0.tar.gz
recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
Diffstat (limited to 'meta-oe/recipes-support/pidgin/pidgin.inc')
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin.inc88
1 files changed, 88 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pidgin/pidgin.inc b/meta-oe/recipes-support/pidgin/pidgin.inc
new file mode 100644
index 000000000..96a2345a2
--- /dev/null
+++ b/meta-oe/recipes-support/pidgin/pidgin.inc
@@ -0,0 +1,88 @@
1DESCRIPTION = "multi-protocol instant messaging client"
2SECTION = "x11/network"
3LICENSE = "GPL"
4DEPENDS = "python startup-notification avahi gtk+ ncurses gnutls virtual/libintl gstreamer dbus"
5INC_PR = "r0"
6
7inherit autotools gettext pkgconfig gconf
8
9EXTRA_OECONF = " \
10 --enable-vv \
11 --disable-perl \
12 --disable-tcl \
13 --disable-gevolution \
14 --disable-schemas-install \
15 --x-includes=${STAGING_INCDIR} \
16 --x-libraries=${STAGING_LIBDIR} \
17 --enable-gnutls=yes \
18 --with-ncurses-headers=${STAGING_INCDIR} \
19 --with-gnutls-includes=${STAGING_INCDIR} \
20 --with-gnutls-libs=${STAGING_LIBDIR} \
21 "
22
23do_configure_prepend() {
24 touch ${S}/po/Makefile
25}
26
27OE_LT_RPATH_ALLOW=":${libdir}/purple-2:"
28OE_LT_RPATH_ALLOW[export]="1"
29
30PACKAGES =+ "libpurple-dbg libpurple-dev libpurple libgnt-dbg libgnt libgnt-dev finch-dbg finch finch-dev ${PN}-data"
31
32LEAD_SONAME = "libpurple.so.0"
33FILES_libpurple = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs"
34FILES_libpurple-dev = "${libdir}/libpurple*.la \
35 ${libdir}/libpurple*.so \
36 ${libdir}/purple-2/*.la \
37 ${libdir}/purple-2/libjabber.so \
38 ${libdir}/purple-2/liboscar.so \
39 ${datadir}/aclocal"
40FILES_libpurple-dbg += "${libdir}/.debug/libpurple* \
41 ${libdir}/purple-2/.debug"
42FILES_libgnt = "${libdir}/libgnt.so.* ${libdir}/gnt/*.so"
43FILES_libgnt-dev = "${libdir}/gnt/*.la"
44FILES_libgnt-dbg = "${libdir}/gnt/.debug \
45FILES_finch = "${bindir}/finch"
46FILES_finch-dev = "${libdir}/finch/*.la"
47FILES_finch-dbg = "${bindir}/.debug/finch \
48 ${libdir}/finch/.debug"
49
50FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
51 ${datadir}/applications"
52RRECOMMENDS_${PN} = "${PN}-data libpurple-plugin-ssl-gnutls libpurple-protocol-irc libpurple-protocol-xmpp"
53
54FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons"
55FILES_${PN}-dev += "${libdir}/${PN}/*.la"
56
57PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*"
58
59python populate_packages_prepend () {
60 pidgroot = bb.data.expand('${libdir}/pidgin', d)
61 purple = bb.data.expand('${libdir}/purple-2', d)
62 finch = bb.data.expand('${libdir}/finch', d)
63
64 do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$',
65 output_pattern='pidgin-plugin-%s',
66 description='Pidgin plugin %s',
67 prepend=True, extra_depends='')
68
69 do_split_packages(d, purple, '^lib(.*)\.so$',
70 output_pattern='libpurple-protocol-%s',
71 description='Libpurple protocol plugin for %s',
72 prepend=True, extra_depends='')
73
74 do_split_packages(d, purple, '^(ssl-.*)\.so$',
75 output_pattern='libpurple-plugin-%s',
76 description='libpurple plugin %s',
77 prepend=True, extra_depends='libpurple-plugin-ssl')
78
79 do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$',
80 output_pattern='libpurple-plugin-%s',
81 description='libpurple plugin %s',
82 prepend=True, extra_depends='')
83
84 do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$',
85 output_pattern='finch-plugin-%s',
86 description='Finch plugin %s',
87 prepend=True, extra_depends='')
88}