summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsklv <sklv@gentoo-dev1>2021-07-15 22:46:07 +0000
committerJoonas Niilola <juippis@gentoo.org>2021-07-19 10:46:55 +0300
commit37f4f1a5b0b2633f846422b6498dc59b3ddce293 (patch)
tree73bde29466d179035b70e4c346d9c80a2f284d1e /app-emulation/virt-viewer
parentdev-python/markups: Remove myself (and p.m.) as maintainer (diff)
downloadgentoo-37f4f1a5b0b2633f846422b6498dc59b3ddce293.tar.gz
gentoo-37f4f1a5b0b2633f846422b6498dc59b3ddce293.tar.bz2
gentoo-37f4f1a5b0b2633f846422b6498dc59b3ddce293.zip
app-emulation/virt-viewer: Add ebuild for virt-viewer-10.0.
Signed-off-by: Alex Sokolov <sklv_gentoo@protonmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21666
Diffstat (limited to 'app-emulation/virt-viewer')
-rw-r--r--app-emulation/virt-viewer/Manifest1
-rw-r--r--app-emulation/virt-viewer/virt-viewer-10.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/virt-viewer/Manifest b/app-emulation/virt-viewer/Manifest
index ef6781ba6874..3953af27c297 100644
--- a/app-emulation/virt-viewer/Manifest
+++ b/app-emulation/virt-viewer/Manifest
@@ -1,3 +1,4 @@
+DIST virt-viewer-10.0.tar.xz 256372 BLAKE2B 3368164c2f770f8aa963e0fb93e713249b05d31600747b68197864a40bf6fdb221ad44abb8ea5465706543241bd5898353cadf2a3e0917455383283722fdfd4f SHA512 82ed552337c3d71d762aed14e6fb20a123448fd5cf8c51f8f942ddd226ee2a4fa3ab8b9b893bbdde16628fb03363f2455e1d895074237d40ff567d642d216fd3
DIST virt-viewer-7.0.tar.gz 924475 BLAKE2B 003efaf88445ec6f523e678459ed1e11562d0cd87fb4811105df9ac1e3129f4a97170c5b783f1d504d157055ae51ac8dc23ffa8f3f79dd6cd55707d962e1d9ad SHA512 e0558c9138877f546add6a3df9721e100cadb6953815be82b2376b0521b82cf14052bdc29c42bb03b198b6e9d129a55d33531a153207d7f29b5c1c3402ebc904
DIST virt-viewer-8.0.tar.gz 937457 BLAKE2B 107a5f77d0e272665561e22c950416275c939d000fbb522401a954e6836bbd9e9399e768bc4363a1ea3110dd3229fe33738560563271774c3054278b2399cab8 SHA512 73317048949b6c49c28aab4685e3fb6533945b12c47078b522429b3e178423fcec5758c970d5048c8f65fee2b92a629b7e067cffa79c968292c73fd36133b918
DIST virt-viewer-9.0.tar.gz 1176991 BLAKE2B bc4df73575195888b769dddd8de5c0eda9daa257902f3f3ce8099f9096d0cd9be28547c8671decb70e83e5f0de71633793886bfe78bd9ab5f360dc9759afcc5b SHA512 a5901d76c3e144fa3d6e640de93ed7f1e7cbeb075c04cdbe4a8c9c09bce96104ea552484df5e84c7a69af8dddd1177123ddb81b2dac775a98ac312f3102daae2
diff --git a/app-emulation/virt-viewer/virt-viewer-10.0.ebuild b/app-emulation/virt-viewer/virt-viewer-10.0.ebuild
new file mode 100644
index 000000000000..f6be72fe3118
--- /dev/null
+++ b/app-emulation/virt-viewer/virt-viewer-10.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson xdg
+
+DESCRIPTION="Graphical console client for connecting to virtual machines"
+HOMEPAGE="https://virt-manager.org/"
+SRC_URI="https://virt-manager.org/download/sources/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+libvirt sasl +spice +vnc"
+
+RDEPEND=">=dev-libs/libxml2-2.6
+ x11-libs/gtk+:3
+ libvirt? (
+ >=app-emulation/libvirt-0.10.0[sasl?]
+ app-emulation/libvirt-glib
+ )
+ spice? ( >=net-misc/spice-gtk-0.35[sasl?,gtk3] )
+ vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3(+)] )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ >=dev-util/intltool-0.35.0
+ virtual/pkgconfig
+ spice? ( >=app-emulation/spice-protocol-0.12.10 )"
+
+REQUIRED_USE="|| ( spice vnc )"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature libvirt libvirt)
+ $(meson_feature vnc vnc)
+ $(meson_feature spice spice)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}