mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
961 B
BlitzBasic
30 lines
961 B
BlitzBasic
SUMMARY = "A library providing C and Python (libcURL like) API \
|
|
for downloading linux repository metadata and packages."
|
|
HOMEPAGE = "https://github.com/rpm-software-management/librepo"
|
|
DESCRIPTION = "${SUMMARY}"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
|
|
|
SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master \
|
|
file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
|
|
file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
|
|
"
|
|
|
|
SRCREV = "3b9a8d17188ba602d139f79b6e61305030f21109"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2"
|
|
|
|
inherit cmake distutils3-base pkgconfig
|
|
|
|
EXTRA_OECMAKE = " \
|
|
-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
|
|
-DPYTHON_DESIRED=3 \
|
|
-DENABLE_TESTS=OFF \
|
|
-DENABLE_DOCS=OFF \
|
|
-DWITH_ZCHUNK=OFF \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|