diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 13:24:47 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 14:43:41 +0200 |
commit | 89500c583e0f1dc1b4ffdf72914e08e505e427e0 (patch) | |
tree | b073036cc61aa34ca5ac9eec4d617366e0dcb3d5 /meta-oe/recipes-support/pidgin/pidgin.inc | |
parent | e66079da37992abd54486488aa06a99bf7a4198c (diff) | |
download | meta-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.inc | 88 |
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 @@ | |||
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 = "r0" | ||
6 | |||
7 | inherit autotools gettext pkgconfig gconf | ||
8 | |||
9 | EXTRA_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 | |||
23 | do_configure_prepend() { | ||
24 | touch ${S}/po/Makefile | ||
25 | } | ||
26 | |||
27 | OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" | ||
28 | OE_LT_RPATH_ALLOW[export]="1" | ||
29 | |||
30 | PACKAGES =+ "libpurple-dbg libpurple-dev libpurple libgnt-dbg libgnt libgnt-dev finch-dbg finch finch-dev ${PN}-data" | ||
31 | |||
32 | LEAD_SONAME = "libpurple.so.0" | ||
33 | FILES_libpurple = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs" | ||
34 | FILES_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" | ||
40 | FILES_libpurple-dbg += "${libdir}/.debug/libpurple* \ | ||
41 | ${libdir}/purple-2/.debug" | ||
42 | FILES_libgnt = "${libdir}/libgnt.so.* ${libdir}/gnt/*.so" | ||
43 | FILES_libgnt-dev = "${libdir}/gnt/*.la" | ||
44 | FILES_libgnt-dbg = "${libdir}/gnt/.debug \ | ||
45 | FILES_finch = "${bindir}/finch" | ||
46 | FILES_finch-dev = "${libdir}/finch/*.la" | ||
47 | FILES_finch-dbg = "${bindir}/.debug/finch \ | ||
48 | ${libdir}/finch/.debug" | ||
49 | |||
50 | FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ | ||
51 | ${datadir}/applications" | ||
52 | RRECOMMENDS_${PN} = "${PN}-data libpurple-plugin-ssl-gnutls libpurple-protocol-irc libpurple-protocol-xmpp" | ||
53 | |||
54 | FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons" | ||
55 | FILES_${PN}-dev += "${libdir}/${PN}/*.la" | ||
56 | |||
57 | PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*" | ||
58 | |||
59 | python 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 | } | ||