diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-09-03 22:42:53 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-09-03 22:42:53 +0000 |
commit | 5a45fdbb5f49dd68409d36737d169c68af9d89ef (patch) | |
tree | f21006e5ef7011510f285f0f2a17d26f7ffeb384 /media-video | |
parent | Switching to use eselect over opengl-update. (diff) | |
download | historical-5a45fdbb5f49dd68409d36737d169c68af9d89ef.tar.gz historical-5a45fdbb5f49dd68409d36737d169c68af9d89ef.tar.bz2 historical-5a45fdbb5f49dd68409d36737d169c68af9d89ef.zip |
Use eselect instead of opengl-update.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-video')
4 files changed, 91 insertions, 8 deletions
diff --git a/media-video/mtxdrivers-pro/ChangeLog b/media-video/mtxdrivers-pro/ChangeLog index ce5aace00c1e..f8f349b1697a 100644 --- a/media-video/mtxdrivers-pro/ChangeLog +++ b/media-video/mtxdrivers-pro/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/mtxdrivers-pro # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers-pro/ChangeLog,v 1.19 2005/04/27 05:53:21 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers-pro/ChangeLog,v 1.20 2005/09/03 22:42:53 eradicator Exp $ + +*mtxdrivers-pro-1.1.0_beta-r3 (03 Sep 2005) + + 03 Sep 2005; Jeremy Huddleston <eradicator@gentoo.org> + +mtxdrivers-pro-1.1.0_beta-r3.ebuild: + Use eselect instead of opengl-update. 27 Apr 2005; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml: Add myself as maintainer so I don't have to be on the alias. diff --git a/media-video/mtxdrivers-pro/Manifest b/media-video/mtxdrivers-pro/Manifest index 2839b1cfcf36..186e47c4a9a1 100644 --- a/media-video/mtxdrivers-pro/Manifest +++ b/media-video/mtxdrivers-pro/Manifest @@ -1,15 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 96969cff43cab2c3f8ea4e9d8926e827 ChangeLog 3227 -MD5 d4d9b7ac51ee44b940c5432cf290b565 files/digest-mtxdrivers-pro-1.1.0_beta-r2 82 -MD5 8117b3258097c083df35b2a39e267bd2 files/mtxdrivers-pro-1.1.0_beta-r2-kernel-2.6-will1-20041013.patch 16754 +MD5 a3f26e0f830c72818ecbe40d04c1b5f9 ChangeLog 3411 MD5 1a99c92c9a037a25087f3b1d1d1a8fd0 metadata.xml 260 MD5 50608a856eb09174fea50fcfde933b9a mtxdrivers-pro-1.1.0_beta-r2.ebuild 2260 +MD5 235f01ebbdd260c6e5b8a844e7c1bfef mtxdrivers-pro-1.1.0_beta-r3.ebuild 2304 +MD5 d4d9b7ac51ee44b940c5432cf290b565 files/digest-mtxdrivers-pro-1.1.0_beta-r2 82 +MD5 8117b3258097c083df35b2a39e267bd2 files/mtxdrivers-pro-1.1.0_beta-r2-kernel-2.6-will1-20041013.patch 16754 +MD5 d4d9b7ac51ee44b940c5432cf290b565 files/digest-mtxdrivers-pro-1.1.0_beta-r3 82 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFCz/UqI1lqEGTUzyQRAmwlAJ9Oww9qVXHtHftAb5BdMr9YFne9oACfc9IZ -6LQVAO66zt9g0zJzMMVMoLY= -=ww/q +iD8DBQFDGib9ArHZZzCEUG0RAqzqAJsFxsUgtBxBuJM91cpL0BHLs6jaiwCgiKT5 +6MnVQpsVt1gNkaJG1BsFDT8= +=p5SK -----END PGP SIGNATURE----- diff --git a/media-video/mtxdrivers-pro/files/digest-mtxdrivers-pro-1.1.0_beta-r3 b/media-video/mtxdrivers-pro/files/digest-mtxdrivers-pro-1.1.0_beta-r3 new file mode 100644 index 000000000000..697ed6cec084 --- /dev/null +++ b/media-video/mtxdrivers-pro/files/digest-mtxdrivers-pro-1.1.0_beta-r3 @@ -0,0 +1 @@ +MD5 adeda36e10fe63e13542a586e3a82dd1 mtxdrivers-rh9.0-v1.1.0-pro-beta.run 2668657 diff --git a/media-video/mtxdrivers-pro/mtxdrivers-pro-1.1.0_beta-r3.ebuild b/media-video/mtxdrivers-pro/mtxdrivers-pro-1.1.0_beta-r3.ebuild new file mode 100644 index 000000000000..4440d5bcf46c --- /dev/null +++ b/media-video/mtxdrivers-pro/mtxdrivers-pro-1.1.0_beta-r3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers-pro/mtxdrivers-pro-1.1.0_beta-r3.ebuild,v 1.1 2005/09/03 22:42:53 eradicator Exp $ + +inherit matrox + +# GL lib version +GL_V="1.3.0" + +# Stupid naming scheme requires this, probably only works for betas +MY_PV="${PV/_/-pro-}" +MY_PN="${PN/-pro}" +MY_P="${MY_PN}-rh9.0-v${MY_PV}" + +DESCRIPTION="Drivers for the Matrox Parhelia and Millenium P650/P750 cards with OpenGL support." +SRC_URI="${MY_P}.run" + +KEYWORDS="~x86" +IUSE="" + +RDEPEND="app-admin/eselect-opengl + !media-video/mtxdrivers" +PROVIDE="virtual/opengl" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "You must go to:" + einfo "http://www.matrox.com/mga/registration/driverhub.cfm?aid=103&dtype=3&osid=7&prodid=40" + einfo "(for the RH9.0 drivers) and log in (or create an account) to download the" + einfo "Matrox Parhelia drivers. Remember to right-click and use Save Link As when" + einfo "downloading the driver." +} + +src_unpack() { + unpack_makeself ${A} + # Patch from http://sowerbutts.com/matrox/ + # found on matrox forums at forum.matrox.com + epatch ${FILESDIR}/${PF}-kernel-2.6-will1-20041013.patch +} + +src_install() { + # Install 2D driver and DRM kernel module + matrox_base_src_install + + dodoc README* + + # Install OpenGL driver, libs, etc. + local GENTOO_GL_ROOT="/usr/lib/opengl" + local GENTOO_MTX_ROOT="${GENTOO_GL_ROOT}/mtx" + + dodir ${GENTOO_MTX_ROOT}/extensions; exeinto ${GENTOO_MTX_ROOT}/extensions + doexe xfree86/${GENTOO_X_VERSION}/libglx.a + + dodir ${GENTOO_MTX_ROOT}/include; insinto ${GENTOO_MTX_ROOT}/include + doins include/GL/gl.h include/GL/glx.h include/GL/glext.h + + dodir ${GENTOO_MTX_ROOT}/lib; exeinto ${GENTOO_MTX_ROOT}/lib + doexe lib/libGL.so.${GL_V} + dosym ../../${X11_IMPLEM}/lib/libGL.so.${GL_V} ${GENTOO_MTX_ROOT}/lib/libGL.so.1 + dosym ../../${X11_IMPLEM}/lib/libGL.so.${GL_V} ${GENTOO_MTX_ROOT}/lib/libGL.so + + # Same as X11 + dosym ../../${X11_IMPLEM}/lib/libGL.la ${GENTOO_MTX_ROOT}/lib/libGL.la +} + +pkg_postinst() { + # modules-update, maybe some info on busmastering + matrox_base_pkg_postinst + + # Don't run opengl-update for them. Tell them how, instead. (spyderous) + eselect opengl set --use-old mtx + einfo "To switch to Matrox OpenGL, run \"eselect opengl set mtx\"" +} |