virtualization/app-emulation/vmware-workstation/vmware-workstation-5.5.9_p126128.ebuild

87 lines
2.4 KiB
Bash
Raw Normal View History

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
VM_SRC="VMware-workstation-${PV/_p/-}.tar.gz"
VM_SRC_EXTRA="genpatches-1"
inherit vmware-1 eutils
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="sys-libs/glibc
amd64? (
app-emulation/emul-linux-x86-gtklibs )
x86? (
x11-libs/libXrandr
x11-libs/libXcursor
x11-libs/libXinerama
x11-libs/libXi
x11-libs/libXft )
!app-emulation/vmware-player
!app-emulation/vmware-server
~app-emulation/vmware-modules-138.9
!<app-emulation/vmware-modules-138.9
!>app-emulation/vmware-modules-138.9
>=dev-lang/perl-5
sys-apps/pciutils"
S=${WORKDIR}/vmware-distrib
dir=/opt/vmware/workstation
Ddir=${D}/${dir}
QA_TEXTRELS_x86="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
QA_EXECSTACK_x86="${dir:1}/bin/vmnet-bridge
${dir:1}/bin/vmnet-dhcpd
${dir:1}/bin/vmnet-natd
${dir:1}/bin/vmnet-netifup
${dir:1}/bin/vmnet-sniffer
${dir:1}/bin/vmware-loop
${dir:1}/bin/vmware-ping
${dir:1}/bin/vmware-vdiskmanager
${dir:1}/lib/bin/vmware
${dir:1}/lib/bin/vmware-vmx
${dir:1}/lib/bin/vmrun
${dir:1}/lib/bin/vmplayer
${dir:1}/lib/bin-debug/vmware-vmx
${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
QA_TEXTRELS_amd64="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
QA_EXECSTACK_amd64="${dir:1}/bin/vmnet-bridge
${dir:1}/bin/vmnet-dhcpd
${dir:1}/bin/vmnet-natd
${dir:1}/bin/vmnet-netifup
${dir:1}/bin/vmnet-sniffer
${dir:1}/bin/vmware-loop
${dir:1}/bin/vmware-ping
${dir:1}/bin/vmware-vdiskmanager
${dir:1}/lib/bin/vmware
${dir:1}/lib/bin/vmware-vmx
${dir:1}/lib/bin/vmrun
${dir:1}/lib/bin/vmplayer
${dir:1}/lib/bin-debug/vmware-vmx
${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
src_install() {
vmware-1_src_install
doicon lib/share/pixmaps/vmware-player.png
# Fix an ugly GCC error on start
rm -f "${Ddir}lib/lib/libgcc_s.so.1/libgcc_s.so.1"
make_desktop_entry vmware "VMWare Workstation" ${PN}.png System
make_desktop_entry vmplayer "VMWare Player" vmware-player.png System
}
pkg_postinst() {
vmware-1_pkg_postinst
ewarn "Vmware Workstation has issues on systems with hal installed but"
ewarn "not running. If you experience trouble with VMware loading, try"
ewarn "starting the hal daemon."
}