diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-11-23 15:36:26 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-12-11 07:58:58 -0800 |
commit | ec5b6dd327abce8065e61c536c80cee1b176a92d (patch) | |
tree | 346235daa96bc0024789c5015aaf27b332a29563 /meta-oe/recipes-support/neon | |
parent | 7032352c45b65ac40636d57c9ab5118074146b1e (diff) | |
download | meta-openembedded-ec5b6dd327abce8065e61c536c80cee1b176a92d.tar.gz |
neon: add the recipe from oe-core
It is still required by libmusicbrainz, but is no longer needed
by oe-core. Switch the upstream to debian as webdav.org is down.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/neon')
-rw-r--r-- | meta-oe/recipes-support/neon/neon/pkgconfig.patch | 15 | ||||
-rw-r--r-- | meta-oe/recipes-support/neon/neon_0.30.2.bb | 38 |
2 files changed, 53 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/neon/neon/pkgconfig.patch b/meta-oe/recipes-support/neon/neon/pkgconfig.patch new file mode 100644 index 000000000..239dba8e2 --- /dev/null +++ b/meta-oe/recipes-support/neon/neon/pkgconfig.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | --- | ||
4 | neon.pc.in | 2 +- | ||
5 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
6 | |||
7 | --- neon-0.30.1.orig/neon.pc.in | ||
8 | +++ neon-0.30.1/neon.pc.in | ||
9 | @@ -7,5 +7,5 @@ Name: neon | ||
10 | Description: HTTP/WebDAV client library | ||
11 | Version: @NEON_VERSION@ | ||
12 | Libs: -L${libdir} -lneon @NEON_PC_LIBS@ | ||
13 | -Libs.private: @NEON_LIBS@ | ||
14 | +Libs.private: -L${libdir} -lz -lgcrypt -lgpg-error -lexpat -lgnutls | ||
15 | Cflags: -I${includedir}/neon @NEON_CFLAGS@ | ||
diff --git a/meta-oe/recipes-support/neon/neon_0.30.2.bb b/meta-oe/recipes-support/neon/neon_0.30.2.bb new file mode 100644 index 000000000..00b79f633 --- /dev/null +++ b/meta-oe/recipes-support/neon/neon_0.30.2.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "An HTTP and WebDAV client library with a C interface" | ||
2 | HOMEPAGE = "http://www.webdav.org/neon/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \ | ||
6 | file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037" | ||
7 | |||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \ | ||
9 | file://pkgconfig.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "e28d77bf14032d7f5046b3930704ef41" | ||
13 | SRC_URI[sha256sum] = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca" | ||
14 | |||
15 | inherit autotools binconfig-disabled lib_package pkgconfig | ||
16 | |||
17 | # Enable gnutls or openssl, not both | ||
18 | PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib" | ||
19 | PACKAGECONFIG_class-native = "expat gnutls webdav zlib" | ||
20 | |||
21 | PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat" | ||
22 | PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" | ||
23 | PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5" | ||
24 | PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy" | ||
25 | PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2" | ||
26 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" | ||
27 | PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav," | ||
28 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | ||
29 | |||
30 | EXTRA_OECONF += "--enable-shared" | ||
31 | |||
32 | do_compile_append() { | ||
33 | oe_runmake -C test | ||
34 | } | ||
35 | |||
36 | BINCONFIG = "${bindir}/neon-config" | ||
37 | |||
38 | BBCLASSEXTEND = "native" | ||