summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/ati-drivers-extra')
-rw-r--r--media-video/ati-drivers-extra/ChangeLog8
-rw-r--r--media-video/ati-drivers-extra/Manifest4
-rw-r--r--media-video/ati-drivers-extra/ati-drivers-extra-3.7.6.ebuild96
-rw-r--r--media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.7.61
4 files changed, 107 insertions, 2 deletions
diff --git a/media-video/ati-drivers-extra/ChangeLog b/media-video/ati-drivers-extra/ChangeLog
index 914aa94c1b6b..b0bcfbed1e21 100644
--- a/media-video/ati-drivers-extra/ChangeLog
+++ b/media-video/ati-drivers-extra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/ati-drivers-extra
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ChangeLog,v 1.1 2004/02/23 23:48:50 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ChangeLog,v 1.2 2004/03/10 23:35:42 lu_zero Exp $
+
+*ati-drivers-extra-3.7.6 (11 Mar 2004)
+
+ 11 Mar 2004; Luca Barbato <lu_zero@gentoo.org>
+ ati-drivers-extra-3.7.6.ebuild:
+ New version, nwn players beware
*ati-drivers-extra-3.2.8-r1 (24 Feb 2004)
diff --git a/media-video/ati-drivers-extra/Manifest b/media-video/ati-drivers-extra/Manifest
index d8412ec4ec45..96edb777354c 100644
--- a/media-video/ati-drivers-extra/Manifest
+++ b/media-video/ati-drivers-extra/Manifest
@@ -1,4 +1,6 @@
-MD5 a7c3763dae62e4e2a4ca564823a717a0 ChangeLog 423
+MD5 0526e6ce0b3e6cd6a10b8c87effbb01c ati-drivers-extra-3.7.6.ebuild 2715
+MD5 640c6263b188ed7257add0baf30d5add ChangeLog 581
MD5 bca4dd1758b390509e46f966d475006d metadata.xml 221
MD5 75a43a657a25aab84a368aa1ea93339b ati-drivers-extra-3.2.8-r1.ebuild 2097
+MD5 aa891a7464224bd9a07fe0e96f40ef7b files/digest-ati-drivers-extra-3.7.6 72
MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-extra-3.2.8-r1 78
diff --git a/media-video/ati-drivers-extra/ati-drivers-extra-3.7.6.ebuild b/media-video/ati-drivers-extra/ati-drivers-extra-3.7.6.ebuild
new file mode 100644
index 000000000000..6c9afd87c90d
--- /dev/null
+++ b/media-video/ati-drivers-extra/ati-drivers-extra-3.7.6.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ati-drivers-extra-3.7.6.ebuild,v 1.1 2004/03/10 23:35:42 lu_zero Exp $
+
+IUSE="qt kde gnome"
+
+inherit eutils rpm
+
+DESCRIPTION="Ati precompiled drivers extra application"
+HOMEPAGE="http://www.ati.com"
+SRC_URI="http://www2.ati.com/drivers/linux/fglrx-4.3.0-${PV}.i386.rpm"
+SLOT="${KV}"
+LICENSE="ATI GPL-2 QPL-1.0"
+KEYWORDS="-* ~x86"
+
+DEPEND=">=virtual/linux-sources-2.4
+ app-arch/rpm2targz
+ =media-video/ati-drivers-${PV}
+ qt? ( >=x11-libs/qt-3.0 )"
+
+RDEPEND="=media-video/ati-drivers-${PV}
+ qt? ( >=x11-libs/qt-3.0 )"
+
+ATIBIN="${D}/opt/ati/bin"
+RESTRICT="nostrip"
+
+src_unpack() {
+ local OLDBIN="/usr/X11R6/bin"
+
+ cd ${WORKDIR}
+ rpm_src_unpack
+
+ mkdir -p ${WORKDIR}/extra
+ einfo "Unpacking fglrx_sample_source.tgz..."
+ tar --no-same-owner -C ${WORKDIR}/extra/ -zxf \
+ ${WORKDIR}/usr/src/ATI/fglrx_sample_source.tgz \
+ || die "Failed to unpack fglrx_sample_source.tgz!"
+ # Defining USE_GLU allows this to compile with NVIDIA headers just fine
+ sed -e "s:-I/usr/X11R6/include:-D USE_GLU -I/usr/X11R6/include:" \
+ -i ${WORKDIR}/extra/fgl_glxgears/Makefile.Linux || die
+
+ mkdir -p ${WORKDIR}/extra/fglrx_panel
+ einfo "Unpacking fglrx_panel_sources.tgz..."
+ tar --no-same-owner -C ${WORKDIR}/extra/fglrx_panel/ -zxf \
+ ${WORKDIR}/usr/src/ATI/fglrx_panel_sources.tgz \
+ || die "Failed to unpack fglrx_panel_sources.tgz!"
+ sed -e "s:"${OLDBIN}":"${ATIBIN}":"\
+ -i ${WORKDIR}/extra/fglrx_panel/Makefile
+
+ # Messed up fglrx_panel headers
+ cd ${WORKDIR}/extra/fglrx_panel
+ epatch ${FILESDIR}/fglrx-3.7.0-fix-fglrx_panel-includes.patch
+}
+
+src_compile() {
+ einfo "Building the fgl_glxgears sample..."
+ cd ${WORKDIR}/extra/fgl_glxgears
+ make -f Makefile.Linux || ewarn "fgl_glxgears sample not build!"
+
+ if [ "`use qt`" ]
+ then
+ einfo "Building the QT fglx panel..."
+ cd ${WORKDIR}/extra/fglrx_panel
+ emake || die
+ fi
+
+ # Removing unused stuff
+ rm -rf ${WORKDIR}/usr/X11R6/bin/{*.bz2,fgl_glxgears}
+}
+
+src_install() {
+ local ATI_ROOT="/usr/lib/opengl/ati"
+
+ # Apps
+ exeinto /opt/ati/bin
+ doexe ${WORKDIR}/extra/fgl_glxgears/fgl_glxgears
+ rm -f ${WORKDIR}/usr/X11R6/bin/*
+
+ if [ "`use qt`" ]
+ then
+ doexe ${WORKDIR}/extra/fglrx_panel/fireglcontrol
+
+ # Fix the paths in these
+ sed -e 's|/usr/X11R6/|/opt/ati/|g' \
+ -i ${WORKDIR}/usr/share/applnk/fireglcontrol.kdelnk \
+ -i ${WORKDIR}/usr/share/gnome/apps/fireglcontrol.desktop
+ else
+ # Removing unused stuff
+ rm -rf ${WORKDIR}/usr/share/{applnk,gnome,icons,pixmaps}
+ fi
+
+ dodoc ${WORKDIR}/usr/share/doc/fglrx/LICENSE.*
+
+ # Removing unused stuff
+ rm -rf ${WORKDIR}/usr/{src,share/doc}
+}
diff --git a/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.7.6 b/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.7.6
new file mode 100644
index 000000000000..651bc6ac2468
--- /dev/null
+++ b/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.7.6
@@ -0,0 +1 @@
+MD5 8538c3669fd6eab3d17c3669e2d88235 fglrx-4.3.0-3.7.6.i386.rpm 3380217