From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 802FE1382C5 for ; Fri, 19 Mar 2021 22:40:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3E7CE0943; Fri, 19 Mar 2021 22:40:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D69D4E0943 for ; Fri, 19 Mar 2021 22:40:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17263340CB8 for ; Fri, 19 Mar 2021 22:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3D2263B for ; Fri, 19 Mar 2021 22:40:18 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1616193589.c6b48be32da31faf292dae06b4f42209dfa24e0d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-qxl/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-qxl/xf86-video-qxl-0.1.5_p20200205.ebuild X-VCS-Directories: x11-drivers/xf86-video-qxl/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: c6b48be32da31faf292dae06b4f42209dfa24e0d X-VCS-Branch: master Date: Fri, 19 Mar 2021 22:40:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f6e06ce-7a9b-4627-98f1-d1aa5588ef10 X-Archives-Hash: 29cc5d13843e2368ecff2c41b0314cb5 commit: c6b48be32da31faf292dae06b4f42209dfa24e0d Author: David Seifert gentoo org> AuthorDate: Fri Mar 19 22:39:49 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Mar 19 22:39:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b48be3 x11-drivers/xf86-video-qxl: Cleanup Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> .../xf86-video-qxl-0.1.5_p20200205.ebuild | 28 ++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) 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 d4f5d8c3a49..e8e8ae5dc9b 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