Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)." |
| 2 | HOMEPAGE = "https://github.com/rpm-software-management/libcomps" |
| 3 | DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3." |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 7 | SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 8 | file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
| 9 | " |
| 10 | |
| 11 | SRCREV = "dee4ae37f7818709802de28c4d16fa823bd83ae2" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 15 | inherit cmake setuptools3-base |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 16 | |
| 17 | DEPENDS += "libxml2 expat libcheck" |
| 18 | |
| 19 | EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" |
| 20 | OECMAKE_SOURCEPATH = "${S}/libcomps" |
| 21 | |
| 22 | BBCLASSEXTEND = "native nativesdk" |
| 23 | |