diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch | 59 | ||||
-rw-r--r-- | meta/recipes-support/libksba/libksba_1.3.0.bb | 8 |
2 files changed, 64 insertions, 3 deletions
diff --git a/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch b/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch new file mode 100644 index 0000000000..fe1ec0ff2f --- /dev/null +++ b/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | Upstream-Status: Rejected | ||
2 | |||
3 | Add pkgconfig support to libksba. | ||
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,6 +21,9 @@ | ||
14 | ACLOCAL_AMFLAGS = -I m4 -I gl/m4 | ||
15 | AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip | ||
16 | |||
17 | +pkgconfigdir = ${libdir}/pkgconfig | ||
18 | +pkgconfig_DATA = ksba.pc | ||
19 | + | ||
20 | # (A suitable gitlog-to-changelog script can be found in GnuPG master.) | ||
21 | GITLOG_TO_CHANGELOG=gitlog-to-changelog | ||
22 | |||
23 | Index: configure.ac | ||
24 | =============================================================== | ||
25 | --- a/configure.ac | ||
26 | +++ b/configure.ac | ||
27 | @@ -399,6 +399,7 @@ m4/Makefile | ||
28 | gl/Makefile | ||
29 | src/Makefile | ||
30 | src/ksba-config | ||
31 | src/versioninfo.rc | ||
32 | +ksba.pc | ||
33 | tests/Makefile | ||
34 | doc/Makefile | ||
35 | |||
36 | Index: src/ksba.pc.in | ||
37 | =============================================================== | ||
38 | --- /dev/null | ||
39 | +++ b/ksba.pc.in | ||
40 | @@ -0,0 +1,16 @@ | ||
41 | +prefix=@prefix@ | ||
42 | +exec_prefix=@exec_prefix@ | ||
43 | +libdir=@libdir@ | ||
44 | +includedir=@includedir@ | ||
45 | + | ||
46 | +# API info | ||
47 | +api_version=@KSBA_CONFIG_API_VERSION@ | ||
48 | + | ||
49 | +Name: ksba | ||
50 | +Description: Libksba provides an easy API to create and parse X.509 and CMS related objects | ||
51 | +Requires: | ||
52 | +Version: @VERSION@ | ||
53 | +Libs: -L${libdir} -lksba | ||
54 | +Libs.private: -L{libdir} -lgpg-error | ||
55 | +Cflags: -I${includedir} | ||
56 | + | ||
57 | -- | ||
58 | 1.7.5.4 | ||
59 | |||
diff --git a/meta/recipes-support/libksba/libksba_1.3.0.bb b/meta/recipes-support/libksba/libksba_1.3.0.bb index 506d7c00b4..45bc35a4c1 100644 --- a/meta/recipes-support/libksba/libksba_1.3.0.bb +++ b/meta/recipes-support/libksba/libksba_1.3.0.bb | |||
@@ -6,13 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fd541d83f75d038c4e0617b672ed8bda \ | |||
6 | file://COPYING.GPLv3;md5=2f31b266d3440dd7ee50f92cf67d8e6c \ | 6 | file://COPYING.GPLv3;md5=2f31b266d3440dd7ee50f92cf67d8e6c \ |
7 | file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | 7 | file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
8 | " | 8 | " |
9 | PR = "r0" | 9 | PR = "r1" |
10 | 10 | ||
11 | DEPENDS = "libgpg-error" | 11 | DEPENDS = "libgpg-error" |
12 | 12 | ||
13 | inherit autotools binconfig | 13 | inherit autotools binconfig pkgconfig |
14 | 14 | ||
15 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2" | 15 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ |
16 | file://ksba-add-pkgconfig-support.patch" | ||
16 | 17 | ||
17 | SRC_URI[md5sum] = "cd86fad9c9d360b2cf80449f8a4a4075" | 18 | SRC_URI[md5sum] = "cd86fad9c9d360b2cf80449f8a4a4075" |
18 | SRC_URI[sha256sum] = "5a61eed50550d4d0dcb47457ce7b6a90f8e719d42a3b25f7e79333e8cd721971" | 19 | SRC_URI[sha256sum] = "5a61eed50550d4d0dcb47457ce7b6a90f8e719d42a3b25f7e79333e8cd721971" |
20 | |||