summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-11-07 19:30:44 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-11-07 19:30:44 +0000
commit26b1fc24b6b020f0c7103ea721490765e1bfac81 (patch)
tree05a8b479eeb5cf837d44969e9e9e10a16fbdc866 /x11-apps/ati-drivers-extra
parentAdded new revision for testing which uses the brand-spankin-new games-mods.ec... (diff)
downloadgentoo-2-26b1fc24b6b020f0c7103ea721490765e1bfac81.tar.gz
gentoo-2-26b1fc24b6b020f0c7103ea721490765e1bfac81.tar.bz2
gentoo-2-26b1fc24b6b020f0c7103ea721490765e1bfac81.zip
New version
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'x11-apps/ati-drivers-extra')
-rw-r--r--x11-apps/ati-drivers-extra/ChangeLog8
-rw-r--r--x11-apps/ati-drivers-extra/ati-drivers-extra-8.30.3.ebuild85
-rw-r--r--x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.30.33
3 files changed, 95 insertions, 1 deletions
diff --git a/x11-apps/ati-drivers-extra/ChangeLog b/x11-apps/ati-drivers-extra/ChangeLog
index 85552fbedf31..5bce094ff7d8 100644
--- a/x11-apps/ati-drivers-extra/ChangeLog
+++ b/x11-apps/ati-drivers-extra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-apps/ati-drivers-extra
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ChangeLog,v 1.19 2006/09/25 14:19:11 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ChangeLog,v 1.20 2006/11/07 19:30:44 lu_zero Exp $
+
+*ati-drivers-extra-8.30.3 (07 Nov 2006)
+
+ 07 Nov 2006; Luca Barbato <lu_zero@gentoo.org>
+ +ati-drivers-extra-8.30.3.ebuild:
+ New version, thanks to HumpBack for the patch and for reminding me.
*ati-drivers-extra-8.29.6 (25 Sep 2006)
diff --git a/x11-apps/ati-drivers-extra/ati-drivers-extra-8.30.3.ebuild b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.30.3.ebuild
new file mode 100644
index 000000000000..367afabe224f
--- /dev/null
+++ b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.30.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ati-drivers-extra-8.30.3.ebuild,v 1.1 2006/11/07 19:30:44 lu_zero Exp $
+
+IUSE="qt3"
+
+inherit eutils rpm
+
+DESCRIPTION="Ati precompiled drivers extra application"
+HOMEPAGE="http://www.ati.com"
+ATI_URL="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/"
+SRC_URI="${ATI_URL}/ati-driver-installer-${PV}.run"
+
+LICENSE="ATI GPL-2 QPL-1.0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="=x11-drivers/ati-drivers-${PV}*
+ qt3? ( =x11-libs/qt-3* )"
+
+ATIBIN="${D}/opt/ati/bin"
+SLOT="0"
+
+src_unpack() {
+ local OLDBIN="/usr/X11R6/bin"
+
+ cd ${WORKDIR}
+
+ ebegin "Unpacking Ati drivers"
+ sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null
+ eend $? || die "unpack failed"
+
+ mkdir -p ${WORKDIR}/extra
+ einfo "Unpacking fglrx_sample_source.tgz..."
+ tar --no-same-owner -C ${WORKDIR}/extra/ -zxf \
+ ${WORKDIR}/common/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/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}/common/usr/src/ati/fglrx_panel_sources.tgz \
+ || die "Failed to unpack fglrx_panel_sources.tgz!"
+ cd ${WORKDIR}/extra/fglrx_panel
+# epatch "${DISTDIR}/ati-drivers-extra-8.22.5-improvements.patch.bz2"
+ sed -e "s:"${OLDBIN}":"${ATIBIN}":"\
+ -i ${WORKDIR}/extra/fglrx_panel/Makefile
+ #workaround
+ cp ${FILESDIR}/fglrx_pp_proto.h ${WORKDIR}/extra/fglrx_panel
+ }
+
+src_compile() {
+ einfo "Building fgl_glxgears"
+ cd ${WORKDIR}/extra/fgl_glxgears
+ make -f Makefile.Linux || ewarn "fgl_glxgears not build!"
+
+ if use qt3
+ then
+ einfo "Building the QT fglx panel..."
+ cd ${WORKDIR}/extra/fglrx_panel
+ emake || die
+ fi
+}
+
+src_install() {
+ local ATI_ROOT="/usr/lib/opengl/ati"
+
+ # Apps
+ exeinto /opt/ati/bin
+ doexe ${WORKDIR}/extra/fgl_glxgears/fgl_glxgears
+
+ if use qt3
+ then
+ doexe ${WORKDIR}/extra/fglrx_panel/fireglcontrol
+
+ insinto /usr/share/applications/
+ doins ${FILESDIR}/fireglcontrol.desktop
+
+ insinto /usr/share/pixmaps/
+ doins ${WORKDIR}/extra/fglrx_panel/ati.xpm
+ fi
+}
diff --git a/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.30.3 b/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.30.3
new file mode 100644
index 000000000000..d25b8221125e
--- /dev/null
+++ b/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.30.3
@@ -0,0 +1,3 @@
+MD5 058990a8e7cb57c670d423adfd7bfc00 ati-driver-installer-8.30.3.run 58041208
+RMD160 d4481bba9313cf9bcb71b7603034595677eb53f9 ati-driver-installer-8.30.3.run 58041208
+SHA256 3d03b64ba8fd6fef3c50a2037a4e8d97955086fee3da274c2993d55aae058dcc ati-driver-installer-8.30.3.run 58041208