mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
By default, libsolv uses the rpm logic for version comparison, which is not quite the same as debian. Opkg now sets the distribution type for libsolv to be debian. But for that to work, libsolv needs to be compiled with MULTI_SEMANTICS=ON. (From OE-Core rev: 66e2b56aa5166440f565f9722886bab680d5c4d1) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
884 B
BlitzBasic
30 lines
884 B
BlitzBasic
SUMMARY = "Library for solving packages and reading repositories"
|
|
HOMEPAGE = "https://github.com/openSUSE/libsolv"
|
|
BUGTRACKER = "https://github.com/openSUSE/libsolv/issues"
|
|
SECTION = "devel"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
|
|
|
|
DEPENDS = "expat zlib"
|
|
|
|
SRC_URI = "git://github.com/openSUSE/libsolv.git \
|
|
"
|
|
SRC_URI_append_libc-musl = " file://0001-Add-fallback-fopencookie-implementation.patch"
|
|
|
|
SRCREV = "f654c8cfa52427ed42d7142e58452dae08c0c2d0"
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
EXTRA_OECMAKE = "-DLIB=${baselib} -DMULTI_SEMANTICS=ON"
|
|
|
|
PACKAGES =+ "${PN}-tools ${PN}ext"
|
|
|
|
FILES_${PN}-dev += "${datadir}/cmake/Modules/FindLibSolv.cmake"
|
|
FILES_${PN}-tools = "${bindir}/*"
|
|
FILES_${PN}ext = "${libdir}/${PN}ext.so.*"
|
|
|
|
BBCLASSEXTEND =+ "native nativesdk"
|