diff options
Diffstat (limited to 'meta/recipes-support/libassuan')
-rw-r--r-- | meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch | 57 | ||||
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_2.1.1.bb | 19 |
2 files changed, 76 insertions, 0 deletions
diff --git a/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch new file mode 100644 index 0000000000..ac1604fe0b --- /dev/null +++ b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch | |||
@@ -0,0 +1,57 @@ | |||
1 | Add pkgconfig support to libassuan. | ||
2 | This patch is rejected by upstream for the reason below: | ||
3 | They think pkgconfig adds no portability and maintaining them is not worthwhile. | ||
4 | |||
5 | Upstream-Status: Rejected | ||
6 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
7 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | ||
8 | |||
9 | Index: libassuan-2.1.0/Makefile.am | ||
10 | =================================================================== | ||
11 | --- libassuan-2.1.0.orig/Makefile.am | ||
12 | +++ libassuan-2.1.0/Makefile.am | ||
13 | @@ -24,10 +24,13 @@ AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gz | ||
14 | # (A suitable gitlog-to-changelog script can be found in GnuPG master.) | ||
15 | GITLOG_TO_CHANGELOG=gitlog-to-changelog | ||
16 | |||
17 | +pkgconfigdir = $(libdir)/pkgconfig | ||
18 | +pkgconfig_DATA = assuan.pc | ||
19 | + | ||
20 | EXTRA_DIST = config.rpath autogen.sh README.GIT \ | ||
21 | ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \ | ||
22 | tests/ChangeLog-2011 contrib/ChangeLog-2011 \ | ||
23 | - build-aux/git-log-footer build-aux/git-log-fix | ||
24 | + build-aux/git-log-footer build-aux/git-log-fix assuan.pc.in | ||
25 | |||
26 | SUBDIRS = m4 src doc tests | ||
27 | |||
28 | Index: libassuan-2.1.0/assuan.pc.in | ||
29 | =================================================================== | ||
30 | --- /dev/null | ||
31 | +++ libassuan-2.1.0/assuan.pc.in | ||
32 | @@ -0,0 +1,12 @@ | ||
33 | +prefix=@prefix@ | ||
34 | +exec_prefix=@exec_prefix@ | ||
35 | +libdir=@libdir@ | ||
36 | +includedir=@includedir@ | ||
37 | + | ||
38 | +Name: libassuan | ||
39 | +Description: IPC library used by GnuPG and GPGME | ||
40 | +Requires: | ||
41 | +Version: @VERSION@ | ||
42 | +Libs: -L${libdir} -lassuan | ||
43 | +Libs.private: -lgpg-error | ||
44 | +Cflags: -I${includedir} | ||
45 | Index: libassuan-2.1.0/configure.ac | ||
46 | =================================================================== | ||
47 | --- libassuan-2.1.0.orig/configure.ac | ||
48 | +++ libassuan-2.1.0/configure.ac | ||
49 | @@ -433,7 +433,7 @@ AC_CONFIG_FILES([doc/Makefile]) | ||
50 | AC_CONFIG_FILES([tests/Makefile]) | ||
51 | AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config]) | ||
52 | AC_CONFIG_FILES([src/versioninfo.rc]) | ||
53 | - | ||
54 | +AC_CONFIG_FILES([assuan.pc]) | ||
55 | AC_OUTPUT | ||
56 | |||
57 | echo " | ||
diff --git a/meta/recipes-support/libassuan/libassuan_2.1.1.bb b/meta/recipes-support/libassuan/libassuan_2.1.1.bb new file mode 100644 index 0000000000..4e6b4f8ad6 --- /dev/null +++ b/meta/recipes-support/libassuan/libassuan_2.1.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "IPC library used by GnuPG and GPGME" | ||
2 | HOMEPAGE = "http://www.gnupg.org/related_software/libassuan/" | ||
3 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | ||
4 | |||
5 | LICENSE = "GPLv3 & LGPLv2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | ||
7 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
8 | file://src/assuan.c;endline=20;md5=0f465544183405055ec179869fc5b5ba \ | ||
9 | file://src/assuan-defs.h;endline=20;md5=20cd55535260ca1779edae5c7b80b21e" | ||
10 | |||
11 | DEPENDS = "libgpg-error" | ||
12 | |||
13 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2 \ | ||
14 | file://libassuan-add-pkgconfig-support.patch" | ||
15 | |||
16 | SRC_URI[md5sum] = "757243cc4a71b30ed8d8dbe784035d36" | ||
17 | SRC_URI[sha256sum] = "23e2d67779b88e90d29fe1df6b157109f1c2a647d0f1b2a0f4295bb3c0b2039d" | ||
18 | |||
19 | inherit autotools binconfig pkgconfig | ||