gnutls_2.12.17.bb 670 B

1234567891011121314151617181920
  1. require gnutls.inc
  2. PR = "${INC_PR}.2"
  3. SRC_URI += "file://gnutls-openssl.patch \
  4. file://correct_rpl_gettimeofday_signature.patch \
  5. file://configure-fix.patch \
  6. file://remove-gets.patch \
  7. "
  8. SRC_URI[md5sum] = "f08990f1afa4e1d0ee13e64e537c7854"
  9. SRC_URI[sha256sum] = "588ad6b0901c789f2f6afcec88ac4d688801bf1a024c9afa08706bb8d9868bf3"
  10. python() {
  11. if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1):
  12. # if GPLv3 add patch
  13. src_uri = (d.getVar("SRC_URI", False) or "").split()
  14. src_uri.append("file://fix-gettext-version.patch")
  15. d.setVar("SRC_URI", " ".join(src_uri))
  16. }