commit:     9a517db55b7400dfafc0b6361fedb5e8d4e21067
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 08:21:33 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 08:24:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a517db5

gnome-extra/gnome-boxes: bump to 3.22.4

Remove long gone fuseiso deps, NEWS file says it uses iso-read instead since 
3.11.3,
and then in 3.13.90 it dropped that too (probably replaced by new libarchive 
dep).
Add new libsecret dep, this is new since this 3.22.4 bump.

 gnome-extra/gnome-boxes/Manifest                  |   1 +
 gnome-extra/gnome-boxes/gnome-boxes-3.22.4.ebuild | 106 ++++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/gnome-extra/gnome-boxes/Manifest b/gnome-extra/gnome-boxes/Manifest
index 51033941390..93f0d493d6f 100644
--- a/gnome-extra/gnome-boxes/Manifest
+++ b/gnome-extra/gnome-boxes/Manifest
@@ -3,3 +3,4 @@ DIST gnome-boxes-3.20.3.tar.xz 1725304 SHA256 
cd1e86e6bea4752d2d4175c0a70c841d97
 DIST gnome-boxes-3.22.1.tar.xz 1737956 SHA256 
be807d9336e96af6dea8f269a4b6dbbd3e9bb5fd135efc952aa2d62dde87b8ea SHA512 
c5833e2af4977280c00b242a7b6703a5e7c58c59680aba793f3f6ec060676a6a542f29889fa5f48e4ba19792a7594e48d54a00d140b6be4ac3fa641dd6330d12
 WHIRLPOOL 
0b121af5375e9ea58f72c5e9db7eb6852f245ec2406a5751c1f5eee25b1e4aaade5478b8e40f6a418877d428b20a7f33b4e0ffcde4de52548c0988701e711662
 DIST gnome-boxes-3.22.2.tar.xz 1699980 SHA256 
559d79c061bb09e9000c3b06d677a7bd7c8fddf290cf935cd5ed78041261ed9a SHA512 
fc49e4b4f0a9b2099b5a2f134e3e8de9df159cae71b2492d88d88567f4a47c5db657f12f775f5d0ea68148f489222e0262382c11d0315fcd1f9f293ce830b8a3
 WHIRLPOOL 
8158b0b4f74dc840bc8611acd66348843919d10af7e3ece161115980516c45a564fb8933436864e37a194cf120598735ffa7df23e87866ea1a85a96c7a3c1c5a
 DIST gnome-boxes-3.22.3.tar.xz 1742948 SHA256 
90f9909946b67a0eac1322163f6260cea3d6b8a3f78db7c2071773aad1b627aa SHA512 
5eb64b4acaed4f5e69036b3ffdffed6437d48f2b183279bb3af4999545efbc6e346779f517895ea00df2a3be3b8394d9b57cd00496f0645308a8d9cd6a7a2976
 WHIRLPOOL 
f79d78738edc12a57d4ad4184d06cc9de88250a7872e7a7e38a83acd2ed6ac168550970b6d70d97cce361089f1919f16ee5b1d73bfce68df2dec39882fd5d4d4
+DIST gnome-boxes-3.22.4.tar.xz 1704964 SHA256 
585a1c292010ebb479cb60e02621d01d450f84cdad82a61b7ce58a0218e1cff2 SHA512 
98e923c67d116ad5411734415b96ced5cd5f9f2a03335c8b00835a2eae47ea46dfe72f0aa5819d6ac9310cb80b5c6504a9ef7c8e4d8ef4c35495aa8fa74ee848
 WHIRLPOOL 
c2fe23ae0a9b0051c7b117ed6b3965961d4de35e7c251f25a3b37e62e8ef4d9a5278817028598d9cd5ebb06d9218534426c3b4e74efda9f6226b44e1efb1cebc

diff --git a/gnome-extra/gnome-boxes/gnome-boxes-3.22.4.ebuild 
b/gnome-extra/gnome-boxes/gnome-boxes-3.22.4.ebuild
new file mode 100644
index 00000000000..8a40f1bc6e0
--- /dev/null
+++ b/gnome-extra/gnome-boxes/gnome-boxes-3.22.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.28"
+
+inherit gnome2 linux-info readme.gentoo-r1 vala
+
+DESCRIPTION="Simple GNOME 3 application to access remote or virtual systems"
+HOMEPAGE="https://wiki.gnome.org/Apps/Boxes";
+
+LICENSE="LGPL-2"
+SLOT="0"
+
+# We force 'bindist' due to licenses from gnome-boxes-nonfree
+IUSE="" #bindist
+
+KEYWORDS="~amd64" # qemu-kvm[spice] is 64bit-only
+
+# NOTE: sys-fs/* stuff is called via exec()
+# FIXME: ovirt is not available in tree
+# FIXME: use vala.eclass but only because of libgd not being able
+#        to use its pre-generated files so do not copy all the
+#        vala deps like live ebuild has.
+# FIXME: qemu probably needs to depend on spice[smartcard]
+#        directly with USE=spice
+RDEPEND="
+       >=app-arch/libarchive-3:=
+       >=dev-libs/glib-2.38:2
+       >=dev-libs/gobject-introspection-0.9.6:=
+       >=dev-libs/libxml2-2.7.8:2
+       >=sys-libs/libosinfo-0.2.12
+       >=app-emulation/qemu-1.3.1[spice,smartcard,usbredir]
+       >=app-emulation/libvirt-0.9.3[libvirtd,qemu]
+       >=app-emulation/libvirt-glib-0.2.3
+       >=x11-libs/gtk+-3.19.4:3
+       >=net-libs/gtk-vnc-0.4.4[gtk3]
+       app-crypt/libsecret
+       app-emulation/spice[smartcard]
+       >=net-misc/spice-gtk-0.27[gtk3,smartcard,usbredir]
+       virtual/libusb:1
+
+       >=app-misc/tracker-0.16:0=[iso]
+
+       >=sys-apps/util-linux-2.20
+       >=net-libs/libsoup-2.38:2.4
+
+       sys-fs/mtools
+       >=virtual/libgudev-165:=
+"
+#      !bindist? ( gnome-extra/gnome-boxes-nonfree )
+
+DEPEND="${RDEPEND}
+       $(vala_depend)
+       app-text/yelp-tools
+       >=dev-util/intltool-0.40
+       >=sys-devel/gettext-0.17
+       virtual/pkgconfig
+"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="Before running gnome-boxes, you will need to load the KVM 
modules.
+If you have an Intel Processor, run:
+# modprobe kvm-intel
+
+If you have an AMD Processor, run:
+# modprobe kvm-amd"
+
+pkg_pretend() {
+       linux-info_get_any_version
+
+       if linux_config_exists; then
+               if ! { linux_chkconfig_present KVM_AMD || \
+                       linux_chkconfig_present KVM_INTEL; }; then
+                       ewarn "You need KVM support in your kernel to use GNOME 
Boxes!"
+               fi
+       fi
+}
+
+src_prepare() {
+       # Do not change CFLAGS, wondering about VALA ones but appears to be
+       # needed as noted in configure comments below
+       sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"//' -i configure{.ac,} || die
+
+       vala_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # debug needed for splitdebug proper behavior (cardoe), bug #????
+       gnome2_src_configure \
+               --enable-debug \
+               --disable-strict-cc \
+               --disable-ovirt
+}
+
+src_install() {
+       gnome2_src_install
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       readme.gentoo_print_elog
+}

Reply via email to