virtualization/app-emulation/vmware-player/vmware-player-2.0.5_p109488.ebuild

73 lines
1.9 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-player-${PV/_p/-}.i386.tar.gz"
VM_SRC64="VMware-player-${PV/_p/-}.x86_64.tar.gz"
VM_SRC_EXTRA="genpatches-4"
VM_SRC_EXTRA64="genpatches-4"
inherit eutils vmware-1
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
DEPEND="${RDEPEND} virtual/os-headers
!app-emulation/vmware-workstation"
# vmware-player should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="sys-libs/glibc
x11-libs/libXrandr
x11-libs/libXcursor
x11-libs/libXinerama
x11-libs/libXi
x11-libs/libXft
>=dev-lang/perl-5
!app-emulation/vmware-workstation
!app-emulation/vmware-server
~app-emulation/vmware-modules-169.5
!<app-emulation/vmware-modules-169.5
!>app-emulation/vmware-modules-169.5
sys-apps/pciutils"
S=${WORKDIR}/vmware-player-distrib
dir=/opt/vmware/player
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-ping
${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-ping
${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
make_desktop_entry vmplayer "VMware Player" ${PN}.png System
insinto ${dir}/lib/share
newins doc/EULA EULA.txt
}