1 |
commit: da3aba3913b8e1520e12c7d3330b06a6351257a4 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 9 17:42:47 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=da3aba39 |
7 |
|
8 |
gnome-extra/gnome-boxes: sync live ebuild |
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-9999.ebuild | 101 ++++++++++++------------ |
15 |
1 file changed, 51 insertions(+), 50 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild |
18 |
index 1998516e..26677782 100644 |
19 |
--- a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild |
20 |
+++ b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild |
21 |
@@ -1,13 +1,15 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
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 gnome2 linux-info readme.gentoo-r1 vala |
31 |
+inherit gnome.org gnome2-utils linux-info meson readme.gentoo-r1 vala xdg |
32 |
if [[ ${PV} = 9999 ]]; then |
33 |
- inherit gnome2-live |
34 |
+ inherit git-r3 |
35 |
+ SRC_URI="" |
36 |
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/${GNOME_ORG_MODULE}" |
37 |
fi |
38 |
|
39 |
DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems" |
40 |
@@ -15,7 +17,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Boxes" |
41 |
|
42 |
LICENSE="LGPL-2" |
43 |
SLOT="0" |
44 |
-IUSE="bindist" |
45 |
+IUSE="rdp" |
46 |
if [[ ${PV} = 9999 ]]; then |
47 |
KEYWORDS="" |
48 |
else |
49 |
@@ -24,47 +26,42 @@ fi |
50 |
|
51 |
# NOTE: sys-fs/* stuff is called via exec() |
52 |
# FIXME: ovirt is not available in tree |
53 |
-RDEPEND=" |
54 |
+# FIXME: qemu probably needs to depend on spice[smartcard] |
55 |
+# directly with USE=spice |
56 |
+# gtk-vnc raised due to missing vala bindings in earlier ebuilds |
57 |
+COMMON_DEPEND=" |
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 |
+ >=dev-libs/glib-2.52:2 |
76 |
+ >=x11-libs/gtk+-3.22.20:3 |
77 |
+ >=net-libs/gtk-vnc-0.8.0-r1[gtk3(+),vala] |
78 |
+ >=sys-libs/libosinfo-1.1.0[vala] |
79 |
+ app-crypt/libsecret[vala] |
80 |
>=net-libs/libsoup-2.44:2.4 |
81 |
- |
82 |
- sys-fs/mtools |
83 |
+ virtual/libusb:1 |
84 |
+ >=app-emulation/libvirt-glib-0.2.3[vala] |
85 |
+ >=dev-libs/libxml2-2.7.8:2 |
86 |
+ >=net-misc/spice-gtk-0.32[gtk3(+),smartcard,usbredir,vala] |
87 |
+ >=app-misc/tracker-2:0= |
88 |
+ net-libs/webkit-gtk:4 |
89 |
>=virtual/libgudev-165:= |
90 |
- !bindist? ( gnome-extra/gnome-boxes-nonfree ) |
91 |
+ >=dev-libs/gobject-introspection-1:= |
92 |
+ rdp? ( net-misc/freerdp ) |
93 |
" |
94 |
-# libxml2+gdk-pixbuf required for glib-compile-resources |
95 |
-DEPEND="${RDEPEND} |
96 |
- app-text/yelp-tools |
97 |
+DEPEND="${COMMON_DEPEND} |
98 |
+ $(vala_depend) |
99 |
+ dev-util/itstool |
100 |
>=sys-devel/gettext-0.19.8 |
101 |
virtual/pkgconfig |
102 |
- x11-libs/gdk-pixbuf:2 |
103 |
-" |
104 |
|
105 |
-if [[ ${PV} = 9999 ]]; then |
106 |
- DEPEND="${DEPEND} |
107 |
- $(vala_depend) |
108 |
- sys-libs/libosinfo[introspection,vala] |
109 |
- app-emulation/libvirt-glib[introspection,vala] |
110 |
- net-libs/gtk-vnc[introspection,vala] |
111 |
- net-misc/spice-gtk[introspection,vala] |
112 |
- net-libs/rest:0.7[introspection]" |
113 |
-fi |
114 |
+ >=dev-util/meson-0.47.0 |
115 |
+" |
116 |
+RDEPEND="${COMMON_DEPEND} |
117 |
+ >=app-misc/tracker-miners-2[iso] |
118 |
+ app-emulation/spice[smartcard] |
119 |
+ >=app-emulation/libvirt-0.9.3[libvirtd,qemu] |
120 |
+ >=app-emulation/qemu-1.3.1[spice,smartcard,usbredir] |
121 |
+ sys-fs/mtools |
122 |
+" |
123 |
|
124 |
DISABLE_AUTOFORMATTING="yes" |
125 |
DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM modules. |
126 |
@@ -86,28 +83,32 @@ pkg_pretend() { |
127 |
} |
128 |
|
129 |
src_prepare() { |
130 |
- # Do not change CFLAGS, wondering about VALA ones but appears to be |
131 |
- # needed as noted in configure comments below |
132 |
- sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure.ac || die |
133 |
- |
134 |
vala_src_prepare |
135 |
- gnome2_src_prepare |
136 |
+ xdg_src_prepare |
137 |
} |
138 |
|
139 |
src_configure() { |
140 |
- # debug needed for splitdebug proper behavior (cardoe), bug #???? |
141 |
- gnome2_src_configure \ |
142 |
- --enable-debug \ |
143 |
- --disable-strict-cc \ |
144 |
- --disable-ovirt |
145 |
+ local emesonargs=( |
146 |
+ $(meson_use rdp) |
147 |
+ -Dovirt=false |
148 |
+ ) |
149 |
+ meson_src_configure |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
- gnome2_src_install |
154 |
+ meson_src_install |
155 |
readme.gentoo_create_doc |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
- gnome2_pkg_postinst |
160 |
+ xdg_pkg_postinst |
161 |
+ gnome2_schemas_update |
162 |
+ gnome2_icon_cache_update |
163 |
readme.gentoo_print_elog |
164 |
} |
165 |
+ |
166 |
+pkg_postrm() { |
167 |
+ xdg_pkg_postrm |
168 |
+ gnome2_schemas_update |
169 |
+ gnome2_icon_cache_update |
170 |
+} |