blob: 7c8f1fd372d2af87c31e037a387d509b005b0bf1 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Library for solving packages and reading repositories"
2DESCRIPTION = "This is libsolv, a free package dependency solver using a satisfiability algorithm for solving packages and reading repositories"
3HOMEPAGE = "https://github.com/openSUSE/libsolv"
4BUGTRACKER = "https://github.com/openSUSE/libsolv/issues"
5SECTION = "devel"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
8
9DEPENDS = "expat zlib"
10
11SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \
12 file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \
13"
14
Patrick Williams8e7b46e2023-05-01 14:19:06 -050015SRCREV = "4d05dca3974156faf2f025ca4a82b68904848307"
Andrew Geissler517393d2023-01-13 08:55:19 -060016
17UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
18
19S = "${WORKDIR}/git"
20
21inherit cmake
22
23PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
24PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
25
26EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"
27
28PACKAGES =+ "${PN}-tools ${PN}ext"
29
30FILES:${PN}-tools = "${bindir}/*"
31FILES:${PN}ext = "${libdir}/${PN}ext.so.*"
32
33BBCLASSEXTEND = "native nativesdk"