diff options
| -rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.2.19.bb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.2.19.bb b/meta/recipes-support/gnupg/gnupg_2.2.19.bb index 76c09ff687..c07bff13be 100644 --- a/meta/recipes-support/gnupg/gnupg_2.2.19.bb +++ b/meta/recipes-support/gnupg/gnupg_2.2.19.bb | |||
| @@ -18,6 +18,7 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | |||
| 18 | " | 18 | " |
| 19 | SRC_URI_append_class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ | 19 | SRC_URI_append_class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ |
| 20 | file://relocate.patch" | 20 | file://relocate.patch" |
| 21 | SRC_URI_append_class-nativesdk = " file://relocate.patch" | ||
| 21 | 22 | ||
| 22 | SRC_URI[md5sum] = "cb3b373d08ba078c325299945a7f2818" | 23 | SRC_URI[md5sum] = "cb3b373d08ba078c325299945a7f2818" |
| 23 | SRC_URI[sha256sum] = "242554c0e06f3a83c420b052f750b65ead711cc3fddddb5e7274fcdbb4e9dec0" | 24 | SRC_URI[sha256sum] = "242554c0e06f3a83c420b052f750b65ead711cc3fddddb5e7274fcdbb4e9dec0" |
| @@ -60,10 +61,17 @@ do_install_append() { | |||
| 60 | } | 61 | } |
| 61 | 62 | ||
| 62 | do_install_append_class-native() { | 63 | do_install_append_class-native() { |
| 63 | create_wrapper ${D}${bindir}/gpg2 GNUPG_BINDIR=${STAGING_BINDIR_NATIVE} | 64 | create_wrappers ${STAGING_BINDIR_NATIVE} |
| 64 | create_wrapper ${D}${bindir}/gpgconf GNUPG_BINDIR=${STAGING_BINDIR_NATIVE} | 65 | } |
| 65 | create_wrapper ${D}${bindir}/gpg-agent GNUPG_BINDIR=${STAGING_BINDIR_NATIVE} | 66 | |
| 66 | create_wrapper ${D}${bindir}/gpg-connect-agent GNUPG_BINDIR=${STAGING_BINDIR_NATIVE} | 67 | do_install_append_class-nativesdk() { |
| 68 | create_wrappers ${SDKPATHNATIVE}${bindir_nativesdk} | ||
| 69 | } | ||
| 70 | |||
| 71 | create_wrappers() { | ||
| 72 | for i in gpg2 gpgconf gpg-agent gpg-connect-agent; do | ||
| 73 | create_wrapper ${D}${bindir}/$i GNUPG_BINDIR=$1 | ||
| 74 | done | ||
| 67 | } | 75 | } |
| 68 | 76 | ||
| 69 | PACKAGECONFIG ??= "gnutls" | 77 | PACKAGECONFIG ??= "gnutls" |
