Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-viewer/
Date: Thu, 02 Sep 2021 06:53:28
Message-Id: 1630565586.cfcd1191235edcaa3ce7db824c7f652dc7450704.juippis@gentoo
1 commit: cfcd1191235edcaa3ce7db824c7f652dc7450704
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Mon Aug 23 10:39:00 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 2 06:53:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfcd1191
7
8 app-emulation/virt-viewer: fix second display problem
9
10 update to fix upstream issue
11 https://gitlab.com/virt-viewer/virt-viewer/-/issues/46
12
13 Closes: https://bugs.gentoo.org/809809
14 Package-Manager: Portage-3.0.20, Repoman-3.0.3
15 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
16 Closes: https://github.com/gentoo/gentoo/pull/22077
17 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
18
19 app-emulation/virt-viewer/Manifest | 1 +
20 .../virt-viewer/virt-viewer-10.0_p20210730.ebuild | 48 ++++++++++++++++++++++
21 2 files changed, 49 insertions(+)
22
23 diff --git a/app-emulation/virt-viewer/Manifest b/app-emulation/virt-viewer/Manifest
24 index 3953af27c29..e981a65df9b 100644
25 --- a/app-emulation/virt-viewer/Manifest
26 +++ b/app-emulation/virt-viewer/Manifest
27 @@ -1,4 +1,5 @@
28 DIST virt-viewer-10.0.tar.xz 256372 BLAKE2B 3368164c2f770f8aa963e0fb93e713249b05d31600747b68197864a40bf6fdb221ad44abb8ea5465706543241bd5898353cadf2a3e0917455383283722fdfd4f SHA512 82ed552337c3d71d762aed14e6fb20a123448fd5cf8c51f8f942ddd226ee2a4fa3ab8b9b893bbdde16628fb03363f2455e1d895074237d40ff567d642d216fd3
29 +DIST virt-viewer-10.0_p20210730.tar.bz2 271223 BLAKE2B d66e915eccdea6eadc7d93309c66d648828da65e76e4884bd2a98a645db328296d0013955fe94df45bac5d21079230218de7e09909d29f63568d2fc32b4fe762 SHA512 58d49eb67e1bbeb73fd7672871348911ef8eaab95b0f90dd3ae2564cc2321d620eec703fe8520748a96c80429ecbdcd13ba4a7c31b249fd347a935c9b9c02531
30 DIST virt-viewer-7.0.tar.gz 924475 BLAKE2B 003efaf88445ec6f523e678459ed1e11562d0cd87fb4811105df9ac1e3129f4a97170c5b783f1d504d157055ae51ac8dc23ffa8f3f79dd6cd55707d962e1d9ad SHA512 e0558c9138877f546add6a3df9721e100cadb6953815be82b2376b0521b82cf14052bdc29c42bb03b198b6e9d129a55d33531a153207d7f29b5c1c3402ebc904
31 DIST virt-viewer-8.0.tar.gz 937457 BLAKE2B 107a5f77d0e272665561e22c950416275c939d000fbb522401a954e6836bbd9e9399e768bc4363a1ea3110dd3229fe33738560563271774c3054278b2399cab8 SHA512 73317048949b6c49c28aab4685e3fb6533945b12c47078b522429b3e178423fcec5758c970d5048c8f65fee2b92a629b7e067cffa79c968292c73fd36133b918
32 DIST virt-viewer-9.0.tar.gz 1176991 BLAKE2B bc4df73575195888b769dddd8de5c0eda9daa257902f3f3ce8099f9096d0cd9be28547c8671decb70e83e5f0de71633793886bfe78bd9ab5f360dc9759afcc5b SHA512 a5901d76c3e144fa3d6e640de93ed7f1e7cbeb075c04cdbe4a8c9c09bce96104ea552484df5e84c7a69af8dddd1177123ddb81b2dac775a98ac312f3102daae2
33
34 diff --git a/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild b/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild
35 new file mode 100644
36 index 00000000000..a917472835a
37 --- /dev/null
38 +++ b/app-emulation/virt-viewer/virt-viewer-10.0_p20210730.ebuild
39 @@ -0,0 +1,48 @@
40 +# Copyright 1999-2021 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=7
44 +
45 +inherit meson xdg
46 +
47 +DESCRIPTION="Graphical console client for connecting to virtual machines"
48 +HOMEPAGE="https://virt-manager.org/"
49 +GIT_HASH="f0cc7103becccbce95bdf0c80151178af2bace5a"
50 +SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${GIT_HASH}/${PN}-${GIT_HASH}.tar.bz2 -> ${P}.tar.bz2"
51 +S="${WORKDIR}/${PN}-${GIT_HASH}"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~x86"
56 +IUSE="+libvirt sasl +spice +vnc"
57 +
58 +RDEPEND=">=dev-libs/libxml2-2.6
59 + x11-libs/gtk+:3
60 + libvirt? (
61 + >=app-emulation/libvirt-0.10.0[sasl?]
62 + app-emulation/libvirt-glib
63 + )
64 + spice? ( >=net-misc/spice-gtk-0.35[sasl?,gtk3] )
65 + vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3(+)] )"
66 +DEPEND="${RDEPEND}
67 + dev-lang/perl
68 + >=dev-util/intltool-0.35.0
69 + virtual/pkgconfig
70 + spice? ( >=app-emulation/spice-protocol-0.12.10 )"
71 +
72 +REQUIRED_USE="|| ( spice vnc )"
73 +
74 +src_configure() {
75 + local emesonargs=(
76 + $(meson_feature libvirt libvirt)
77 + $(meson_feature vnc vnc)
78 + $(meson_feature spice spice)
79 + )
80 + meson_src_configure
81 +}
82 +
83 +pkg_postinst() {
84 + xdg_desktop_database_update
85 + xdg_icon_cache_update
86 + xdg_mimeinfo_database_update
87 +}