From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- .../xf86-video-ati/xf86-video-ati-7.0.0.ebuild | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 x11-drivers/xf86-video-ati/xf86-video-ati-7.0.0.ebuild (limited to 'x11-drivers/xf86-video-ati/xf86-video-ati-7.0.0.ebuild') diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-7.0.0.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-7.0.0.ebuild new file mode 100644 index 00000000..cf517c11 --- /dev/null +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-7.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +XORG_DRI=always +inherit xorg-2 + +DESCRIPTION="ATI video driver" + +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="glamor udev" + +RDEPEND=">=x11-libs/libdrm-2.4.36[video_cards_radeon] + glamor? ( x11-libs/glamor ) + udev? ( sys-fs/udev )" +DEPEND="${RDEPEND}" + +src_configure() { + XORG_CONFIGURE_OPTIONS=( + $(use_enable glamor) + $(use_enable udev) + ) + xorg-2_src_configure +} + +pkg_preinst() { + # "untrack" radeon.conf, starting from kernel 3.6, this is + # no longer needed. However, we don't want to break the current + # status-quo. + cp "${EROOT}/etc/modprobe.d/"{radeon.conf,radeon.conf.untracked} || die +} + +pkg_postinst() { + mv "${EROOT}/etc/modprobe.d/"{radeon.conf.untracked,radeon.conf} || die +} -- cgit v1.2.3