1 |
commit: f702a0621749d2f04b89f75d148f8d8148e3da58 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 03:41:15 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 03:54:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f702a062 |
7 |
|
8 |
gnome-extra/gnome-boxes: Version bump to 42.0.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
gnome-extra/gnome-boxes/Manifest | 1 + |
13 |
gnome-extra/gnome-boxes/gnome-boxes-42.0.1.ebuild | 129 ++++++++++++++++++++++ |
14 |
2 files changed, 130 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/gnome-boxes/Manifest b/gnome-extra/gnome-boxes/Manifest |
17 |
index 6b785f639fdf..c036acbbb723 100644 |
18 |
--- a/gnome-extra/gnome-boxes/Manifest |
19 |
+++ b/gnome-extra/gnome-boxes/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gnome-boxes-41.3.tar.xz 1614656 BLAKE2B 1d2a53ba833cdf130f1b2a350871344b0fd4c3f223e069d707e8279748a2fbd21e0d618d0cb229bb3bcfaa84e41d32da763df1d84efd7b749d890f28aceae904 SHA512 6aa8daf03898b7ec28397897b054e220bf2eabb7acbf4ea4dab7035bbe24e44c8a75e488c788f2b8cc56d6e72785651574cffa84cc1a06e5c9c7e0772839bfe7 |
22 |
+DIST gnome-boxes-42.0.1.tar.xz 1231252 BLAKE2B e80503c1a2dbc4a4990ff8fb477f7e72fe1a880412a91d42fffd93c68226c91d254daf28301d816e3555f8a88c9b3f27b35df406bde7483a4a8e98dd3e83e756 SHA512 74968525943ff1a695f2d0cbcd3b9066f2b8c87d6b3b7dea5dab2911600fb09c961ee547a759eed2a23636c7b242a86b56e5ee579dc01e9e9c9caac67a845b03 |
23 |
|
24 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-42.0.1.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-42.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..52f6b07c7db3 |
27 |
--- /dev/null |
28 |
+++ b/gnome-extra/gnome-boxes/gnome-boxes-42.0.1.ebuild |
29 |
@@ -0,0 +1,129 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+VALA_MIN_API_VERSION="0.40" |
35 |
+ |
36 |
+inherit gnome.org gnome2-utils linux-info meson readme.gentoo-r1 vala xdg |
37 |
+ |
38 |
+DESCRIPTION="Simple GNOME application to access remote or virtual systems" |
39 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Boxes" |
40 |
+ |
41 |
+LICENSE="LGPL-2+ CC-BY-2.0" |
42 |
+SLOT="0" |
43 |
+ |
44 |
+IUSE="rdp" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+# FIXME: qemu probably needs to depend on spice[smartcard] directly with USE=spice |
48 |
+# FIXME: Check over libvirt USE=libvirtd,qemu and the smartcard/usbredir requirements |
49 |
+# Technically vala itself still ships a libsoup vapi, but that may change, and it should be better to use the .vapi from the same libsoup version |
50 |
+# gtk-vnc raised due to missing vala bindings in earlier ebuilds |
51 |
+DEPEND=" |
52 |
+ >=app-arch/libarchive-3.0.0:= |
53 |
+ >=dev-libs/glib-2.52:2 |
54 |
+ >=x11-libs/gtk+-3.24.1:3 |
55 |
+ >=net-libs/gtk-vnc-0.8.0-r1[gtk3(+)] |
56 |
+ >=gui-libs/libhandy-1.5.0:1= |
57 |
+ >=sys-libs/libosinfo-1.7.0 |
58 |
+ app-crypt/libsecret |
59 |
+ >=net-libs/libsoup-2.44:2.4 |
60 |
+ virtual/libusb:1 |
61 |
+ >=app-emulation/libvirt-glib-4.0.0 |
62 |
+ >=dev-libs/libxml2-2.7.8:2 |
63 |
+ >=net-misc/spice-gtk-0.32[gtk3(+),smartcard,usbredir] |
64 |
+ app-misc/tracker:3 |
65 |
+ >=net-libs/webkit-gtk-2.26.0:4 |
66 |
+ |
67 |
+ >=dev-libs/gobject-introspection-1.56:= |
68 |
+ >=dev-libs/libgudev-165:= |
69 |
+ rdp? ( >=net-misc/freerdp-2.0.0:= ) |
70 |
+" # gobject-introspection needed for libovf subproject (and gtk-frdp subproject with USE=rdp) |
71 |
+# These are called via exec(): |
72 |
+# sys-fs/mtools mcopy for unattended file copying for files that libarchive doesn't support |
73 |
+# app-cdr/cdrtools mkisofs is needed for unattended installer secondary disk image creation |
74 |
+# app-emulation/libguestfs virt-sysprep is used for VM cloing, if not there, it logs debug and doesn't function |
75 |
+# sys-apps/policycoreutils restorecon is used for checking selinux context |
76 |
+# app-emulation/libvirt virsh used for various checks (and we need the library anyways) |
77 |
+# sys-auth/polkit used for making all libvirt system disks readable via "pkexec chmod a+r" that aren't already readable to the user (libvirt system importer) |
78 |
+# app-emulation/qemu qemu-img used to convert image to QCOW2 format during copy |
79 |
+RDEPEND="${DEPEND} |
80 |
+ app-cdr/cdrtools |
81 |
+ app-misc/tracker-miners:3[iso] |
82 |
+ app-emulation/spice[smartcard] |
83 |
+ >=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
84 |
+ >=app-emulation/qemu-1.3.1[spice,smartcard,usbredir] |
85 |
+ sys-fs/mtools |
86 |
+ sys-auth/polkit |
87 |
+" |
88 |
+# gtk-frdp generates gir and needs gtk+ introspection for it |
89 |
+# This is only needed for creating the .vapi file, but gnome-boxes needs it |
90 |
+BDEPEND=" |
91 |
+ $(vala_depend) |
92 |
+ net-libs/gtk-vnc[vala] |
93 |
+ sys-libs/libosinfo[vala] |
94 |
+ app-crypt/libsecret[vala] |
95 |
+ net-libs/libsoup:2.4[vala] |
96 |
+ app-emulation/libvirt-glib[vala] |
97 |
+ net-misc/spice-gtk[vala] |
98 |
+ x11-libs/vte:2.91[vala] |
99 |
+ dev-libs/appstream-glib |
100 |
+ rdp? ( x11-libs/gtk+:3[introspection] ) |
101 |
+ dev-util/itstool |
102 |
+ >=sys-devel/gettext-0.19.8 |
103 |
+ virtual/pkgconfig |
104 |
+" |
105 |
+ |
106 |
+DISABLE_AUTOFORMATTING="yes" |
107 |
+DOC_CONTENTS="Before running gnome-boxes for local VMs, you will need to load the KVM modules. |
108 |
+If you have an Intel Processor, run: |
109 |
+# modprobe kvm-intel |
110 |
+ |
111 |
+If you have an AMD Processor, run: |
112 |
+# modprobe kvm-amd" |
113 |
+ |
114 |
+pkg_pretend() { |
115 |
+ linux-info_get_any_version |
116 |
+ |
117 |
+ if linux_config_exists; then |
118 |
+ if ! { linux_chkconfig_present KVM_AMD || \ |
119 |
+ linux_chkconfig_present KVM_INTEL; }; then |
120 |
+ ewarn "You need KVM support in your kernel to use GNOME Boxes local VM support!" |
121 |
+ fi |
122 |
+ fi |
123 |
+} |
124 |
+ |
125 |
+src_prepare() { |
126 |
+ default |
127 |
+ vala_setup |
128 |
+ xdg_environment_reset |
129 |
+} |
130 |
+ |
131 |
+src_configure() { |
132 |
+ local emesonargs=( |
133 |
+ -Ddistributor_name=Gentoo |
134 |
+ -Ddistributor_version=${PVR} |
135 |
+ $(meson_use rdp) |
136 |
+ -Dinstalled_tests=false |
137 |
+ -Dflatpak=false |
138 |
+ -Dprofile=default |
139 |
+ -Duefi=true |
140 |
+ ) |
141 |
+ meson_src_configure |
142 |
+} |
143 |
+ |
144 |
+src_install() { |
145 |
+ meson_src_install |
146 |
+ readme.gentoo_create_doc |
147 |
+} |
148 |
+ |
149 |
+pkg_postinst() { |
150 |
+ xdg_pkg_postinst |
151 |
+ gnome2_schemas_update |
152 |
+ readme.gentoo_print_elog |
153 |
+} |
154 |
+ |
155 |
+pkg_postrm() { |
156 |
+ xdg_pkg_postrm |
157 |
+ gnome2_schemas_update |
158 |
+} |