Files
poky/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
Moritz Haase 6e416d9247 libcomps: Backport patch to support builds with CMake 4+
PR [0] has been merged upstream, but there hasn't been a release containing it
yet.

[0]: https://github.com/rpm-software-management/libcomps/pull/119

(From OE-Core rev: 42e8b8085abcbdacb664645fd7c2d61511ee95f7)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00

25 lines
998 B
BlitzBasic

SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)."
HOMEPAGE = "https://github.com/rpm-software-management/libcomps"
DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3."
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https \
file://0001-libcomps-Support-builds-with-CMake-4.patch \
file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
"
SRCREV = "2e973ce22698dd64f472180e3a689755268fb06b"
inherit cmake setuptools3-base
DEPENDS = "expat libxml2 zlib"
EXTRA_OECMAKE = "-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
-DENABLE_DOCS=OFF \
-DENABLE_TESTS=OFF"
OECMAKE_SOURCEPATH = "${S}/libcomps"
BBCLASSEXTEND = "native nativesdk"