diff options
-rw-r--r-- | meta/recipes-support/gnutls/gnutls_2.12.14.bb | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.14.bb b/meta/recipes-support/gnutls/gnutls_2.12.14.bb index 045ba69d1b..21fd187285 100644 --- a/meta/recipes-support/gnutls/gnutls_2.12.14.bb +++ b/meta/recipes-support/gnutls/gnutls_2.12.14.bb | |||
@@ -1,10 +1,17 @@ | |||
1 | require gnutls.inc | 1 | require gnutls.inc |
2 | 2 | ||
3 | PR = "${INC_PR}.3" | 3 | PR = "${INC_PR}.4" |
4 | 4 | ||
5 | SRC_URI += "file://gnutls-openssl.patch \ | 5 | SRC_URI += "file://gnutls-openssl.patch \ |
6 | file://configure-fix.patch \ | 6 | file://configure-fix.patch" |
7 | file://fix-gettext-version.patch" | 7 | |
8 | python() { | ||
9 | if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1): | ||
10 | # if GPLv3 add patch | ||
11 | src_uri = (d.getVar("SRC_URI", False) or "").split() | ||
12 | src_uri.append("file://fix-gettext-version.patch") | ||
13 | d.setVar("SRC_URI", " ".join(src_uri)) | ||
14 | } | ||
8 | 15 | ||
9 | SRC_URI[md5sum] = "555687a7ffefba0bd9de1e71cb61402c" | 16 | SRC_URI[md5sum] = "555687a7ffefba0bd9de1e71cb61402c" |
10 | SRC_URI[sha256sum] = "5ee72ba6de7a23cf315792561954451e022dac8730149ca95f93c61e95be2ce3" | 17 | SRC_URI[sha256sum] = "5ee72ba6de7a23cf315792561954451e022dac8730149ca95f93c61e95be2ce3" |