app-i18n/fcitx5-configtool: bump to 5.0.12
[gentoo-zh.git] / sys-libs / libsolv / libsolv-9999.ebuild
blob164413d066ce25d2308c47e3f45edab71336a175
1 # Copyright 2017-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit cmake
7 if [[ ${PV} == 9999* ]] ; then
8 inherit git-r3
9 EGIT_REPO_URI="https://github.com/openSUSE/libsolv.git"
10 EGIT_CHECKOUT_DIR=${PN}-${PV}
11 KEYWORDS=""
12 else
13 SRC_URI="https://github.com/openSUSE/libsolv/archive/refs/tags/${PV}.tar.gz -> libsolv-${PV}.tar.gz"
14 KEYWORDS="~amd64"
15 S="${WORKDIR}/${PN}-${PV}"
18 DESCRIPTION="Library for solving packages and reading repositories"
19 HOMEPAGE="https://doc.opensuse.org/projects/libzypp/HEAD/"
20 LICENSE="GPL-2"
21 SLOT="0"
22 IUSE=""
23 RDEPEND="
24 app-arch/zchunk
26 DEPEND="
27 app-arch/rpm
28 dev-lang/ruby
29 dev-lang/tk
30 dev-lang/swig
32 BDEPEND="${DEPEND}"
34 src_configure(){
35 mycmakeargs=(
36 -DENABLE_PERL=ON
37 -DENABLE_PYTHON=ON
38 -DENABLE_RUBY=ON
39 -DENABLE_TCL=ON
40 -DUSE_VENDORDIRS=ON
41 -DENABLE_RPMDB=ON
42 -DENABLE_RPMPKG=ON
43 -DENABLE_PUBKEY=ON
44 -DENABLE_RPMDB_BYRPMHEADER=ON
45 -DENABLE_RPMDB_LIBRPM=ON
46 -DENABLE_RPMDB_BDB=ON
47 -DENABLE_RPMPKG_LIBRPM=ON
48 -DENABLE_RPMMD=ON
49 -DENABLE_SUSEREPO=ON
50 -DENABLE_COMPS=ON
51 -DENABLE_HELIXREPO=ON
52 -DENABLE_DEBIAN=ON
53 -DENABLE_MDKREPO=ON
54 -DENABLE_ARCHREPO=ON
55 -DENABLE_CUDFREPO=ON
56 -DENABLE_CONDA=ON
57 -DENABLE_APPDATA=ON
58 -DMULTI_SEMANTICS=ON
59 -DENABLE_LZMA_COMPRESSION=ON
60 -DENABLE_BZIP2_COMPRESSION=ON
61 -DENABLE_ZSTD_COMPRESSION=ON
62 -DENABLE_ZCHUNK_COMPRESSION=ON
63 -DENABLE_COMPLEX_DEPS=ON
64 -DWITH_SYSTEM_ZCHUNK=ON
65 -DWITH_LIBXML2=ON
66 -DMULTI_SEMANTICS=ON
68 cmake_src_configure