Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
|
6 |
|
7 |
inherit eutils versionator fdo-mime gnome2-utils pam vmware-bundle |
7 |
inherit eutils fdo-mime gnome2-utils multiprocessing pam versionator vmware-bundle |
8 |
|
8 |
|
9 |
MY_PN="VMware-Workstation" |
9 |
MY_PN="VMware-Workstation" |
10 |
MY_PV=$(get_version_component_range 1-3) |
10 |
MY_PV=$(get_version_component_range 1-3) |
Lines 23-29
LICENSE="vmware"
Link Here
|
23 |
SLOT="0" |
23 |
SLOT="0" |
24 |
KEYWORDS="-* ~amd64 ~x86" |
24 |
KEYWORDS="-* ~amd64 ~x86" |
25 |
IUSE="cups doc ovftool server vix vmware-tools" |
25 |
IUSE="cups doc ovftool server vix vmware-tools" |
26 |
RESTRICT="binchecks mirror strip" |
26 |
RESTRICT="mirror strip" |
27 |
|
27 |
|
28 |
# vmware-workstation should not use virtual/libc as this is a |
28 |
# vmware-workstation should not use virtual/libc as this is a |
29 |
# precompiled binary package thats linked to glibc. |
29 |
# precompiled binary package thats linked to glibc. |
Lines 83-88
RDEPEND="dev-cpp/cairomm
Link Here
|
83 |
PDEPEND="~app-emulation/vmware-modules-271.${PV_MINOR} |
83 |
PDEPEND="~app-emulation/vmware-modules-271.${PV_MINOR} |
84 |
vmware-tools? ( app-emulation/vmware-tools )" |
84 |
vmware-tools? ( app-emulation/vmware-tools )" |
85 |
|
85 |
|
|
|
86 |
QA_PREBUILT="opt/vmware/*" |
87 |
|
86 |
S=${WORKDIR} |
88 |
S=${WORKDIR} |
87 |
VM_INSTALL_DIR="/opt/vmware" |
89 |
VM_INSTALL_DIR="/opt/vmware" |
88 |
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs" |
90 |
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs" |
Lines 90-95
VM_HOSTD_USER="root"
Link Here
|
90 |
|
92 |
|
91 |
src_unpack() { |
93 |
src_unpack() { |
92 |
default |
94 |
default |
|
|
95 |
multijob_init |
93 |
local bundle=${A%.tar} |
96 |
local bundle=${A%.tar} |
94 |
local component; for component in \ |
97 |
local component; for component in \ |
95 |
vmware-vmx \ |
98 |
vmware-vmx \ |
Lines 101-120
src_unpack() {
Link Here
|
101 |
vmware-usbarbitrator \ |
104 |
vmware-usbarbitrator \ |
102 |
vmware-vprobe |
105 |
vmware-vprobe |
103 |
do |
106 |
do |
104 |
vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}" |
107 |
multijob_child_init vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}" |
105 |
done |
108 |
done |
106 |
|
109 |
|
107 |
if use server; then |
110 |
if use server; then |
108 |
vmware-bundle_extract-bundle-component "${bundle}" vmware-workstation-server #"${S}" |
111 |
multijob_child_init vmware-bundle_extract-bundle-component "${bundle}" vmware-workstation-server #"${S}" |
109 |
fi |
112 |
fi |
110 |
|
113 |
|
111 |
if use vix; then |
114 |
if use vix; then |
112 |
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-core vmware-vix |
115 |
multijob_child_init vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-core vmware-vix |
113 |
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-lib-Workstation900andvSphere510 vmware-vix |
116 |
multijob_child_init vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-lib-Workstation900andvSphere510 vmware-vix |
114 |
fi |
117 |
fi |
115 |
if use ovftool; then |
118 |
if use ovftool; then |
116 |
vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool |
119 |
multijob_child_init vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool |
117 |
fi |
120 |
fi |
|
|
121 |
multijob_finish || die "unpack failed!" |
118 |
} |
122 |
} |
119 |
|
123 |
|
120 |
src_prepare() { |
124 |
src_prepare() { |