Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | SUMMARY = "A library providing C and Python (libcURL like) API \ |
| 2 | for downloading linux repository metadata and packages." |
| 3 | HOMEPAGE = "https://github.com/rpm-software-management/librepo" |
| 4 | DESCRIPTION = "${SUMMARY}" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 5 | LICENSE = "LGPL-2.1-only" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 7 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 8 | SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 9 | file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ |
| 10 | file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ |
| 11 | " |
| 12 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 13 | SRCREV = "8fc7950795282d9c7c50071f45973006de5594ab" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" |
| 18 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 19 | inherit cmake setuptools3-base pkgconfig |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 20 | |
| 21 | EXTRA_OECMAKE = " \ |
| 22 | -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \ |
| 23 | -DPYTHON_DESIRED=3 \ |
| 24 | -DENABLE_TESTS=OFF \ |
| 25 | -DENABLE_DOCS=OFF \ |
| 26 | -DWITH_ZCHUNK=OFF \ |
| 27 | " |
| 28 | |
| 29 | BBCLASSEXTEND = "native nativesdk" |