Guest User

Untitled

a guest
Jun 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. --- PKGBUILD.orig 2010-09-25 15:16:08.847809912 +0200
  2. +++ PKGBUILD 2010-09-25 15:40:09.577809912 +0200
  3. @@ -2,6 +2,7 @@
  4. # Based mostly on the great bin32-google-earth PKGBUILD by srabd
  5.  
  6. _use_arch_libs="no" # Change to "no" if you want to use provided-by-Google libraries instead of provided-by-Arch ones.
  7. +_disable_webkit_plugins="yes"
  8.  
  9. pkgname=google-earth
  10. pkgver=5.2.1.1588
  11. @@ -56,11 +57,16 @@
  12. rm ${_libs_to_remove} || return 1
  13. install -D -m644 ${srcdir}/qt.conf ${pkgdir}/opt/${pkgname}/qt.conf
  14. fi
  15. +
  16. + if [ "${_disable_webkit_plugins}" == "yes" ]; then
  17. + cd ${pkgdir}/opt/${pkgname} || return 1
  18. + sed -bi "s/plugins/FAILins/g" libQtWebKit.so.4 || return 1
  19. + fi
  20. }
  21.  
  22. md5sums=('19ccb5dff2b1165c2a3644cbf6d680ee'
  23. '757d9726191f365209fa13acdd0ab6e7'
  24. - '0b3b5632f7bea896f74a43a8c16d0934'
  25. + '1c0fdf5706c1b9a66b94ad331c535cf9'
  26. 'd819a1961382826b7f92ee32dd67f2e1'
  27. '84e1efd656f86c52333cc629b31accb0'
  28. '2922f8668ae19e6d9c558aaadda90af8'
  29. --- googleearth.orig 2010-09-25 15:18:36.897809912 +0200
  30. +++ googleearth 2010-09-25 15:19:14.801143246 +0200
  31. @@ -22,5 +22,8 @@
  32. export LC_NUMERIC=en_US.UTF8
  33. fi
  34.  
  35. +export MOZ_PLUGIN_PATH=/var/empty
  36. +export QTWEBKIT_PLUGIN_PATH=/var/empty
  37. +export MOZILLA_HOME=/var/empty
  38.  
  39. exec "./googleearth-bin" $*
Add Comment
Please, Sign In to add comment