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 A1BBB138334 for ; Sat, 27 Oct 2018 19:36:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 571AEE096A; Sat, 27 Oct 2018 19:36:13 +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 2AFE9E096A for ; Sat, 27 Oct 2018 19:36:12 +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 1F781335C8D for ; Sat, 27 Oct 2018 19:36:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A103443 for ; Sat, 27 Oct 2018 19:36:09 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1540668948.a2ffd7261021575395aa15181a1d873f58a6ce76.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-amdgpu/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-18.1.0.ebuild x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild X-VCS-Directories: x11-drivers/xf86-video-amdgpu/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: a2ffd7261021575395aa15181a1d873f58a6ce76 X-VCS-Branch: master Date: Sat, 27 Oct 2018 19:36:09 +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-Archives-Salt: ab5753fb-c989-41e2-83f7-76c8585dfd1e X-Archives-Hash: 647b5a99180ddf016061ce83acc97c47 commit: a2ffd7261021575395aa15181a1d873f58a6ce76 Author: Alexander Tsoy tsoy me> AuthorDate: Fri Oct 26 14:33:53 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Oct 27 19:35:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ffd726 x11-drivers/xf86-video-amdgpu: add "udev" USE flag This fixes automagic dependency on udev. Closes: https://bugs.gentoo.org/667058 Closes: https://github.com/gentoo/gentoo/pull/10236 Signed-off-by: Alexander Tsoy tsoy.me> Signed-off-by: Matt Turner gentoo.org> .../xf86-video-amdgpu/xf86-video-amdgpu-18.1.0.ebuild | 10 ++++++++-- x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild | 12 +++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-18.1.0.ebuild b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-18.1.0.ebuild index 7e47777406d..877e000a131 100644 --- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-18.1.0.ebuild +++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-18.1.0.ebuild @@ -13,11 +13,17 @@ fi DESCRIPTION="Accelerated Open Source driver for AMDGPU cards" +IUSE="udev" + RDEPEND=">=x11-libs/libdrm-2.4.78[video_cards_amdgpu] - x11-base/xorg-server[glamor(-)]" + x11-base/xorg-server[glamor(-)] + udev? ( virtual/libudev:= )" DEPEND="${RDEPEND}" src_configure() { - XORG_CONFIGURE_OPTIONS="--enable-glamor" + XORG_CONFIGURE_OPTIONS=( + --enable-glamor + $(use_enable udev) + ) xorg-2_src_configure } diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild index 90a06199708..df2b7fe4867 100644 --- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild +++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,11 +13,17 @@ fi DESCRIPTION="Accelerated Open Source driver for AMDGPU cards" +IUSE="udev" + RDEPEND=">=x11-libs/libdrm-2.4.78[video_cards_amdgpu] - x11-base/xorg-server[glamor(-)]" + x11-base/xorg-server[glamor(-)] + udev? ( virtual/libudev:= )" DEPEND="${RDEPEND}" src_configure() { - XORG_CONFIGURE_OPTIONS="--enable-glamor" + XORG_CONFIGURE_OPTIONS=( + --enable-glamor + $(use_enable udev) + ) xorg-2_src_configure }