mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Changelog: ========== - context: use rpmtsAddReinstallElement() when doing a reinstall - MergedTransaction: Fix invalid memory access when dropping items - ConfigParser: fix use-out-of-scope leaks - Since we use rpmtsAddReinstallElement rpm also uninstalls the package - Fix countme bucket calculation (From OE-Core rev: 20b67ad71cfa3eac35b2514067f87d79d9c3da2e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9cf8330068503a5721640763309c4c74f293a94d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
37 lines
1.9 KiB
BlitzBasic
37 lines
1.9 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://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://enable_test_data_dir_set.patch \
|
|
file://0001-drop-FindPythonInstDir.cmake.patch \
|
|
file://armarch.patch \
|
|
"
|
|
|
|
SRCREV = "86bbb159732e43dd6dff98c96e99382843f7c63b"
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux"
|
|
|
|
inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-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 \
|
|
-DWITH_ZCHUNK=OFF \
|
|
-DWITH_HTML=OFF \
|
|
"
|
|
EXTRA_OECMAKE:append:class-native = " -DWITH_GIR=OFF"
|
|
EXTRA_OECMAKE:append:class-nativesdk = " -DWITH_GIR=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)}"
|
|
|