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 20C33138334 for ; Tue, 17 Jul 2018 14:15:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B323E09E8; Tue, 17 Jul 2018 14:15:46 +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 DD0AFE09E8 for ; Tue, 17 Jul 2018 14:15:45 +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 81A40335CA6 for ; Tue, 17 Jul 2018 14:15:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6750737E for ; Tue, 17 Jul 2018 14:15:41 +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: <1531836922.f81770e41df51ad850fa78d6f57d7972a9e536bf.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-ati/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild X-VCS-Directories: x11-drivers/xf86-video-ati/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: f81770e41df51ad850fa78d6f57d7972a9e536bf X-VCS-Branch: master Date: Tue, 17 Jul 2018 14:15:41 +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: be482ac7-5f6f-4460-a0fa-c00c736e9bdb X-Archives-Hash: 0d3a68ab0d43eaecc828ccffabcbe8fc commit: f81770e41df51ad850fa78d6f57d7972a9e536bf Author: Marty E. Plummer startmail com> AuthorDate: Tue Jul 17 00:33:48 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Jul 17 14:15:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81770e4 x11-drivers/xf86-video-ati: port to EAPI 7 Package-Manager: Portage-2.3.41, Repoman-2.3.9 ...9999.ebuild => xf86-video-ati-18.0.1-r2.ebuild} | 48 ++++++++++++++++------ .../xf86-video-ati/xf86-video-ati-9999.ebuild | 48 ++++++++++++++++------ 2 files changed, 70 insertions(+), 26 deletions(-) diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild similarity index 52% copy from x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild copy to x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild index 3f5390aec7a..56d17e3405a 100644 --- a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-18.0.1-r2.ebuild @@ -1,28 +1,40 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -XORG_DRI=always -inherit linux-info xorg-2 +inherit linux-info + +DESCRIPTION="ATI video driver" +HOMEPAGE="https://www.x.org/wiki/ati/" if [[ ${PV} == 9999* ]]; then - SRC_URI="" + EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/driver/${PN}" + inherit autotools git-r3 + LIVE_DEPEND=">=x11-misc/util-macros-1.18" else + SRC_URI="mirror://xorg/driver/${P}.tar.bz2" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" fi -DESCRIPTION="ATI video driver" -HOMEPAGE="https://www.x.org/wiki/ati/" - +LICENSE="MIT" +SLOT="0" IUSE="+glamor udev" -RDEPEND=">=x11-libs/libdrm-2.4.78[video_cards_radeon] +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + >=x11-libs/libdrm-2.4.78[video_cards_radeon] >=x11-libs/libpciaccess-0.8.0 glamor? ( x11-base/xorg-server[glamor] ) - udev? ( virtual/libudev:= )" -DEPEND="${RDEPEND} - x11-base/xorg-proto" + udev? ( virtual/libudev:= ) +" +DEPEND=" + ${LIVE_DEPEND} + ${RDEPEND} + x11-base/xorg-proto +" pkg_pretend() { if use kernel_linux ; then @@ -35,10 +47,20 @@ pkg_pretend() { check_extra_config } +src_prepare() { + default + [[ ${PV} == 9999 ]] eautoreconf +} + src_configure() { - XORG_CONFIGURE_OPTIONS=( + local econfargs=( $(use_enable glamor) $(use_enable udev) ) - xorg-2_src_configure + econf "${econfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die } diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild index 3f5390aec7a..56d17e3405a 100644 --- a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild @@ -1,28 +1,40 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -XORG_DRI=always -inherit linux-info xorg-2 +inherit linux-info + +DESCRIPTION="ATI video driver" +HOMEPAGE="https://www.x.org/wiki/ati/" if [[ ${PV} == 9999* ]]; then - SRC_URI="" + EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/driver/${PN}" + inherit autotools git-r3 + LIVE_DEPEND=">=x11-misc/util-macros-1.18" else + SRC_URI="mirror://xorg/driver/${P}.tar.bz2" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" fi -DESCRIPTION="ATI video driver" -HOMEPAGE="https://www.x.org/wiki/ati/" - +LICENSE="MIT" +SLOT="0" IUSE="+glamor udev" -RDEPEND=">=x11-libs/libdrm-2.4.78[video_cards_radeon] +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + >=x11-libs/libdrm-2.4.78[video_cards_radeon] >=x11-libs/libpciaccess-0.8.0 glamor? ( x11-base/xorg-server[glamor] ) - udev? ( virtual/libudev:= )" -DEPEND="${RDEPEND} - x11-base/xorg-proto" + udev? ( virtual/libudev:= ) +" +DEPEND=" + ${LIVE_DEPEND} + ${RDEPEND} + x11-base/xorg-proto +" pkg_pretend() { if use kernel_linux ; then @@ -35,10 +47,20 @@ pkg_pretend() { check_extra_config } +src_prepare() { + default + [[ ${PV} == 9999 ]] eautoreconf +} + src_configure() { - XORG_CONFIGURE_OPTIONS=( + local econfargs=( $(use_enable glamor) $(use_enable udev) ) - xorg-2_src_configure + econf "${econfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die }