blob: 4fc1d6defefb6b3aec0cbd244af57ac958557dbc [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "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://0002-Prefix-sysroot-path-to-introspection-tools-path.patch \
8 file://0003-Set-the-library-installation-directory-correctly.patch \
9 file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \
10 file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
11 "
12
13SRCREV = "60f979bd8db651229c559c1412f1eb880257127d"
14
15S = "${WORKDIR}/git"
16
17DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc"
18
19inherit gtk-doc gobject-introspection cmake pkgconfig distutils3-base
20
21EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF -DPYTHON_DESIRED=3 \
22 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DWITH_GIR=ON', '-DWITH_GIR=OFF', d)} \
23 "
24EXTRA_OECMAKE_append_class-native = " -DWITH_GIR=OFF"
25EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_GIR=OFF"
26
27BBCLASSEXTEND = "native nativesdk"
28