diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-07-06 13:22:30 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-07-06 13:22:30 +0000 |
commit | f7a6489a61ad7b4e47dde91979069be322d642f1 (patch) | |
tree | 7e2f09065fd01ccbc4b69f0ac8fd4a7d52ffc289 /x11-apps/ati-drivers-extra | |
parent | Added x11-drivers/xf86-input-evdev to 2.4's package.mask since it requires 2.... (diff) | |
download | gentoo-2-f7a6489a61ad7b4e47dde91979069be322d642f1.tar.gz gentoo-2-f7a6489a61ad7b4e47dde91979069be322d642f1.tar.bz2 gentoo-2-f7a6489a61ad7b4e47dde91979069be322d642f1.zip |
New version
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'x11-apps/ati-drivers-extra')
-rw-r--r-- | x11-apps/ati-drivers-extra/ChangeLog | 8 | ||||
-rw-r--r-- | x11-apps/ati-drivers-extra/ati-drivers-extra-8.26.18.ebuild | 87 | ||||
-rw-r--r-- | x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.26.18 | 6 |
3 files changed, 100 insertions, 1 deletions
diff --git a/x11-apps/ati-drivers-extra/ChangeLog b/x11-apps/ati-drivers-extra/ChangeLog index 8b4d740f8995..f59c40165273 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.11 2006/06/23 23:46:02 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ChangeLog,v 1.12 2006/07/06 13:22:30 lu_zero Exp $ + +*ati-drivers-extra-8.26.18 (06 Jul 2006) + + 06 Jul 2006; Luca Barbato <lu_zero@gentoo.org> + +ati-drivers-extra-8.26.18.ebuild: + New version 23 Jun 2006; Doug Goldstein <cardoe@gentoo.org> -ati-drivers-extra-8.21.7.ebuild, ati-drivers-extra-8.22.5.ebuild, diff --git a/x11-apps/ati-drivers-extra/ati-drivers-extra-8.26.18.ebuild b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.26.18.ebuild new file mode 100644 index 000000000000..4f69d5e89d1e --- /dev/null +++ b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.26.18.ebuild @@ -0,0 +1,87 @@ +# 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.26.18.ebuild,v 1.1 2006/07/06 13:22:30 lu_zero Exp $ + +IUSE="qt3" + +inherit eutils rpm + +DESCRIPTION="Ati precompiled drivers extra application" +HOMEPAGE="http://www.ati.com" +SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-x86.run ) + amd64? ( mirror://gentoo/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}-i386.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.26.18 b/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.26.18 new file mode 100644 index 000000000000..181d0151e3e9 --- /dev/null +++ b/x11-apps/ati-drivers-extra/files/digest-ati-drivers-extra-8.26.18 @@ -0,0 +1,6 @@ +MD5 0cd66013e31fbaa6470f3dad3391cfd1 ati-driver-installer-8.26.18-x86.run 23716730 +RMD160 dc9ab7862e6c0a1872ba48ad08842fdbb10d1414 ati-driver-installer-8.26.18-x86.run 23716730 +SHA256 3376608d7a0049c30c9497e2f326ad2afe6b3874777f36af33b09019cbe71c55 ati-driver-installer-8.26.18-x86.run 23716730 +MD5 a755a02cd7bb71697ac4c249d0e32eb0 ati-driver-installer-8.26.18-x86_64.run 30927154 +RMD160 d4cf53f10fd7ca66cd52577c7e5e9bc42502f59f ati-driver-installer-8.26.18-x86_64.run 30927154 +SHA256 390eb44786b72cb09c78a995163155739f21d6ad121d22a9e6a72a18d9b5496f ati-driver-installer-8.26.18-x86_64.run 30927154 |