mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 17:09:42 +01:00
We needed to remove the build path from the source tree because it was
embedded into libdnf/dnf-repo.cpp. However, this was replaced with an
environment variable in 0.67.0 onwards[1].
[1] libdnf 04d7fba0 ("Use environment variable in unittest instead of ugly hack in libdnf")
(From OE-Core rev: 948e92562e3a565f97c5eed2992c1d7ecfcc6305)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.6 KiB
BlitzBasic
31 lines
1.6 KiB
BlitzBasic
SUMMARY = "Library providing simplified C and Python API to libsolv"
|
|
HOMEPAGE = "https://github.com/rpm-software-management/libdnf"
|
|
DESCRIPTION = "This library provides a high level package-manager. It's core library of dnf, PackageKit and rpm-ostree. It's replacement for deprecated hawkey library which it contains inside and uses librepo under the hood."
|
|
LICENSE = "LGPL-2.1-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
|
|
|
SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;protocol=https \
|
|
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-drop-FindPythonInstDir.cmake.patch \
|
|
file://armarch.patch \
|
|
file://optional-check.patch \
|
|
"
|
|
|
|
SRCREV = "91a0bf9aada36a722855051526f012e0b5ab1af9"
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
|
|
|
|
DEPENDS = "glib-2.0 libsolv librepo rpm libmodulemd json-c swig-native util-linux"
|
|
|
|
inherit cmake pkgconfig setuptools3-base gettext
|
|
|
|
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 \
|
|
-DWITH_GTKDOC=OFF -DWITH_MAN=OFF -DWITH_HTML=OFF \
|
|
-DWITH_TESTS=OFF \
|
|
-DWITH_ZCHUNK=OFF \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SKIP_RECIPE[libdnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'Does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
|