1 |
commit: 1a5bce1a358c99a9c57df8b3ada2f19b3c67335e |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 9 17:34:38 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 9 17:43:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=1a5bce1a |
7 |
|
8 |
gnome-extra/gnome-boxes: 3.28.5 → 3.30.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Manifest-Sign-Key: 0x5A56C8CD0C13248A |
12 |
Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org> |
13 |
|
14 |
gnome-extra/gnome-boxes/gnome-boxes-3.30.3.ebuild | 106 ++++++++++++++++++++++ |
15 |
1 file changed, 106 insertions(+) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.30.3.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.30.3.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000..91ae4e3a |
20 |
--- /dev/null |
21 |
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.30.3.ebuild |
22 |
@@ -0,0 +1,106 @@ |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+VALA_USE_DEPEND="vapigen" |
28 |
+VALA_MIN_API_VERSION="0.36" |
29 |
+ |
30 |
+inherit gnome.org gnome2-utils linux-info meson readme.gentoo-r1 vala xdg |
31 |
+ |
32 |
+DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems" |
33 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Boxes" |
34 |
+ |
35 |
+LICENSE="LGPL-2" |
36 |
+SLOT="0" |
37 |
+IUSE="rdp" |
38 |
+ |
39 |
+KEYWORDS="~amd64" |
40 |
+ |
41 |
+# NOTE: sys-fs/* stuff is called via exec() |
42 |
+# FIXME: ovirt is not available in tree |
43 |
+# FIXME: qemu probably needs to depend on spice[smartcard] |
44 |
+# directly with USE=spice |
45 |
+# gtk-vnc raised due to missing vala bindings in earlier ebuilds |
46 |
+COMMON_DEPEND=" |
47 |
+ >=app-arch/libarchive-3:= |
48 |
+ >=dev-libs/glib-2.52:2 |
49 |
+ >=x11-libs/gtk+-3.22.20:3 |
50 |
+ >=net-libs/gtk-vnc-0.8.0-r1[gtk3(+),vala] |
51 |
+ >=sys-libs/libosinfo-1.1.0[vala] |
52 |
+ app-crypt/libsecret[vala] |
53 |
+ >=net-libs/libsoup-2.44:2.4 |
54 |
+ virtual/libusb:1 |
55 |
+ >=app-emulation/libvirt-glib-0.2.3[vala] |
56 |
+ >=dev-libs/libxml2-2.7.8:2 |
57 |
+ >=net-misc/spice-gtk-0.32[gtk3(+),smartcard,usbredir,vala] |
58 |
+ >=app-misc/tracker-2:0= |
59 |
+ net-libs/webkit-gtk:4 |
60 |
+ >=virtual/libgudev-165:= |
61 |
+ >=dev-libs/gobject-introspection-1:= |
62 |
+ rdp? ( net-misc/freerdp ) |
63 |
+" |
64 |
+DEPEND="${COMMON_DEPEND} |
65 |
+ $(vala_depend) |
66 |
+ dev-util/itstool |
67 |
+ >=sys-devel/gettext-0.19.8 |
68 |
+ virtual/pkgconfig |
69 |
+ |
70 |
+ >=dev-util/meson-0.47.0 |
71 |
+" |
72 |
+RDEPEND="${COMMON_DEPEND} |
73 |
+ >=app-misc/tracker-miners-2[iso] |
74 |
+ app-emulation/spice[smartcard] |
75 |
+ >=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
76 |
+ >=app-emulation/qemu-1.3.1[spice,smartcard,usbredir] |
77 |
+ sys-fs/mtools |
78 |
+" |
79 |
+ |
80 |
+DISABLE_AUTOFORMATTING="yes" |
81 |
+DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM modules. |
82 |
+If you have an Intel Processor, run: |
83 |
+# modprobe kvm-intel |
84 |
+ |
85 |
+If you have an AMD Processor, run: |
86 |
+# modprobe kvm-amd" |
87 |
+ |
88 |
+pkg_pretend() { |
89 |
+ linux-info_get_any_version |
90 |
+ |
91 |
+ if linux_config_exists; then |
92 |
+ if ! { linux_chkconfig_present KVM_AMD || \ |
93 |
+ linux_chkconfig_present KVM_INTEL; }; then |
94 |
+ ewarn "You need KVM support in your kernel to use GNOME Boxes!" |
95 |
+ fi |
96 |
+ fi |
97 |
+} |
98 |
+ |
99 |
+src_prepare() { |
100 |
+ vala_src_prepare |
101 |
+ xdg_src_prepare |
102 |
+} |
103 |
+ |
104 |
+src_configure() { |
105 |
+ local emesonargs=( |
106 |
+ $(meson_use rdp) |
107 |
+ -Dovirt=false |
108 |
+ ) |
109 |
+ meson_src_configure |
110 |
+} |
111 |
+ |
112 |
+src_install() { |
113 |
+ meson_src_install |
114 |
+ readme.gentoo_create_doc |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ xdg_pkg_postinst |
119 |
+ gnome2_schemas_update |
120 |
+ gnome2_icon_cache_update |
121 |
+ readme.gentoo_print_elog |
122 |
+} |
123 |
+ |
124 |
+pkg_postrm() { |
125 |
+ xdg_pkg_postrm |
126 |
+ gnome2_schemas_update |
127 |
+ gnome2_icon_cache_update |
128 |
+} |