Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "A library providing C and Python (libcURL like) API \ |
| 2 | for downloading linux repository metadata and packages." |
| 3 | LICENSE = "LGPLv2.1" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 5 | |
| 6 | SRC_URI = "git://github.com/rpm-software-management/librepo.git \ |
| 7 | file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ |
| 8 | file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ |
| 9 | " |
| 10 | |
Andrew Geissler | 5a43b43 | 2020-06-13 10:46:56 -0500 | [diff] [blame] | 11 | SRCREV = "9c173f1110bb30f4ae842a8e3532b275966c2d83" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" |
| 16 | |
| 17 | inherit cmake distutils3-base pkgconfig |
| 18 | |
| 19 | EXTRA_OECMAKE = " \ |
| 20 | -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \ |
| 21 | -DPYTHON_DESIRED=3 \ |
| 22 | -DENABLE_TESTS=OFF \ |
| 23 | -DENABLE_DOCS=OFF \ |
| 24 | -DWITH_ZCHUNK=OFF \ |
| 25 | " |
| 26 | |
| 27 | BBCLASSEXTEND = "native nativesdk" |