-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
GCONF_DEBUG="no"
-WANT_AUTOMAKE="1.12"
VALA_MIN_API_VERSION="0.14"
VALA_USE_DEPEND="vapigen"
-inherit autotools eutils vala git-r3 readme.gentoo-r1
+inherit autotools eutils xdg-utils vala readme.gentoo-r1
DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI"
HOMEPAGE="http://spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/"
IUSE="dbus gstaudio gstvideo gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl"
REQUIRED_USE="?? ( pulseaudio gstaudio )"
+
# TODO:
# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
# * use external pnp.ids as soon as that means not pulling in gnome-desktop
vala? ( $(vala_depend) )
"
-# Hard-deps while building from git:
-# dev-lang/vala:0.14
-# dev-lang/perl
-
src_prepare() {
- epatch_user
+ default
eautoreconf
# https://bugzilla.gnome.org/show_bug.cgi?id=744135
addpredict /dev
+ # Clean up environment, bug #586642
+ xdg_environment_reset
+
local myconf
if use vala ; then