summaryrefslogtreecommitdiff
path: root/meta/recipes-support/gnutls/gnutls_2.12.18.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-04-30 13:37:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-03 15:00:29 +0100
commit753b22012f10c393c191d3116b9d38ee4be6d112 (patch)
tree0478a45c2658e0b0c3e37f464145a45126bc46f0 /meta/recipes-support/gnutls/gnutls_2.12.18.bb
parent7f020c1e8429ab510f4c41ac7b7abfdd4db308fb (diff)
downloadopenembedded-core-753b22012f10c393c191d3116b9d38ee4be6d112.tar.gz
openembedded-core-753b22012f10c393c191d3116b9d38ee4be6d112.tar.bz2
openembedded-core-753b22012f10c393c191d3116b9d38ee4be6d112.tar.xz
openembedded-core-753b22012f10c393c191d3116b9d38ee4be6d112.zip
gnutls: Update to 2.12.18
Change the SRC_URI to use the GNU_MIRROR Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls_2.12.18.bb')
-rw-r--r--meta/recipes-support/gnutls/gnutls_2.12.18.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.18.bb b/meta/recipes-support/gnutls/gnutls_2.12.18.bb
new file mode 100644
index 000000000..7355855ff
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls_2.12.18.bb
@@ -0,0 +1,19 @@
+require gnutls.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI += "file://gnutls-openssl.patch \
+ file://correct_rpl_gettimeofday_signature.patch \
+ file://configure-fix.patch \
+ "
+
+SRC_URI[md5sum] = "e9215d00d2930e09bc8f23f02b54f2d1"
+SRC_URI[sha256sum] = "780b12e3f05191316390611a3d9d982d29ca3f3abc234517b2fc542064b6f07a"
+
+python() {
+ if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1):
+ # if GPLv3 add patch
+ src_uri = (d.getVar("SRC_URI", False) or "").split()
+ src_uri.append("file://fix-gettext-version.patch")
+ d.setVar("SRC_URI", " ".join(src_uri))
+}