72 lines
1.8 KiB
Bash
72 lines
1.8 KiB
Bash
|
# 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/-}.tar.gz"
|
||
|
VM_SRC_EXTRA="genpatches-1"
|
||
|
|
||
|
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
|
||
|
amd64? (
|
||
|
app-emulation/emul-linux-x86-gtklibs )
|
||
|
x86? (
|
||
|
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-138.9
|
||
|
!<app-emulation/vmware-modules-138.9
|
||
|
!>app-emulation/vmware-modules-138.9
|
||
|
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
|
||
|
}
|