googlecode.eclass: clean unused eclass
[gentoo-zh.git] / sys-libs / libsolv / libsolv-0.7.24.ebuild
blob5d805fd05475d1f3cb3657f72c96d97a85251b6d
1 # Copyright 2017-2023 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 else
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/"
19 LICENSE="GPL-2"
20 SLOT="0"
21 IUSE=""
22 RDEPEND="
23 app-arch/zchunk
25 DEPEND="
26 app-arch/rpm
27 dev-lang/ruby
28 dev-lang/tk
29 dev-lang/swig
31 BDEPEND="${DEPEND}"
33 src_configure(){
34 mycmakeargs=(
35 -DCMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
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_COMPLEX_DEPS=1
45 -DENABLE_RPMDB_BYRPMHEADER=ON
46 -DENABLE_RPMDB_LIBRPM=ON
47 -DENABLE_RPMDB_BDB=ON
48 -DENABLE_RPMPKG_LIBRPM=ON
49 -DENABLE_RPMMD=ON
50 -DENABLE_SUSEREPO=ON
51 -DENABLE_COMPS=ON
52 -DENABLE_HAIKU=OFF
53 -DENABLE_HELIXREPO=ON
54 -DENABLE_DEBIAN=ON
55 -DENABLE_MDKREPO=ON
56 -DENABLE_ARCHREPO=ON
57 -DENABLE_CUDFREPO=ON
58 -DENABLE_CONDA=ON
59 -DENABLE_APPDATA=ON
60 -DMULTI_SEMANTICS=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
66 -DWITH_LIBXML2=ON
68 cmake_src_configure