diff options
-rw-r--r-- | media-video/ati-drivers-extra/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/ati-drivers-extra/ati-drivers-extra-8.13.3.ebuild | 93 | ||||
-rw-r--r-- | media-video/ati-drivers-extra/files/ati-drivers-extra-8.13.3-improvements.patch.bz2 | bin | 0 -> 10419 bytes | |||
-rw-r--r-- | media-video/ati-drivers-extra/files/digest-ati-drivers-extra-8.13.3 | 2 |
4 files changed, 104 insertions, 1 deletions
diff --git a/media-video/ati-drivers-extra/ChangeLog b/media-video/ati-drivers-extra/ChangeLog index 3acd261afad5..15c56e0e6f0d 100644 --- a/media-video/ati-drivers-extra/ChangeLog +++ b/media-video/ati-drivers-extra/ChangeLog @@ -1,10 +1,18 @@ # ChangeLog for media-video/ati-drivers-extra # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ChangeLog,v 1.28 2005/04/25 05:59:26 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ChangeLog,v 1.29 2005/05/21 20:15:56 lu_zero Exp $ 25 Apr 2005; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml: Update herd to x11-drivers. +*ati-drivers-extra-8.13.3 (21 May 2005) + + 21 May 2005; Luca Barbato <lu_zero@gentoo.org> + +files/ati-drivers-extra-8.13.3-improvements.patch.bz2, + +ati-drivers-extra-8.13.3.ebuild: + New version, thanks to Erdroh Moshan <ErDroh@gmx.de> as usual for the + updates to the improvements patch + *ati-drivers-extra-8.12.10 (11 Apr 2005) 11 Apr 2005; Luca Barbato <lu_zero@gentoo.org> diff --git a/media-video/ati-drivers-extra/ati-drivers-extra-8.13.3.ebuild b/media-video/ati-drivers-extra/ati-drivers-extra-8.13.3.ebuild new file mode 100644 index 000000000000..fb34efef7a2e --- /dev/null +++ b/media-video/ati-drivers-extra/ati-drivers-extra-8.13.3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers-extra/ati-drivers-extra-8.13.3.ebuild,v 1.1 2005/05/21 20:15:56 lu_zero Exp $ + +IUSE="qt" + +inherit eutils rpm linux-info linux-mod + +DESCRIPTION="Ati precompiled drivers extra application" +HOMEPAGE="http://www.ati.com" +SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) + amd64? + ( http://www2.ati.com/drivers/linux/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" + +LICENSE="ATI GPL-2 QPL-1.0" +KEYWORDS="~x86" # ~amd64 yet to be fixed + +DEPEND="=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!" + cd ${WORKDIR}/extra/fglrx_panel + epatch ${FILESDIR}/${P}-improvements.patch.bz2 + sed -e "s:"${OLDBIN}":"${ATIBIN}":"\ + -i ${WORKDIR}/extra/fglrx_panel/Makefile + + } + +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 + + insinto /usr/share/applications/ + doins ${FILESDIR}/fireglcontrol.desktop + + insinto /usr/share/pixmaps/ + doins ${WORKDIR}/extra/fglrx_panel/ati.xpm + else + # Removing unused stuff + rm -rf ${WORKDIR}/usr/share/{applnk,gnome,icons,pixmaps} + fi + + # not necessary 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/ati-drivers-extra-8.13.3-improvements.patch.bz2 b/media-video/ati-drivers-extra/files/ati-drivers-extra-8.13.3-improvements.patch.bz2 Binary files differnew file mode 100644 index 000000000000..f7e5f45a347b --- /dev/null +++ b/media-video/ati-drivers-extra/files/ati-drivers-extra-8.13.3-improvements.patch.bz2 diff --git a/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-8.13.3 b/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-8.13.3 new file mode 100644 index 000000000000..91b8a048c717 --- /dev/null +++ b/media-video/ati-drivers-extra/files/digest-ati-drivers-extra-8.13.3 @@ -0,0 +1,2 @@ +MD5 d1c56a82d0a711a6aac5a883cc9fc61b fglrx_6_8_0-8.13.3-1.i386.rpm 5616296 +MD5 13ae97fb2cc44718852f4b2463d669be fglrx64_6_8_0-8.13.3-1.x86_64.rpm 6166711 |