aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2018-12-18 17:29:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-02 13:54:18 +0000
commit7d318834fda934170d1e70148bba9e71e1e2f636 (patch)
treefb2dfcde3ee3048f86b50dfffb88a6357d6d4bc0 /meta/recipes-devtools/libdnf/libdnf_0.24.1.bb
parent515b919822587d2484357cdf6974c56d558e0549 (diff)
downloadopenembedded-core-contrib-7d318834fda934170d1e70148bba9e71e1e2f636.tar.gz
openembedded-core-contrib-7d318834fda934170d1e70148bba9e71e1e2f636.tar.bz2
openembedded-core-contrib-7d318834fda934170d1e70148bba9e71e1e2f636.zip
libdnf: upgrade 0.22.3 -> 0.24.1
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf_0.24.1.bb')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.24.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb
new file mode 100644
index 0000000000..e379d8b256
--- /dev/null
+++ b/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Library providing simplified C and Python API to libsolv"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "git://github.com/rpm-software-management/libdnf \
+ file://0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch \
+ file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \
+ file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
+ file://0001-Add-WITH_TESTS-option.patch \
+ "
+
+SRCREV = "04b71d78a2170e930a3c248d48a231b19f823064"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native"
+
+inherit gtk-doc gobject-introspection cmake pkgconfig distutils3-base
+
+EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF -DPYTHON_DESIRED=3 \
+ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DWITH_GIR=ON', '-DWITH_GIR=OFF', d)} \
+ -DWITH_TESTS=OFF \
+ "
+EXTRA_OECMAKE_append_class-native = " -DWITH_GIR=OFF"
+EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_GIR=OFF"
+
+BBCLASSEXTEND = "native nativesdk"
+