summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf_0.22.3.bb')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.22.3.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb b/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb
new file mode 100644
index 0000000000..d0cb01f0ea
--- /dev/null
+++ b/meta/recipes-devtools/libdnf/libdnf_0.22.3.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Library providing simplified C and Python API to libsolv"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
4
5SRC_URI = "git://github.com/rpm-software-management/libdnf \
6 file://0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch \
7 file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \
8 file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
9 file://0001-Add-WITH_TESTS-option.patch \
10 "
11
12SRCREV = "5c198ea2357c5779cf83050e5291646c3b186446"
13
14S = "${WORKDIR}/git"
15
16DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native"
17
18inherit gtk-doc gobject-introspection cmake pkgconfig distutils3-base
19
20EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF -DPYTHON_DESIRED=3 \
21 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DWITH_GIR=ON', '-DWITH_GIR=OFF', d)} \
22 -DWITH_TESTS=OFF \
23 "
24EXTRA_OECMAKE_append_class-native = " -DWITH_GIR=OFF"
25EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_GIR=OFF"
26
27BBCLASSEXTEND = "native nativesdk"
28