diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-08-01 22:52:11 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-08-01 22:52:11 +0000 |
commit | e92749bd95f0e06e23b7527f031ace09a86bd95e (patch) | |
tree | 9ab0d05246843be4b60a52b390b3a32409bcb7da | |
parent | New version (diff) | |
download | gentoo-2-e92749bd95f0e06e23b7527f031ace09a86bd95e.tar.gz gentoo-2-e92749bd95f0e06e23b7527f031ace09a86bd95e.tar.bz2 gentoo-2-e92749bd95f0e06e23b7527f031ace09a86bd95e.zip |
New version
(Portage version: 2.1.1_pre4-r1)
-rw-r--r-- | x11-apps/ati-drivers-extra/ChangeLog | 8 | ||||
-rw-r--r-- | x11-apps/ati-drivers-extra/ati-drivers-extra-8.27.10.ebuild | 88 | ||||
-rw-r--r-- | x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.27.10 | 6 |
3 files changed, 101 insertions, 1 deletions
diff --git a/x11-apps/ati-drivers-extra/ChangeLog b/x11-apps/ati-drivers-extra/ChangeLog index d660247a0141..f9408c703e45 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.13 2006/07/06 13:32:24 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ChangeLog,v 1.14 2006/08/01 22:52:11 lu_zero Exp $ + +*ati-drivers-extra-8.27.10 (01 Aug 2006) + + 01 Aug 2006; Luca Barbato <lu_zero@gentoo.org> + +ati-drivers-extra-8.27.10.ebuild: + New version 06 Jul 2006; Luca Barbato <lu_zero@gentoo.org> ati-drivers-extra-8.26.18.ebuild: diff --git a/x11-apps/ati-drivers-extra/ati-drivers-extra-8.27.10.ebuild b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.27.10.ebuild new file mode 100644 index 000000000000..ea3921a3aa03 --- /dev/null +++ b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.27.10.ebuild @@ -0,0 +1,88 @@ +# 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.27.10.ebuild,v 1.1 2006/08/01 22:52:11 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="x86? ( ${ATI_URL}/ati-driver-installer-${PV}-x86.run ) + amd64? ( ${ATI_URL}/64bit/ati-driver-installer-${PV}-x86_64.run )" + +LICENSE="ATI GPL-2 QPL-1.0" +KEYWORDS="-amd64 ~x86" # (~amd64 yet to be fixed)(see bug 95684) + +DEPEND="=x11-drivers/ati-drivers-${PV}* + qt3? ( >=x11-libs/qt-3.0 )" + +ATIBIN="${D}/opt/ati/bin" +SLOT="0" + +src_unpack() { + local OLDBIN="/usr/X11R6/bin" + + cd ${WORKDIR} + use x86 && MY_P="ati-driver-installer-${PV}-x86.run" + use amd64 && MY_P="ati-driver-installer-${PV}-x86_64.run" + + ebegin "Unpacking Ati drivers" + sh ${DISTDIR}/${MY_P} --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.27.10 b/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.27.10 new file mode 100644 index 000000000000..fcd61d64a9c4 --- /dev/null +++ b/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.27.10 @@ -0,0 +1,6 @@ +MD5 72f69477c66d8b2d1a580c7885afa892 ati-driver-installer-8.27.10-x86.run 25136032 +RMD160 5080d72e97101b97da661019c00a89e01cf2abd6 ati-driver-installer-8.27.10-x86.run 25136032 +SHA256 444c2d957308793b1164ed013c724090900aae20fcd63ebf9001b795066fc4f0 ati-driver-installer-8.27.10-x86.run 25136032 +MD5 4cc78c0fc864fd2b3205cee5f866f3d7 ati-driver-installer-8.27.10-x86_64.run 32487472 +RMD160 04dc8598253791b52215ba3be847a9dc6eb54079 ati-driver-installer-8.27.10-x86_64.run 32487472 +SHA256 1039d0b2218bab7076ef55626e510a779027ab658e62730c74dc2de439f4ab33 ati-driver-installer-8.27.10-x86_64.run 32487472 |