From c6b48be32da31faf292dae06b4f42209dfa24e0d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 19 Mar 2021 23:39:49 +0100 Subject: x11-drivers/xf86-video-qxl: Cleanup Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert --- .../xf86-video-qxl-0.1.5_p20200205.ebuild | 28 ++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'x11-drivers') diff --git a/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205.ebuild b/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205.ebuild index d4f5d8c3a49e..e8e8ae5dc9bf 100644 --- a/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205.ebuild +++ b/x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205.ebuild @@ -3,18 +3,17 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7..9} ) -inherit python-single-r1 xorg-3 autotools +inherit autotools python-single-r1 xorg-3 -SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz" DESCRIPTION="QEMU QXL paravirt video driver" -KEYWORDS="~amd64 ~x86" +SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz" +S="${WORKDIR}" +KEYWORDS="~amd64 ~x86" IUSE="xspice" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -S="${WORKDIR}/" +REQUIRED_USE="xspice? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" xspice? ( @@ -23,20 +22,25 @@ RDEPEND=" ) x11-base/xorg-server[-minimal] >=x11-libs/libdrm-2.4.46" -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} >=app-emulation/spice-protocol-0.12.0 x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig" -src_prepare() { - python_fix_shebang scripts +pkg_setup() { + use xspice && python-single-r1_pkg_setup +} +src_prepare() { + xorg-3_src_prepare eautoreconf - xorg-3_src_prepare + use xspice && python_fix_shebang scripts } src_configure() { - XORG_CONFIGURE_OPTIONS=( + local XORG_CONFIGURE_OPTIONS=( $(use_enable xspice) ) xorg-3_src_configure -- cgit v1.2.3-65-gdbad