Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [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}" |
| 5 | LICENSE = "LGPL-2.1-only" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 7 | |
| 8 | SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \ |
| 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 \ |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 11 | file://0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 12 | " |
| 13 | |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 14 | SRCREV = "ae727d99086f70f39fba5695af5460e1da908c1b" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" |
| 19 | |
| 20 | inherit cmake setuptools3-base pkgconfig |
| 21 | |
| 22 | EXTRA_OECMAKE = " \ |
| 23 | -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \ |
| 24 | -DPYTHON_DESIRED=3 \ |
| 25 | -DENABLE_TESTS=OFF \ |
| 26 | -DENABLE_DOCS=OFF \ |
| 27 | -DWITH_ZCHUNK=OFF \ |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 28 | -DENABLE_SELINUX=OFF \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 29 | " |
| 30 | |
| 31 | BBCLASSEXTEND = "native nativesdk" |