commit:     56c87cf06e4cb1c23349dedf27704ae70a384c3a
Author:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 18:28:07 2016 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Sun May 29 18:28:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c87cf0

x11-drivers/xf86-video-qxl: fix Xspice shebang

Bug: https://bugs.gentoo.org/show_bug.cgi?id=568868

Package-Manager: portage-2.2.28

 .../xf86-video-qxl/xf86-video-qxl-0.1.4-r1.ebuild  | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.4-r1.ebuild 
b/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.4-r1.ebuild
new file mode 100644
index 0000000..6dd24ea
--- /dev/null
+++ b/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 xorg-2
+
+DESCRIPTION="QEMU QXL paravirt video driver"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="xspice"
+
+RDEPEND="xspice? (
+               app-emulation/spice
+               ${PYTHON_DEPS}
+       )
+       x11-base/xorg-server[-minimal]
+       >=x11-libs/libdrm-2.4.46"
+DEPEND="${RDEPEND}
+       x11-proto/xf86dgaproto
+       >=app-emulation/spice-protocol-0.12.0"
+
+src_prepare() {
+       python_fix_shebang scripts
+       xorg-2_src_prepare
+}
+
+src_configure() {
+       XORG_CONFIGURE_OPTIONS=(
+               $(use_enable xspice)
+       )
+       xorg-2_src_configure
+}

Reply via email to