1 # Copyright 2017-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 if [[ ${PV} == 9999* ]] ; then
9 EGIT_REPO_URI
="https://github.com/openSUSE/libsolv.git"
10 EGIT_CHECKOUT_DIR
=${PN}-${PV}
12 SRC_URI
="https://github.com/openSUSE/libsolv/archive/refs/tags/${PV}.tar.gz -> libsolv-${PV}.tar.gz"
13 KEYWORDS
="~amd64 ~riscv"
14 S
="${WORKDIR}/${PN}-${PV}"
17 DESCRIPTION
="Library for solving packages and reading repositories"
18 HOMEPAGE
="https://doc.opensuse.org/projects/libzypp/HEAD/"
35 -DCMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
44 -DENABLE_COMPLEX_DEPS=1
45 -DENABLE_RPMDB_BYRPMHEADER=ON
46 -DENABLE_RPMDB_LIBRPM=ON
48 -DENABLE_RPMPKG_LIBRPM=ON
61 -DENABLE_LZMA_COMPRESSION=ON
62 -DENABLE_BZIP2_COMPRESSION=ON
63 -DENABLE_ZSTD_COMPRESSION=ON
64 -DENABLE_ZCHUNK_COMPRESSION=ON
65 -DWITH_SYSTEM_ZCHUNK=ON