pidgin: Add pidgin-otr recipe and a patch for it
authorJakob Drexel <jake42@rommel.stw.uni-erlangen.de>
Mon, 13 Jan 2014 18:31:21 +0000 (19:31 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:35:25 +0000 (08:35 -0800)
Also added a patch to fix issue with autotools.

(From meta-openembedded rev: 31716a11cdf814b15552b441498cf32b76759ebf)

Signed-off-by: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch [new file with mode: 0644]
meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch b/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-otr/ignore_extra-portability_warnings.patch
new file mode 100644 (file)
index 0000000..db0ad87
--- /dev/null
@@ -0,0 +1,19 @@
+pidgin-otr: Silence no-extra-portability warnings
+
+Make it build with OE, was not building with warning turned on
+
+Upstream-Status: Pending
+
+Signed-off-by: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
+
+--- a/configure.ac     2012-09-01 17:03:19.000000000 +0200
++++ b/configure.ac     2014-01-12 21:59:24.920300215 +0100
+@@ -4,7 +4,7 @@
+ AM_CONFIG_HEADER(config.h)
+-AM_INIT_AUTOMAKE([-Wall -Werror])
++AM_INIT_AUTOMAKE([-Wall -Werror -Wno-extra-portability])
+ AC_PROG_CC
diff --git a/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb b/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.0.bb
new file mode 100644 (file)
index 0000000..93139b9
--- /dev/null
@@ -0,0 +1,19 @@
+DESCRIPTION = "(OTR) Messaging allows you to have private conversations over instant messaging"
+HOMEPAGE = "http://www.cypherpunks.ca/otr/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=92fe174bad6da3763f6e9e9eaff6df24"
+DEPENDS = "libgcrypt libotr pidgin"
+
+SRC_URI = "http://www.cypherpunks.ca/otr/${P}.tar.gz \
+           file://ignore_extra-portability_warnings.patch \
+"
+
+SRC_URI[md5sum] = "eadb953376acc474e56041d4c12aa2c8"
+SRC_URI[sha256sum] = "d56b3f092dbe9ee6597641c7d2dd294884dc04ba47aaf4ec571cd54977df4691"
+
+
+FILES_${PN} = "${libdir}/pidgin/*"
+FILES_${PN}-dbg = "${libdir}/pidgin/.debug"
+FILES_${PN}-dbg += "${libdir}/pidgin/.debug/pidgin-otr.so"
+FILES_${PN}-dbg += "/usr/src/debug/pidgin-otr/${PV}-${PR}/${P}/*"
+inherit autotools pkgconfig