librepo: update to 1.10.5

Also cleanedup the recipe.

(From OE-Core rev: 565aae4b4c1302a8a962a9f444d5382ea1043f40)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Oleksandr Kravchuk
2019-08-13 20:13:27 +02:00
committed by Richard Purdie
parent 9addf1c351
commit 48ce05fba3

View File

@@ -1,4 +1,5 @@
SUMMARY = " A library providing C and Python (libcURL like) API for downloading linux repository metadata and packages."
SUMMARY = "A library providing C and Python (libcURL like) API \
for downloading linux repository metadata and packages."
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
@@ -7,7 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/librepo.git \
file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
"
SRCREV = "9b2df22dbcdf9352672334098fff56335aa10423"
SRCREV = "385e2ced1083cac0bcb19e30500311f6923e6dfc"
S = "${WORKDIR}/git"
@@ -15,7 +16,12 @@ DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2"
inherit cmake distutils3-base pkgconfig
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DENABLE_TESTS=OFF -DENABLE_DOCS=OFF -DWITH_ZCHUNK=OFF"
EXTRA_OECMAKE = " \
-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
-DPYTHON_DESIRED=3 \
-DENABLE_TESTS=OFF \
-DENABLE_DOCS=OFF \
-DWITH_ZCHUNK=OFF \
"
BBCLASSEXTEND = "native nativesdk"