Commit 49290dbf authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: added google earth (eterbug #18538)

parent 42ffe3d6
#!/bin/sh
PKGNAME=google-earth-pro-stable
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="3D interface to explore the globe, terrain, streets, buildings and other planets (Pro version)"
URL="https://www.google.com/earth/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
case "$(epm print info -p)" in
rpm)
PKGURL="https://dl.google.com/dl/earth/client/current/google-earth-pro-stable-current.x86_64.rpm"
;;
*)
PKGURL="https://dl.google.com/dl/earth/client/current/google-earth-pro-stable-current.x86_64.deb"
;;
esac
install_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCTDIR=/opt/google/earth/pro
. $(dirname $0)/common.sh
remove_dir /etc/cron.daily
# Avoid objdump: /var/tmp/tmp.5cjDQD1wzG/google-earth-pro-stable-current.x86_64.rpm.tmpdir/google-earth-pro-stable-7.3.6.10201/opt/google/earth/pro/libdebuginfod.so.1: формат файла не распознан
remove_file /opt/google/earth/pro/libdebuginfod.so.1
move_file /opt/google/earth/pro/google-earth-pro.desktop /usr/share/applications/google-earth-pro.desktop
move_file /opt/google/earth/pro/product_logo_256.png /usr/share/pixmaps/google-earth-pro.png
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment