diff options
author | 2012-01-27 18:10:28 +0000 | |
---|---|---|
committer | 2012-01-27 18:10:28 +0000 | |
commit | 09d83f973aef3ab94183c382adfce5ee9273adc3 (patch) | |
tree | b5ac24e01d8fa3a52a342391ea538a790cf15da3 /app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild | |
parent | Version bump, remove old. (diff) | |
download | gentoo-2-09d83f973aef3ab94183c382adfce5ee9273adc3.tar.gz gentoo-2-09d83f973aef3ab94183c382adfce5ee9273adc3.tar.bz2 gentoo-2-09d83f973aef3ab94183c382adfce5ee9273adc3.zip |
Version bump, remove old.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild')
-rw-r--r-- | app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild b/app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild new file mode 100644 index 000000000000..a1aaa3b09323 --- /dev/null +++ b/app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-opengl/emul-linux-x86-opengl-20120127.ebuild,v 1.1 2012/01/27 18:10:28 pacho Exp $ + +EAPI="4" + +inherit emul-linux-x86 + +LICENSE="BSD LGPL-2 MIT" + +KEYWORDS="-* ~amd64 ~amd64-linux" + +DEPEND="app-admin/eselect-opengl + >=app-admin/eselect-mesa-0.0.9" +RDEPEND=">=app-emulation/emul-linux-x86-xlibs-20100611 + !<app-emulation/emul-linux-x86-xlibs-20100611 + media-libs/mesa" + +src_prepare() { + emul-linux-x86_src_prepare + rm -f "${S}/usr/lib32/libGL.so" || die + rm -f "${S}/usr/lib32/libGL.so.1" || die +} + +pkg_postinst() { + # Update GL symlinks + eselect opengl set --use-old || die + # And the same for mesa (bug #355393) + eselect mesa set 32bit --auto || die +} |