# Copyright 1999-2010 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-20100220.ebuild,v 1.3 2010/06/15 18:01:03 darkside Exp $ inherit emul-linux-x86 LICENSE="BSD FTL GPL-2 LGPL-2 MIT MOTIF" KEYWORDS="-* amd64" IUSE="opengl" DEPEND="opengl? ( app-admin/eselect-opengl )" RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV} x11-libs/libX11 opengl? ( media-libs/mesa )" src_unpack() { emul-linux-x86_src_unpack rm -f "${S}/usr/lib32/libGL.so" || die } pkg_postinst() { #update GL symlinks use opengl && eselect opengl set --use-old }