From 37f4f1a5b0b2633f846422b6498dc59b3ddce293 Mon Sep 17 00:00:00 2001 From: sklv Date: Thu, 15 Jul 2021 22:46:07 +0000 Subject: app-emulation/virt-viewer: Add ebuild for virt-viewer-10.0. Signed-off-by: Alex Sokolov Signed-off-by: Joonas Niilola Closes: https://github.com/gentoo/gentoo/pull/21666 --- app-emulation/virt-viewer/virt-viewer-10.0.ebuild | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app-emulation/virt-viewer/virt-viewer-10.0.ebuild (limited to 'app-emulation/virt-viewer/virt-viewer-10.0.ebuild') 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 +} -- cgit v1.2.3-65-gdbad