Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 1 | SUMMARY = "Library for solving packages and reading repositories" |
| 2 | DESCRIPTION = "This is libsolv, a free package dependency solver using a satisfiability algorithm for solving packages and reading repositories" |
| 3 | HOMEPAGE = "https://github.com/openSUSE/libsolv" |
| 4 | BUGTRACKER = "https://github.com/openSUSE/libsolv/issues" |
| 5 | SECTION = "devel" |
| 6 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" |
| 8 | |
| 9 | DEPENDS = "expat zlib zstd" |
| 10 | |
| 11 | SRC_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 Williams | da29531 | 2023-12-05 16:48:56 -0600 | [diff] [blame] | 15 | SRCREV = "0caa2edb94ba228003bf18960e4574256e92f8fb" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 16 | |
| 17 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" |
| 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | inherit cmake |
| 22 | |
| 23 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}" |
| 24 | PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" |
| 25 | |
| 26 | EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON -DENABLE_ZSTD_COMPRESSION=ON" |
| 27 | |
| 28 | PACKAGES =+ "${PN}-tools ${PN}ext" |
| 29 | |
| 30 | FILES:${PN}-tools = "${bindir}/*" |
| 31 | FILES:${PN}ext = "${libdir}/${PN}ext.so.*" |
| 32 | |
| 33 | BBCLASSEXTEND = "native nativesdk" |