1 |
commit: 37f4f1a5b0b2633f846422b6498dc59b3ddce293 |
2 |
Author: sklv <sklv <AT> gentoo-dev1> |
3 |
AuthorDate: Thu Jul 15 22:46:07 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 19 07:46:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f4f1a5 |
7 |
|
8 |
app-emulation/virt-viewer: Add ebuild for virt-viewer-10.0. |
9 |
|
10 |
Signed-off-by: Alex Sokolov <sklv_gentoo <AT> protonmail.com> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/21666 |
13 |
|
14 |
app-emulation/virt-viewer/Manifest | 1 + |
15 |
app-emulation/virt-viewer/virt-viewer-10.0.ebuild | 46 +++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/app-emulation/virt-viewer/Manifest b/app-emulation/virt-viewer/Manifest |
19 |
index ef6781ba687..3953af27c29 100644 |
20 |
--- a/app-emulation/virt-viewer/Manifest |
21 |
+++ b/app-emulation/virt-viewer/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
+DIST virt-viewer-10.0.tar.xz 256372 BLAKE2B 3368164c2f770f8aa963e0fb93e713249b05d31600747b68197864a40bf6fdb221ad44abb8ea5465706543241bd5898353cadf2a3e0917455383283722fdfd4f SHA512 82ed552337c3d71d762aed14e6fb20a123448fd5cf8c51f8f942ddd226ee2a4fa3ab8b9b893bbdde16628fb03363f2455e1d895074237d40ff567d642d216fd3 |
24 |
DIST virt-viewer-7.0.tar.gz 924475 BLAKE2B 003efaf88445ec6f523e678459ed1e11562d0cd87fb4811105df9ac1e3129f4a97170c5b783f1d504d157055ae51ac8dc23ffa8f3f79dd6cd55707d962e1d9ad SHA512 e0558c9138877f546add6a3df9721e100cadb6953815be82b2376b0521b82cf14052bdc29c42bb03b198b6e9d129a55d33531a153207d7f29b5c1c3402ebc904 |
25 |
DIST virt-viewer-8.0.tar.gz 937457 BLAKE2B 107a5f77d0e272665561e22c950416275c939d000fbb522401a954e6836bbd9e9399e768bc4363a1ea3110dd3229fe33738560563271774c3054278b2399cab8 SHA512 73317048949b6c49c28aab4685e3fb6533945b12c47078b522429b3e178423fcec5758c970d5048c8f65fee2b92a629b7e067cffa79c968292c73fd36133b918 |
26 |
DIST virt-viewer-9.0.tar.gz 1176991 BLAKE2B bc4df73575195888b769dddd8de5c0eda9daa257902f3f3ce8099f9096d0cd9be28547c8671decb70e83e5f0de71633793886bfe78bd9ab5f360dc9759afcc5b SHA512 a5901d76c3e144fa3d6e640de93ed7f1e7cbeb075c04cdbe4a8c9c09bce96104ea552484df5e84c7a69af8dddd1177123ddb81b2dac775a98ac312f3102daae2 |
27 |
|
28 |
diff --git a/app-emulation/virt-viewer/virt-viewer-10.0.ebuild b/app-emulation/virt-viewer/virt-viewer-10.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..f6be72fe311 |
31 |
--- /dev/null |
32 |
+++ b/app-emulation/virt-viewer/virt-viewer-10.0.ebuild |
33 |
@@ -0,0 +1,46 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit meson xdg |
40 |
+ |
41 |
+DESCRIPTION="Graphical console client for connecting to virtual machines" |
42 |
+HOMEPAGE="https://virt-manager.org/" |
43 |
+SRC_URI="https://virt-manager.org/download/sources/${PN}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="+libvirt sasl +spice +vnc" |
49 |
+ |
50 |
+RDEPEND=">=dev-libs/libxml2-2.6 |
51 |
+ x11-libs/gtk+:3 |
52 |
+ libvirt? ( |
53 |
+ >=app-emulation/libvirt-0.10.0[sasl?] |
54 |
+ app-emulation/libvirt-glib |
55 |
+ ) |
56 |
+ spice? ( >=net-misc/spice-gtk-0.35[sasl?,gtk3] ) |
57 |
+ vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3(+)] )" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ dev-lang/perl |
60 |
+ >=dev-util/intltool-0.35.0 |
61 |
+ virtual/pkgconfig |
62 |
+ spice? ( >=app-emulation/spice-protocol-0.12.10 )" |
63 |
+ |
64 |
+REQUIRED_USE="|| ( spice vnc )" |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local emesonargs=( |
68 |
+ $(meson_feature libvirt libvirt) |
69 |
+ $(meson_feature vnc vnc) |
70 |
+ $(meson_feature spice spice) |
71 |
+ ) |
72 |
+ meson_src_configure |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ xdg_desktop_database_update |
77 |
+ xdg_icon_cache_update |
78 |
+ xdg_mimeinfo_database_update |
79 |
+} |