# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-xlibs/emul-linux-x86-xlibs-20081109.ebuild,v 1.1 2008/11/10 03:31:38 kingtaco Exp $ inherit emul-linux-x86 LICENSE="fontconfig FTL GPL-2 LGPL-2 glut libdrm libICE libSM libX11 libXau libXaw libXcomposite libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXinerama libXmu libXp libXpm libXrandr libXrender libXScrnSaver libXt libXtst libXv libXvMC libXxf86dga libXxf86dga libXxf86vm MOTIF" KEYWORDS="-* ~amd64" IUSE="opengl" DEPEND="opengl? ( app-admin/eselect-opengl )" RDEPEND=">=app-emulation/emul-linux-x86-baselibs-20081109 x11-libs/libX11 opengl? ( media-libs/mesa )" src_unpack() { emul-linux-x86_src_unpack rm -f "${S}/usr/lib32/libGL.so" } pkg_postinst() { #update GL symlinks use opengl && eselect opengl set --use-old }