mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.8 KiB
BlitzBasic
35 lines
1.8 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 = "LGPLv2.1+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
|
|
|
SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=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://0001-Add-WITH_TESTS-option.patch \
|
|
file://0001-include-stdexcept-for-runtime_error.patch \
|
|
file://fix-deprecation-warning.patch \
|
|
"
|
|
|
|
SRCREV = "751f89045b80d58c0d05800f74357cf78cdf7e77"
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd-v1 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"
|
|
PNBLACKLIST[libdnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'Does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
|
|
|