|
Line 9
Link Here
|
| 9 |
SRC_URI="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin" |
|
|
|
Line 11
Link Here
|
| 11 |
LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB" |
10 |
IUSE="fixati" |
| 12 |
-- |
11 |
|
|
|
12 |
ATI_FIX_VERSION="8.27.10" |
| 13 |
ATI_URL="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/" |
| 14 |
ATI_FILE="ati-driver-installer-${ATI_FIX_VERSION}-x86_64.run" |
| 15 |
GOOGLE_URL="http://dl.google.com/earth/client/current/" |
| 16 |
GOOGLE_FILE="GoogleEarthLinux.bin" |
| 17 |
|
| 18 |
SRC_URI="fixati? (${ATI_URL}${ATI_FILE}) ${GOOGLE_URL}${GOOGLE_FILE}" |
| 19 |
|
| 20 |
LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB fixati? (ATI)" |
|
Line 15
Link Here
|
| 15 |
IUSE="" |
|
|
|
Line 39
Link Here
|
|
|
47 |
pkg_setup() { |
| 48 |
if has_version ">=x11-drivers/ati-drivers-2.28.8" |
| 49 |
then |
| 50 |
ewarn "Google Earth does not work with some versions of ATI drivers on amd64." |
| 51 |
ewarn "To install a work around, emerge with fixati use flag." |
| 52 |
fi |
| 53 |
} |
| 54 |
|
|
Line 40
Link Here
|
| 40 |
unpack_makeself |
56 |
unpack_makeself ${GOOGLE_FILE} |
| 41 |
-- |
|
|
|
Line 49
Link Here
|
|
|
65 |
|
| 66 |
if use fixati |
| 67 |
then |
| 68 |
ebegin "Unpacking Ati driver to get old libGL" |
| 69 |
mkdir atifix |
| 70 |
sh "${DISTDIR}"/${ATI_FILE} --extract "atifix" &> /dev/null |
| 71 |
eend $? || die "unpack failed" |
| 72 |
fi |
|
Line 60
Link Here
|
|
|
84 |
if use fixati |
| 85 |
then |
| 86 |
cp ${WORKDIR}/atifix/arch/x86_64/usr/X11R6/lib/libGL.so.1.2 bin/libGL.so.1 |
| 87 |
fi |
| 88 |
|