1*73bd93f1SPatrick WilliamsSUMMARY = "Library for solving packages and reading repositories"
2*73bd93f1SPatrick WilliamsDESCRIPTION = "This is libsolv, a free package dependency solver using a satisfiability algorithm for solving packages and reading repositories"
3*73bd93f1SPatrick WilliamsHOMEPAGE = "https://github.com/openSUSE/libsolv"
4*73bd93f1SPatrick WilliamsBUGTRACKER = "https://github.com/openSUSE/libsolv/issues"
5*73bd93f1SPatrick WilliamsSECTION = "devel"
6*73bd93f1SPatrick WilliamsLICENSE = "BSD-3-Clause"
7*73bd93f1SPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
8*73bd93f1SPatrick Williams
9*73bd93f1SPatrick WilliamsDEPENDS = "expat zlib zstd"
10*73bd93f1SPatrick Williams
11*73bd93f1SPatrick WilliamsSRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \
12*73bd93f1SPatrick Williams           file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \
13*73bd93f1SPatrick Williams"
14*73bd93f1SPatrick Williams
15*73bd93f1SPatrick WilliamsSRCREV = "c8dbb3a77c86600ce09d4f80a504cf4e78a3c359"
16*73bd93f1SPatrick Williams
17*73bd93f1SPatrick WilliamsUPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
18*73bd93f1SPatrick Williams
19*73bd93f1SPatrick WilliamsS = "${WORKDIR}/git"
20*73bd93f1SPatrick Williams
21*73bd93f1SPatrick Williamsinherit cmake
22*73bd93f1SPatrick Williams
23*73bd93f1SPatrick WilliamsPACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
24*73bd93f1SPatrick WilliamsPACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
25*73bd93f1SPatrick Williams
26*73bd93f1SPatrick WilliamsEXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON -DENABLE_ZSTD_COMPRESSION=ON"
27*73bd93f1SPatrick Williams
28*73bd93f1SPatrick WilliamsPACKAGES =+ "${PN}-tools ${PN}ext"
29*73bd93f1SPatrick Williams
30*73bd93f1SPatrick WilliamsFILES:${PN}-tools = "${bindir}/*"
31*73bd93f1SPatrick WilliamsFILES:${PN}ext = "${libdir}/${PN}ext.so.*"
32*73bd93f1SPatrick Williams
33*73bd93f1SPatrick WilliamsBBCLASSEXTEND = "native nativesdk"
34