summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2014-12-16 15:30:13 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2014-12-16 15:30:13 +0300
commit5f08cd35df9797f8f9f7fd89d1f4ae0297bec972 (patch)
treec9a2815c6ba9ce824b378cb953e7ca00ffa132c2
parent9a708b8c806f759db23c8f31bc97d77df5d4e3cf (diff)
xf86-video-ati-scm.ebuild for wine-nine
-rw-r--r--x11-drivers/xf86-video-ati/xf86-video-ati-scm.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-scm.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-scm.ebuild
new file mode 100644
index 0000000..0e571ed
--- /dev/null
+++ b/x11-drivers/xf86-video-ati/xf86-video-ati-scm.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+XORG_DRI=always
+inherit linux-info git-r3 xorg-2
+
+EGIT_REPO_URI="https://github.com/iXit/xf86-video-ati.git"
+SRC_URI=""
+
+DESCRIPTION="ATI video driver"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="+glamor udev"
+
+RDEPEND=">=x11-libs/libdrm-2.4.54[video_cards_radeon]
+ glamor? ( || (
+ x11-base/xorg-server[glamor]
+ >=x11-libs/glamor-0.6
+ ) )
+ udev? ( virtual/udev )"
+DEPEND="${RDEPEND}"
+
+
+src_unpack() {
+ git-r3_src_unpack
+}
+
+src_prepare() {
+ ./autogen.sh
+ emake distclean
+}
+
+pkg_pretend() {
+ if use kernel_linux ; then
+ if kernel_is -ge 3 9; then
+ CONFIG_CHECK="~!DRM_RADEON_UMS ~!FB_RADEON"
+ else
+ CONFIG_CHECK="~DRM_RADEON_KMS ~!FB_RADEON"
+ fi
+ fi
+ check_extra_config
+}
+
+src_configure() {
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_enable glamor)
+ $(use_enable udev)
+ )
+ xorg-2_src_configure
+}