[Lunar-commits] <moonbase> flash-plugin-beta: Making the BUILD the same as flash-plugin-11.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Wed Dec 28 14:09:10 CET 2011
commit 14e1380a6121eec52ac22ba1819867722db087d0
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Wed Dec 28 08:09:10 2011 -0500
flash-plugin-beta: Making the BUILD the same as flash-plugin-11.
---
web/flash-plugin-beta/BUILD | 26 +++++++++++++++++++-------
1 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/web/flash-plugin-beta/BUILD b/web/flash-plugin-beta/BUILD
index ced3cbd..535f993 100644
--- a/web/flash-plugin-beta/BUILD
+++ b/web/flash-plugin-beta/BUILD
@@ -1,17 +1,29 @@
(
# This only applies if you do not have kdelibs4/Qt4 installed.
-# if ! module_installed kdelibs4 ; then
-# rm -rf usr/lib/kde4 usr/share/kde4
-# fi &&
+ if ! module_installed kdelibs ; then
+ rm -rf usr/lib* usr/share/kde4
+ fi &&
prepare_install &&
install -Dm755 libflashplayer.so /opt/lunar/plugins/libflashplayer.so &&
-# cp -af usr / &&
+ install -m755 usr/bin/flash-player-properties /usr/bin &&
+ install -m755 usr/share/pixmaps/flash-player-properties.png /usr/share/pixmaps/ &&
+ install -m755 usr/share/applications/flash-player-properties.desktop /usr/share/applications/ &&
+ cp -af usr/share/icons /usr/share/icons/ &&
-# if [ -x /usr/bin/gtk-update-icon-cache -a -f /usr/share/icons/hicolor/index.theme ]; then
-# gtk-update-icon-cache -f /usr/share/icons/hicolor
-# fi &&
+ if module_installed kdelibs ; then
+ cp -af usr/share/kde4/services/* /usr/share/kde4/services/ &&
+ if [ `arch` == "x86_64" ] ; then
+ cp -af usr/lib64/kde4/* /usr/lib/kde4/
+ else
+ cp -af usr/lib/* /usr/lib/kde4/
+ fi
+ fi &&
+
+ if [ -x /usr/bin/gtk-update-icon-cache -a -f /usr/share/icons/hicolor/index.theme ]; then
+ gtk-update-icon-cache -f /usr/share/icons/hicolor
+ fi &&
# Enable 3D acceleration using OpenGL
if ! grep -q OverrideGPUValidation /etc/adobe/mms.cfg 2>/dev/null ; then
More information about the Lunar-commits
mailing list