mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 15:28:58 -04:00
sys-apps/dnf5: add 5.2.11.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
06b267b5d8
commit
aec4ad76b0
@ -1 +1,2 @@
|
|||||||
DIST dnf5-5.2.10.0.tar.gz 1684363 BLAKE2B bcdac38c8a9dcf31673b44b7aff89e4c638e25508830b62e65d752eb54349e553f0fef2b613e678dfb058a892845f80ae38e9f49ed0ebb248599a3fa35f45ed6 SHA512 968d974c4da4fc5f6d19696dc679cdee0031cdacc46b1a25567c21617c30ef1808ff9b2f52d5abfcfe88a3feab2d28d1cc38b4507501c19d6a029f4fc18c23c4
|
DIST dnf5-5.2.10.0.tar.gz 1684363 BLAKE2B bcdac38c8a9dcf31673b44b7aff89e4c638e25508830b62e65d752eb54349e553f0fef2b613e678dfb058a892845f80ae38e9f49ed0ebb248599a3fa35f45ed6 SHA512 968d974c4da4fc5f6d19696dc679cdee0031cdacc46b1a25567c21617c30ef1808ff9b2f52d5abfcfe88a3feab2d28d1cc38b4507501c19d6a029f4fc18c23c4
|
||||||
|
DIST dnf5-5.2.11.0.tar.gz 1729306 BLAKE2B fd089677d313991b325c5e8286ab5f14e5a9835775fd9e6d8b1c9d3767c9f7602c18c62c425eb7d0469072fcb9ae2f1c4eec4459e4d8d531bf1a7176ec818e5d SHA512 be97cbead8f083916bfe6b38abc980aabb4ba3534aef836334b901194679b47ba38c122109b880e4d1c07db189896226c0be83c985e07a0c5443c475b9f6c8cf
|
||||||
|
79
sys-apps/dnf5/dnf5-5.2.11.0.ebuild
Normal file
79
sys-apps/dnf5/dnf5-5.2.11.0.ebuild
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# Copyright 2024-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Command-line package manager"
|
||||||
|
HOMEPAGE="https://github.com/rpm-software-management/dnf5"
|
||||||
|
SRC_URI="https://github.com/rpm-software-management/dnf5/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="appstream nls systemd test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-arch/rpm-4.17.0
|
||||||
|
dev-cpp/sdbus-c++:0/2
|
||||||
|
dev-cpp/toml11
|
||||||
|
>=dev-db/sqlite-3.35.0:3
|
||||||
|
>=dev-libs/glib-2.46.0:2
|
||||||
|
dev-libs/json-c:=
|
||||||
|
dev-libs/libfmt:=
|
||||||
|
>=dev-libs/librepo-1.17.1
|
||||||
|
>=dev-libs/libsolv-0.7.25
|
||||||
|
dev-libs/libxml2
|
||||||
|
sys-apps/util-linux
|
||||||
|
>=sys-libs/libmodulemd-2.11.2
|
||||||
|
sys-libs/zlib
|
||||||
|
appstream? ( >=dev-libs/appstream-0.16:= )
|
||||||
|
systemd? ( sys-apps/systemd:= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/sphinx
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? (
|
||||||
|
app-arch/rpm
|
||||||
|
app-arch/createrepo_c
|
||||||
|
dev-util/cppunit
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Prevent test suite from writing to system files.
|
||||||
|
"${FILESDIR}/${PN}-5.2.5.0-sandbox-test.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
# Replace hardcoded TMPDIR.
|
||||||
|
sed -i "s|/tmp/|${T}/|" test/libdnf5/utils/test_fs.cpp || die
|
||||||
|
# remove -Werror{,=unused-result}; bug 936870
|
||||||
|
sed -i 's/-Werror[^[:space:])]*//' CMakeLists.txt || die
|
||||||
|
# breathe is only needed for api doc
|
||||||
|
sed -i "/'breathe',/d" doc/conf.py.in || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DWITH_HTML=OFF
|
||||||
|
-DWITH_PERL5=OFF
|
||||||
|
-DWITH_PYTHON3=OFF
|
||||||
|
-DWITH_RUBY=OFF
|
||||||
|
-DWITH_ZCHUNK=OFF
|
||||||
|
-DWITH_PLUGIN_APPSTREAM=$(usex appstream)
|
||||||
|
-DWITH_SYSTEMD=$(usex systemd)
|
||||||
|
-DWITH_TESTS=$(usex test)
|
||||||
|
-DWITH_TRANSLATIONS=$(usex nls)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake_src_compile
|
||||||
|
cmake_src_compile doc-man
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user