summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-05-27 20:55:47 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-05-27 20:55:47 +0000
commitf49ec5d615612fcbc62f356a2f1f6405cdf5bf8d (patch)
treeaa3e29f1f40601137ccac946cdd1c491605ef32c /media-video
parentNew version (diff)
downloadhistorical-f49ec5d615612fcbc62f356a2f1f6405cdf5bf8d.tar.gz
historical-f49ec5d615612fcbc62f356a2f1f6405cdf5bf8d.tar.bz2
historical-f49ec5d615612fcbc62f356a2f1f6405cdf5bf8d.zip
New version
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ati-drivers-extra/ChangeLog8
-rw-r--r--media-video/ati-drivers-extra/Manifest14
-rw-r--r--media-video/ati-drivers-extra/ati-drivers-extra-3.9.0.ebuild96
-rw-r--r--media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.9.01
4 files changed, 112 insertions, 7 deletions
diff --git a/media-video/ati-drivers-extra/ChangeLog b/media-video/ati-drivers-extra/ChangeLog
index 036fa859bae9..98dbb2e0b39c 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.6 2004/04/16 13:22:53 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ChangeLog,v 1.7 2004/05/27 20:55:47 lu_zero Exp $
+
+*ati-drivers-extra-3.9.0 (27 May 2004)
+
+ 27 May 2004; Luca Barbato <lu_zero@gentoo.org>
+ +ati-drivers-extra-3.9.0.ebuild:
+ New version
16 Apr 2004; Luca Barbato <lu_zero@gentoo.org>
ati-drivers-extra-3.7.6.ebuild:
diff --git a/media-video/ati-drivers-extra/Manifest b/media-video/ati-drivers-extra/Manifest
index ef3b674a5295..47868d653aa2 100644
--- a/media-video/ati-drivers-extra/Manifest
+++ b/media-video/ati-drivers-extra/Manifest
@@ -1,7 +1,9 @@
-MD5 caabe690b8e6e629f73b5a60e8f1051f files/digest-ati-drivers-extra-3.2.8-r1 78
-MD5 aa891a7464224bd9a07fe0e96f40ef7b files/digest-ati-drivers-extra-3.7.6 72
-MD5 4765a7db326f308f862b1fe3e211ef0d files/fglrx-3.7.0-fix-fglrx_panel-includes.patch 2168
-MD5 37318fa39eda9606d6d53523935b2bca ChangeLog 1123
-MD5 e3ee8d4aed0a6078f4cdd0b7ec4e1853 ati-drivers-extra-3.2.8-r1.ebuild 2098
+MD5 cdf72d89b0e6ddeec518e86a73000031 ati-drivers-extra-3.7.6.ebuild 2717
+MD5 f6e625d97cf74604940f1728b67b5f45 ChangeLog 1261
MD5 bca4dd1758b390509e46f966d475006d metadata.xml 221
-MD5 36ff1f3a3a2fea718c633a99352b0dbd ati-drivers-extra-3.7.6.ebuild 2718
+MD5 75a43a657a25aab84a368aa1ea93339b ati-drivers-extra-3.2.8-r1.ebuild 2097
+MD5 af066caa7969ccde94ba7bb5f777f151 ati-drivers-extra-3.9.0.ebuild 2717
+MD5 4765a7db326f308f862b1fe3e211ef0d files/fglrx-3.7.0-fix-fglrx_panel-includes.patch 2168
+MD5 aa891a7464224bd9a07fe0e96f40ef7b files/digest-ati-drivers-extra-3.7.6 72
+MD5 918b182a2d40bf073127838d769e1fa5 files/digest-ati-drivers-extra-3.9.0 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.9.0.ebuild b/media-video/ati-drivers-extra/ati-drivers-extra-3.9.0.ebuild
new file mode 100644
index 000000000000..5f2f8ecc2f17
--- /dev/null
+++ b/media-video/ati-drivers-extra/ati-drivers-extra-3.9.0.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.9.0.ebuild,v 1.1 2004/05/27 20:55:47 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.9.0 b/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.9.0
new file mode 100644
index 000000000000..6ebb92b4580e
--- /dev/null
+++ b/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-3.9.0
@@ -0,0 +1 @@
+MD5 9f7802ee0bbdeb5172673027056e789d fglrx-4.3.0-3.9.0.i386.rpm 4285357