summaryrefslogtreecommitdiff
path: root/app-emulation/virt-manager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-30 02:06:22 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-30 02:06:22 +0000
commit080d89feff80cae2fc974ff2f24d463141c20635 (patch)
tree53d0a66fabd88f847940192be8163c5f3291d434 /app-emulation/virt-manager
parent2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (diff)
gentoo auto-resync : 30:11:2024 - 02:06:22
Diffstat (limited to 'app-emulation/virt-manager')
-rw-r--r--app-emulation/virt-manager/Manifest4
-rw-r--r--app-emulation/virt-manager/virt-manager-5.0.0.ebuild90
-rw-r--r--app-emulation/virt-manager/virt-manager-9999.ebuild2
3 files changed, 94 insertions, 2 deletions
diff --git a/app-emulation/virt-manager/Manifest b/app-emulation/virt-manager/Manifest
index 9f13b2535d59..c33d3dbda1fe 100644
--- a/app-emulation/virt-manager/Manifest
+++ b/app-emulation/virt-manager/Manifest
@@ -1,4 +1,6 @@
DIST virt-manager-4.1.0.tar.gz 3151412 BLAKE2B 1b4203be81bd7b82251225d691a4d9068f268e610f049bcadb96de5b539e964ca0b001f22f06ddd8266b58b079f60046f6d11942a1e4eadbc43f0607c46bbddd SHA512 725cb5bcbaebaafae417f95deffb4243ccdad769668cba6e1235f4607e2b29dbd099d2a9a3885981158f53ea854dd71cc29ed9d7557b2791161c13d34f2ef883
+DIST virt-manager-5.0.0.tar.xz 1466724 BLAKE2B b8b93587b1e1cdb398f33e4820aeaa9c1aecfbe26cd54597830fcbc009a51e70b0dd10b947b9392a1d3fdc5b28c19573a1d417b5748c38658b6e03725023bcfb SHA512 d0cb7eb844fc98ad29413717e5fa5834bc6f9f6cb6b9339b59c2721bb37a58f71280e3d2a04a64a6021614626329d76c92474f826bb1d9b7a9040b479f20d4e8
EBUILD virt-manager-4.1.0-r1.ebuild 2721 BLAKE2B 2d2a1bde23307ac37f94c7b3a3eac3ee2d1a8cd425fce7cecaac2f79cb8c23aae81fd49f0d212cfcbc480732fba7ceb27211a34be4a336754c5efaf9f07e0997 SHA512 fe21b35ed5b09836a6b74208d14eb436ff1a4354ae1d31d50ea38b5c861c403be7aeb9ae5d05b0b9516c500a32f67372be75db4a4998ca78f57c5f05c0d0724f
-EBUILD virt-manager-9999.ebuild 2602 BLAKE2B d1dd8dc52bcc542a7ebd02eed656199bfa3893d7a287564a1d6d2f2a3f3b29a0ebb56da4b0ea274d6c792dc3a956441fef313732285c60136d1596c668a2162d SHA512 1f0fa7ea8419ead54c2d2f3a4ee0f353ec4c6d1daf0f72f7c871e078c3c5786715e4de51ff8ebba8090006ff11c1380f61551410adf321a3c10506a1e9a91255
+EBUILD virt-manager-5.0.0.ebuild 2602 BLAKE2B d7c3390c19cc8348fd7a64e9331df902ee6ab5857a2557188386b8b9852112767143328a4bea68c31760e064227de3cbf031b22bf8b06a2bee39eb500950f608 SHA512 7b6b86d6d95da9da4027e325642f6bf8e12f5aa07859d4064530babadedd016d181e4f38fef043d3e059ce55d1214435dfbe0341bc8764cb2a6fc55d1cf0d4bb
+EBUILD virt-manager-9999.ebuild 2602 BLAKE2B d7c3390c19cc8348fd7a64e9331df902ee6ab5857a2557188386b8b9852112767143328a4bea68c31760e064227de3cbf031b22bf8b06a2bee39eb500950f608 SHA512 7b6b86d6d95da9da4027e325642f6bf8e12f5aa07859d4064530babadedd016d181e4f38fef043d3e059ce55d1214435dfbe0341bc8764cb2a6fc55d1cf0d4bb
MISC metadata.xml 717 BLAKE2B 931cc0f16850272e3d61e4c3421768bd01fd98891d1049d540c36dfcc1cd3872c158796edf33479005fdf07fe449d251ef55562a832db8827e757202ed1b046e SHA512 e40d93e6febcbb48ea6178986736721a5c45bc92073a9108179fd437bb303ba1b6bf0adb6053e36f877b660c413404ef877aefe4d3ef2ec124d6b6cc808a411d
diff --git a/app-emulation/virt-manager/virt-manager-5.0.0.ebuild b/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
new file mode 100644
index 000000000000..d31e6ccd1906
--- /dev/null
+++ b/app-emulation/virt-manager/virt-manager-5.0.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit gnome2 python-single-r1 optfeature meson
+
+DESCRIPTION="A graphical tool for administering virtual machines"
+HOMEPAGE="https://virt-manager.org https://github.com/virt-manager/virt-manager"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/virt-manager/virt-manager.git"
+ EGIT_BRANCH="main"
+ SRC_URI=""
+ inherit git-r3
+else
+ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gui policykit sasl"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ || ( dev-libs/libisoburn app-cdr/cdrtools )
+ >=app-emulation/libvirt-glib-1.0.0[introspection]
+ >=sys-libs/libosinfo-0.2.10[introspection]
+ $(python_gen_cond_dep '
+ dev-libs/libxml2[python,${PYTHON_USEDEP}]
+ dev-python/argcomplete[${PYTHON_USEDEP}]
+ >=dev-python/libvirt-python-6.10.0[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ ')
+ gui? (
+ gnome-base/dconf
+ >=net-libs/gtk-vnc-0.3.8[gtk3(+),introspection]
+ net-misc/spice-gtk[usbredir,gtk3,introspection,sasl?]
+ sys-apps/dbus[X]
+ x11-libs/gtk+:3[introspection]
+ x11-libs/gtksourceview:4[introspection]
+ x11-libs/vte:2.91[introspection]
+ policykit? ( sys-auth/polkit[introspection] )
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-python/docutils"
+
+DOCS=( README.md NEWS.md )
+
+src_configure() {
+ # While in the past we did allow test suite to run, any errors from
+ # test_cli.py were ignored. Since that's where like 90% of tests actually
+ # lives, just disable tests (and do not drag additional dependencies).
+ local emesonargs=(
+ -Dcompile-schemas=false
+ -Ddefault-graphics=spice
+ -Dtests=disabled
+ -Dupdate-icon-cache=false
+ )
+
+ meson_src_configure
+}
+
+pkg_preinst() {
+ if use gui ; then
+ gnome2_pkg_preinst
+
+ cd "${ED}" || die
+ export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null || die)
+ else
+ rm -r "${ED}/usr/share/virt-manager/ui/" || die
+ rm -r "${ED}/usr/share/virt-manager/icons/" || die
+ rm -r "${ED}/usr/share/icons/" || die
+ rm -r "${ED}/usr/share/applications/virt-manager.desktop" || die
+ rm -r "${ED}/usr/bin/virt-manager" || die
+ fi
+}
+
+pkg_postinst() {
+ use gui && gnome2_pkg_postinst
+
+ optfeature "SSH_ASKPASS program implementation" lxqt-base/lxqt-openssh-askpass net-misc/ssh-askpass-fullscreen net-misc/x11-ssh-askpass
+ optfeature "QEMU host support" app-emulation/qemu[usbredir,spice]
+}
diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild
index 054d03a48f7f..d31e6ccd1906 100644
--- a/app-emulation/virt-manager/virt-manager-9999.ebuild
+++ b/app-emulation/virt-manager/virt-manager-9999.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
SRC_URI=""
inherit git-r3
else
- SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
+ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi