diff options
-rw-r--r-- | meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch | 59 | ||||
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_2.0.3.bb | 5 |
2 files changed, 62 insertions, 2 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..ba332527f1 --- /dev/null +++ b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | Upstream-Status: Rejected | ||
2 | |||
3 | Add pkgconfig support to libassuan. | ||
4 | This patch is rejected by upstream for the reason below: | ||
5 | They think pkgconfig adds no portability and maintaining them is not worthwhile. | ||
6 | |||
7 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
8 | |||
9 | Index: Makefile.am | ||
10 | ============================================================== | ||
11 | --- a/Makefile.am | ||
12 | +++ b/Makefile.am | ||
13 | @@ -21,11 +21,14 @@ | ||
14 | ACLOCAL_AMFLAGS = -I m4 | ||
15 | AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip | ||
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/gitlog-to-changelog build-aux/git-log-footer \ | ||
24 | - build-aux/git-log-fix | ||
25 | + build-aux/git-log-fix assuan.pc.in | ||
26 | |||
27 | SUBDIRS = m4 src doc tests | ||
28 | |||
29 | Index: assuan.pc.in | ||
30 | ============================================================== | ||
31 | --- /dev/null | ||
32 | +++ b/assuan.pc.in | ||
33 | @@ -0,0 +1,12 @@ | ||
34 | +prefix=@prefix@ | ||
35 | +exec_prefix=@exec_prefix@ | ||
36 | +libdir=@libdir@ | ||
37 | +includedir=@includedir@ | ||
38 | + | ||
39 | +Name: libassuan | ||
40 | +Description: IPC library used by GnuPG and GPGME | ||
41 | +Requires: | ||
42 | +Version: @VERSION@ | ||
43 | +Libs: -L${libdir} -lassuan | ||
44 | +Libs.private: -lgpg-error | ||
45 | +Cflags: -I${includedir} | ||
46 | Index: configure.ac | ||
47 | ============================================================== | ||
48 | --- a/configure.ac | ||
49 | +++ b/configure.ac | ||
50 | @@ -380,5 +380,5 @@ AC_CONFIG_FILES([doc/Makefile]) | ||
51 | AC_CONFIG_FILES([tests/Makefile]) | ||
52 | AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config]) | ||
53 | AC_CONFIG_FILES([src/versioninfo.rc]) | ||
54 | - | ||
55 | +AC_CONFIG_FILES([assuan.pc]) | ||
56 | AC_OUTPUT | ||
57 | -- | ||
58 | 1.7.5.4 | ||
59 | |||
diff --git a/meta/recipes-support/libassuan/libassuan_2.0.3.bb b/meta/recipes-support/libassuan/libassuan_2.0.3.bb index 2a8963ec0a..f0d7c9f4b6 100644 --- a/meta/recipes-support/libassuan/libassuan_2.0.3.bb +++ b/meta/recipes-support/libassuan/libassuan_2.0.3.bb | |||
@@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | |||
10 | 10 | ||
11 | DEPENDS = "libgpg-error" | 11 | DEPENDS = "libgpg-error" |
12 | 12 | ||
13 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2" | 13 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2 \ |
14 | file://libassuan-add-pkgconfig-support.patch" | ||
14 | 15 | ||
15 | SRC_URI[md5sum] = "179d1918325fdb928c7bd90b8a514fc7" | 16 | SRC_URI[md5sum] = "179d1918325fdb928c7bd90b8a514fc7" |
16 | SRC_URI[sha256sum] = "bad5682374c76bcc0abb1a7a34c9557af6874a477500748e64a7d3def79cac1b" | 17 | SRC_URI[sha256sum] = "bad5682374c76bcc0abb1a7a34c9557af6874a477500748e64a7d3def79cac1b" |
17 | 18 | ||
18 | inherit autotools binconfig | 19 | inherit autotools binconfig pkgconfig |