summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb
diff options
context:
space:
mode:
authorHerrie <github.com@herrie.org>2017-07-24 21:55:57 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-13 13:21:00 +0200
commit66809684b7b8868c43dfe223501fe9ce91d42101 (patch)
tree7c86154ad1f7f4b342656794e8cbd81e7e5526ce /meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb
parent3d8be8039659b7d4b2bb6f91b0efa0d599fd0f30 (diff)
downloadmeta-openembedded-66809684b7b8868c43dfe223501fe9ce91d42101.tar.gz
pidgin: Update from 2.11.0 to 2.12.0
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
Diffstat (limited to 'meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb')
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb120
1 files changed, 120 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb b/meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb
new file mode 100644
index 000000000..088f08b7d
--- /dev/null
+++ b/meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb
@@ -0,0 +1,120 @@
1SUMMARY = "multi-protocol instant messaging client"
2SECTION = "x11/network"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5DEPENDS = "python virtual/libintl intltool-native libxml2 gconf glib-2.0-native"
6
7inherit autotools gettext pkgconfig gconf perlnative
8
9SRC_URI = "\
10 ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \
11 file://sanitize-configure.ac.patch \
12 file://purple-OE-branding-25.patch \
13 file://pidgin-cross-python-265.patch \
14"
15
16SRC_URI[md5sum] = "8287400c4e5663e0e7844e868d5152af"
17SRC_URI[sha256sum] = "8c3d3536d6d3c971bd433ff9946678af70a0f6aa4e6969cc2a83bb357015b7f8"
18
19PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn nss \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \
21"
22PACKAGECONFIG[farsight2] = "--enable-farstream,--disable-farstream,farsight2"
23# --disable-gstreamer compile without GStreamer audio support
24# --disable-gstreamer-video
25# compile without GStreamer 1.0 Video Overlay support
26# --disable-gstreamer-interfaces
27# compile without GStreamer 0.10 interface support
28# --with-gstreamer=<version>
29# compile with GStreamer 0.10 or 1.0 interface
30PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer"
31PACKAGECONFIG[vv] = "--enable-vv,--disable-vv,gstreamer"
32PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn"
33PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+"
34PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11"
35PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
36PACKAGECONFIG[consoleui] = "--enable-consoleui --with-ncurses-headers=${STAGING_INCDIR},--disable-consoleui,ncurses"
37PACKAGECONFIG[gnutls] = "--enable-gnutls --with-gnutls-includes=${STAGING_INCDIR} --with-gnutls-libs=${STAGING_LIBDIR},--disable-gnutls,gnutls,libpurple-plugin-ssl-gnutls"
38PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus dbus-glib"
39PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
40PACKAGECONFIG[nss] = "--enable-nss,--disable-nss,nss nspr,libpurple-plugin-ssl-nss"
41
42EXTRA_OECONF = " \
43 --disable-perl \
44 --disable-tcl \
45 --disable-gevolution \
46 --disable-schemas-install \
47 --disable-gtkspell \
48 --disable-meanwhile \
49 --disable-nm \
50 --disable-screensaver \
51"
52
53do_configure_prepend() {
54 touch ${S}/po/Makefile
55 sed -i "s#PY_VERSION=`$PYTHON -c 'import sys ; print sys.version[0:3]'`#PY_VERSION=${PYTHON_BASEVERSION}#g" ${S}/configure.ac
56}
57
58OE_LT_RPATH_ALLOW=":${libdir}/purple-2:"
59OE_LT_RPATH_ALLOW[export]="1"
60
61PACKAGES =+ "libpurple-dbg libpurple-dev libpurple libgnt-dbg libgnt libgnt-dev finch-dbg finch finch-dev ${PN}-data"
62
63LEAD_SONAME = "libpurple.so.0"
64FILES_libpurple = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs"
65FILES_libpurple-dev = "${libdir}/libpurple*.la \
66 ${libdir}/libpurple*.so \
67 ${libdir}/purple-2/*.la \
68 ${libdir}/purple-2/libjabber.so \
69 ${libdir}/purple-2/liboscar.so \
70 ${libdir}/purple-2/libymsg.so \
71 ${datadir}/aclocal"
72FILES_libpurple-dbg += "${libdir}/.debug/libpurple* \
73 ${libdir}/purple-2/.debug"
74FILES_libgnt = "${libdir}/libgnt.so.* ${libdir}/gnt/*.so"
75FILES_libgnt-dev = "${libdir}/gnt/*.la"
76FILES_libgnt-dbg = "${libdir}/gnt/.debug"
77FILES_finch = "${bindir}/finch"
78FILES_finch-dev = "${libdir}/finch/*.la"
79FILES_finch-dbg = "${bindir}/.debug/finch \
80 ${libdir}/finch/.debug"
81
82FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
83 ${datadir}/applications"
84RRECOMMENDS_${PN} = "${PN}-data libpurple-protocol-irc libpurple-protocol-xmpp"
85
86FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons ${datadir}/appdata"
87FILES_${PN}-dev += "${libdir}/${PN}/*.la"
88
89PACKAGES_DYNAMIC += "^libpurple-protocol-.* ^libpurple-plugin-.* ^pidgin-plugin-.* ^finch-plugin-.*"
90
91python populate_packages_prepend () {
92 pidgroot = d.expand('${libdir}/pidgin')
93 purple = d.expand('${libdir}/purple-2')
94 finch = d.expand('${libdir}/finch')
95
96 do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$',
97 output_pattern='pidgin-plugin-%s',
98 description='Pidgin plugin %s',
99 prepend=True, extra_depends='')
100
101 do_split_packages(d, purple, '^lib(.*)\.so$',
102 output_pattern='libpurple-protocol-%s',
103 description='Libpurple protocol plugin for %s',
104 prepend=True, extra_depends='')
105
106 do_split_packages(d, purple, '^(ssl-.*)\.so$',
107 output_pattern='libpurple-plugin-%s',
108 description='libpurple plugin %s',
109 prepend=True, extra_depends='libpurple-plugin-ssl')
110
111 do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$',
112 output_pattern='libpurple-plugin-%s',
113 description='libpurple plugin %s',
114 prepend=True, extra_depends='')
115
116 do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$',
117 output_pattern='finch-plugin-%s',
118 description='Finch plugin %s',
119 prepend=True, extra_depends='')
120}