summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware12/data/opt/openslx/bin/vmplayer
blob: f94c879460304625b2212fcc6dda3dcd791f87dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/ash
# radically simplified version of the original script vmplayer by VMware Inc.
PREFIX=/usr/lib/vmware # depends on the vmware location

# HACK: Let the OpenGL driver report s3tc capability even if not present, so 3D will be enabled
export force_s3tc_enable=true

PROG=$(basename $0)

# various hacks to help vmplayer find its own libs -.-
export VMWARE_USE_SHIPPED_LIBS=force
export LD_LIBRARY_PATH=$( find /usr/lib/vmware/lib/ -maxdepth 1 -mindepth 1 -type d | awk 'BEGIN{p=""}{p=p$0":"}END{print p}' )

exec "$PREFIX/lib/wrapper-gtk24.sh" \
     "$PREFIX/lib" \
     "$PREFIX/bin/$PROG" \
     "$PREFIX/libconf" "$@"