1 |
commit: b99ccc5e6df439ca83895ced05527d738a314a3b |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 23 11:30:50 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 23 11:30:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99ccc5e |
7 |
|
8 |
gnome-extra/gnome-boxes: bump to 3.26.4 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/673186 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
13 |
|
14 |
gnome-extra/gnome-boxes/Manifest | 1 + |
15 |
gnome-extra/gnome-boxes/gnome-boxes-3.26.4.ebuild | 106 ++++++++++++++++++++++ |
16 |
2 files changed, 107 insertions(+) |
17 |
|
18 |
diff --git a/gnome-extra/gnome-boxes/Manifest b/gnome-extra/gnome-boxes/Manifest |
19 |
index 2fcee534bcf..ef813bdf02f 100644 |
20 |
--- a/gnome-extra/gnome-boxes/Manifest |
21 |
+++ b/gnome-extra/gnome-boxes/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST gnome-boxes-3.24.1.tar.xz 1710348 BLAKE2B ce90cc1a6baefa45c1a553b059f4fa7ac5c9a6fbd7a2d71377a9c6f38fddb7ac5a110f38d0a65b45cf2ba948ebee6026cc22b5f93a2ba521c9db6cb20bd3dc37 SHA512 a687dd65af91d717862bba0a81d715b64de1092cbb5ffd8a756fe80988c84110127f186007e8cf4011bf23cc0ec0adb346ead72ef47c655f85a7fcb9ed3ec393 |
24 |
+DIST gnome-boxes-3.26.4.tar.xz 1893760 BLAKE2B 91d01f33b2fb03150c0abd75cb58a9a9ecd8deeb14d32502f5766e06c93b4d236f971417e0a26c44e1250afa069966b607912f2dde92fc5058e598eb029ff03b SHA512 f92f09ea6f61d418253b3b4388bc7aac321cbbba853908b3a8e4faca0e04287cc7c3387eefdd2e150bc9dace8ef5ebbbab3dc3b38b26e0e2d010272703fbf6a3 |
25 |
|
26 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.26.4.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-3.26.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bfb069b4f2d |
29 |
--- /dev/null |
30 |
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.26.4.ebuild |
31 |
@@ -0,0 +1,106 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+VALA_USE_DEPEND="vapigen" |
37 |
+VALA_MIN_API_VERSION="0.36" |
38 |
+ |
39 |
+inherit gnome2 linux-info readme.gentoo-r1 vala |
40 |
+ |
41 |
+DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems" |
42 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Boxes" |
43 |
+ |
44 |
+LICENSE="LGPL-2+" |
45 |
+SLOT="0" |
46 |
+ |
47 |
+# We force 'bindist' due to licenses from gnome-boxes-nonfree |
48 |
+IUSE="" #bindist |
49 |
+ |
50 |
+KEYWORDS="~amd64" |
51 |
+ |
52 |
+# NOTE: sys-fs/* stuff is called via exec() |
53 |
+# FIXME: ovirt is not available in tree |
54 |
+# FIXME: use vala.eclass but only because of libgd not being able |
55 |
+# to use its pre-generated files so do not copy all the |
56 |
+# vala deps like live ebuild has. |
57 |
+# FIXME: qemu probably needs to depend on spice[smartcard] |
58 |
+# directly with USE=spice |
59 |
+# tracker-2 is supported, but we don't have the USE=iso replacement in main tree yet to depend on |
60 |
+RDEPEND=" |
61 |
+ >=app-arch/libarchive-3:= |
62 |
+ >=dev-libs/glib-2.52:2 |
63 |
+ >=dev-libs/gobject-introspection-0.9.6:= |
64 |
+ >=dev-libs/libxml2-2.7.8:2 |
65 |
+ >=sys-libs/libosinfo-0.2.12 |
66 |
+ >=app-emulation/qemu-1.3.1[spice,smartcard,usbredir] |
67 |
+ >=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
68 |
+ >=app-emulation/libvirt-glib-0.2.3 |
69 |
+ >=x11-libs/gtk+-3.19.8:3 |
70 |
+ >=net-libs/gtk-vnc-0.4.4[gtk3(+)] |
71 |
+ app-crypt/libsecret |
72 |
+ app-emulation/spice[smartcard] |
73 |
+ >=net-misc/spice-gtk-0.32[gtk3(+),smartcard,usbredir] |
74 |
+ virtual/libusb:1 |
75 |
+ |
76 |
+ app-misc/tracker:0/100[iso] |
77 |
+ |
78 |
+ >=net-libs/libsoup-2.44:2.4 |
79 |
+ |
80 |
+ sys-fs/mtools |
81 |
+ >=virtual/libgudev-165:= |
82 |
+" |
83 |
+# !bindist? ( gnome-extra/gnome-boxes-nonfree ) |
84 |
+ |
85 |
+DEPEND="${RDEPEND} |
86 |
+ $(vala_depend) |
87 |
+ dev-util/itstool |
88 |
+ >=sys-devel/gettext-0.19.8 |
89 |
+ virtual/pkgconfig |
90 |
+" |
91 |
+# eautoreconf needs yelp-tools |
92 |
+ |
93 |
+DISABLE_AUTOFORMATTING="yes" |
94 |
+DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM modules. |
95 |
+If you have an Intel Processor, run: |
96 |
+# modprobe kvm-intel |
97 |
+ |
98 |
+If you have an AMD Processor, run: |
99 |
+# modprobe kvm-amd" |
100 |
+ |
101 |
+pkg_pretend() { |
102 |
+ linux-info_get_any_version |
103 |
+ |
104 |
+ if linux_config_exists; then |
105 |
+ if ! { linux_chkconfig_present KVM_AMD || \ |
106 |
+ linux_chkconfig_present KVM_INTEL; }; then |
107 |
+ ewarn "You need KVM support in your kernel to use GNOME Boxes local support!" |
108 |
+ fi |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+src_prepare() { |
113 |
+ # Do not change CFLAGS, wondering about VALA ones but appears to be |
114 |
+ # needed as noted in configure comments below |
115 |
+ sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure{.ac,} || die |
116 |
+ |
117 |
+ vala_src_prepare |
118 |
+ gnome2_src_prepare |
119 |
+} |
120 |
+ |
121 |
+src_configure() { |
122 |
+ # debug needed for splitdebug proper behavior (cardoe), bug #???? |
123 |
+ gnome2_src_configure \ |
124 |
+ --enable-debug \ |
125 |
+ --disable-strict-cc \ |
126 |
+ --disable-ovirt |
127 |
+} |
128 |
+ |
129 |
+src_install() { |
130 |
+ gnome2_src_install |
131 |
+ readme.gentoo_create_doc |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ gnome2_pkg_postinst |
136 |
+ readme.gentoo_print_elog |
137 |
+} |