Gentoo Archives: gentoo-commits

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