public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-qxl/
Date: Fri, 19 Mar 2021 22:40:18 +0000 (UTC)	[thread overview]
Message-ID: <1616193589.c6b48be32da31faf292dae06b4f42209dfa24e0d.soap@gentoo> (raw)

commit:     c6b48be32da31faf292dae06b4f42209dfa24e0d
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 19 22:39:49 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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


             reply	other threads:[~2021-03-19 22:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 22:40 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 14:33 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-qxl/ Matt Turner
2023-03-03 18:47 Arthur Zamarin
2023-03-03 18:42 Arthur Zamarin
2023-01-24  6:07 Matt Turner
2022-05-29 15:23 Matt Turner
2022-01-18 22:16 Jakov Smolić
2022-01-18 22:16 Jakov Smolić
2021-05-02 15:24 Matt Turner
2021-03-27 23:34 Matt Turner
2021-03-27 23:29 Sam James
2021-03-27 23:29 Sam James
2021-02-13 23:55 Piotr Karbowski
2020-09-09 11:30 Michał Górny
2020-09-09 10:36 Michał Górny
2018-11-01 19:10 Matt Turner
2017-01-17 23:16 Matt Turner
2016-05-29 18:28 Chí-Thanh Christopher Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616193589.c6b48be32da31faf292dae06b4f42209dfa24e0d.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox