diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-05-23 11:54:59 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-05-24 10:11:28 -0700 |
commit | 4ef340551ff3e0ec74f1e10959108ba7e57f18c9 (patch) | |
tree | c695632b36016caf995713eecccc80fe2663a031 /meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb | |
parent | 7ea6a62a26f1247799321f7a9ad7ec58b4e2994e (diff) | |
download | meta-openembedded-4ef340551ff3e0ec74f1e10959108ba7e57f18c9.tar.gz |
pidgin: upgrade to 2.13.0
* update purple-OE-branding-25.patch to apply cleanly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.bb | 117 |
1 files changed, 0 insertions, 117 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 deleted file mode 100644 index 148e4b6b5..000000000 --- a/meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | SUMMARY = "multi-protocol instant messaging client" | ||
2 | SECTION = "x11/network" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
5 | DEPENDS = "python virtual/libintl intltool-native libxml2 gconf glib-2.0-native" | ||
6 | |||
7 | inherit autotools gettext pkgconfig gconf perlnative | ||
8 | |||
9 | SRC_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 | |||
16 | SRC_URI[md5sum] = "8287400c4e5663e0e7844e868d5152af" | ||
17 | SRC_URI[sha256sum] = "8c3d3536d6d3c971bd433ff9946678af70a0f6aa4e6969cc2a83bb357015b7f8" | ||
18 | |||
19 | PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn nss \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \ | ||
21 | " | ||
22 | PACKAGECONFIG[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 | ||
30 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" | ||
31 | PACKAGECONFIG[vv] = "--enable-vv,--disable-vv,gstreamer" | ||
32 | PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn" | ||
33 | PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+" | ||
34 | PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11" | ||
35 | PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification" | ||
36 | PACKAGECONFIG[consoleui] = "--enable-consoleui --with-ncurses-headers=${STAGING_INCDIR},--disable-consoleui,ncurses" | ||
37 | PACKAGECONFIG[gnutls] = "--enable-gnutls --with-gnutls-includes=${STAGING_INCDIR} --with-gnutls-libs=${STAGING_LIBDIR},--disable-gnutls,gnutls,libpurple-plugin-ssl-gnutls" | ||
38 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus dbus-glib" | ||
39 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" | ||
40 | PACKAGECONFIG[nss] = "--enable-nss,--disable-nss,nss nspr,libpurple-plugin-ssl-nss" | ||
41 | |||
42 | EXTRA_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 | |||
53 | do_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 | |||
58 | OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" | ||
59 | OE_LT_RPATH_ALLOW[export]="1" | ||
60 | |||
61 | PACKAGES =+ "libpurple-dev libpurple libgnt libgnt-dev finch finch-dev ${PN}-data" | ||
62 | |||
63 | RPROVIDES_${PN}-dbg += "libpurple-dbg libgnt-dbg finch-dbg" | ||
64 | |||
65 | LEAD_SONAME = "libpurple.so.0" | ||
66 | FILES_libpurple = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs" | ||
67 | FILES_libpurple-dev = "${libdir}/libpurple*.la \ | ||
68 | ${libdir}/libpurple*.so \ | ||
69 | ${libdir}/purple-2/*.la \ | ||
70 | ${libdir}/purple-2/libjabber.so \ | ||
71 | ${libdir}/purple-2/liboscar.so \ | ||
72 | ${libdir}/purple-2/libymsg.so \ | ||
73 | ${datadir}/aclocal" | ||
74 | FILES_libgnt = "${libdir}/libgnt.so.* ${libdir}/gnt/*.so" | ||
75 | FILES_libgnt-dev = "${libdir}/gnt/*.la" | ||
76 | FILES_finch = "${bindir}/finch" | ||
77 | FILES_finch-dev = "${libdir}/finch/*.la" | ||
78 | |||
79 | FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ | ||
80 | ${datadir}/applications" | ||
81 | RRECOMMENDS_${PN} = "${PN}-data libpurple-protocol-irc libpurple-protocol-xmpp" | ||
82 | |||
83 | FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons ${datadir}/appdata" | ||
84 | FILES_${PN}-dev += "${libdir}/${PN}/*.la" | ||
85 | |||
86 | PACKAGES_DYNAMIC += "^libpurple-protocol-.* ^libpurple-plugin-.* ^pidgin-plugin-.* ^finch-plugin-.*" | ||
87 | |||
88 | python populate_packages_prepend () { | ||
89 | pidgroot = d.expand('${libdir}/pidgin') | ||
90 | purple = d.expand('${libdir}/purple-2') | ||
91 | finch = d.expand('${libdir}/finch') | ||
92 | |||
93 | do_split_packages(d, pidgroot, '^([^l][^i][^b].*)\.so$', | ||
94 | output_pattern='pidgin-plugin-%s', | ||
95 | description='Pidgin plugin %s', | ||
96 | prepend=True, extra_depends='') | ||
97 | |||
98 | do_split_packages(d, purple, '^lib(.*)\.so$', | ||
99 | output_pattern='libpurple-protocol-%s', | ||
100 | description='Libpurple protocol plugin for %s', | ||
101 | prepend=True, extra_depends='') | ||
102 | |||
103 | do_split_packages(d, purple, '^(ssl-.*)\.so$', | ||
104 | output_pattern='libpurple-plugin-%s', | ||
105 | description='libpurple plugin %s', | ||
106 | prepend=True, extra_depends='libpurple-plugin-ssl') | ||
107 | |||
108 | do_split_packages(d, purple, '^([^l][^i][^b].*)\.so$', | ||
109 | output_pattern='libpurple-plugin-%s', | ||
110 | description='libpurple plugin %s', | ||
111 | prepend=True, extra_depends='') | ||
112 | |||
113 | do_split_packages(d, finch, '^([^l][^i][^b].*)\.so$', | ||
114 | output_pattern='finch-plugin-%s', | ||
115 | description='Finch plugin %s', | ||
116 | prepend=True, extra_depends='') | ||
117 | } | ||