From fea6f69f0e2101cdea88e90a00da57040083ad16 Mon Sep 17 00:00:00 2001
From: Hicham HAOUARI <hicham.haouari@gmail.com>
Date: Sun, 12 Sep 2010 01:37:49 +0000
Subject: [PATCH] Add desktop file and sized icons

Signed-off-by: Hicham HAOUARI <hicham.haouari@gmail.com>
---
 CMakeLists.txt                   |   15 +++++++++++++++
 media/lightspark-ico-128x128.png |  Bin 0 -> 65912 bytes
 media/lightspark-ico-16x16.png   |  Bin 0 -> 1182 bytes
 media/lightspark-ico-192x192.png |  Bin 0 -> 148026 bytes
 media/lightspark-ico-20x20.png   |  Bin 0 -> 1762 bytes
 media/lightspark-ico-22x22.png   |  Bin 0 -> 2100 bytes
 media/lightspark-ico-24x24.png   |  Bin 0 -> 2470 bytes
 media/lightspark-ico-256x256.png |  Bin 0 -> 262966 bytes
 media/lightspark-ico-32x32.png   |  Bin 0 -> 4270 bytes
 media/lightspark-ico-36x36.png   |  Bin 0 -> 5362 bytes
 media/lightspark-ico-48x48.png   |  Bin 0 -> 9418 bytes
 media/lightspark-ico-64x64.png   |  Bin 0 -> 16614 bytes
 media/lightspark-ico-72x72.png   |  Bin 0 -> 20974 bytes
 media/lightspark-ico-96x96.png   |  Bin 0 -> 37155 bytes
 media/lightspark.desktop         |   11 +++++++++++
 15 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 media/lightspark-ico-128x128.png
 create mode 100644 media/lightspark-ico-16x16.png
 create mode 100644 media/lightspark-ico-192x192.png
 create mode 100644 media/lightspark-ico-20x20.png
 create mode 100644 media/lightspark-ico-22x22.png
 create mode 100644 media/lightspark-ico-24x24.png
 create mode 100644 media/lightspark-ico-256x256.png
 create mode 100644 media/lightspark-ico-32x32.png
 create mode 100644 media/lightspark-ico-36x36.png
 create mode 100644 media/lightspark-ico-48x48.png
 create mode 100644 media/lightspark-ico-64x64.png
 create mode 100644 media/lightspark-ico-72x72.png
 create mode 100644 media/lightspark-ico-96x96.png
 create mode 100644 media/lightspark.desktop

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a37649e..9430389 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -362,3 +362,18 @@ ENDIF(${AUDIO_BACKEND} MATCHES "alsa")
 IF(${AUDIO_BACKEND} MATCHES "openal")
   ADD_SUBDIRECTORY(backends/interfaces/audio/openal)
 ENDIF(${AUDIO_BACKEND} MATCHES "openal")
+
+#Install icons and desktop file
+if(UNIX)
+  FOREACH(i 16 20 22 24 32 36 48 64 72 96 128 192 256 )
+    INSTALL(FILES media/lightspark-ico-${i}x${i}.png
+            DESTINATION ${DATADIR}/icons/hicolor/${i}x${i}/apps
+            RENAME lightspark.png
+           )
+  ENDFOREACH(i)
+  INSTALL(FILES media/lightspark-ico.svg
+          DESTINATION ${DATADIR}/icons/hicolor/scalable/apps
+          RENAME lightspark.svg
+         )
+  INSTALL(FILES media/lightspark.desktop DESTINATION ${DATADIR}/applications )
+endif(UNIX)
diff --git a/media/lightspark-ico-128x128.png b/media/lightspark-ico-128x128.png
new file mode 100644
index 0000000000000000000000000000000000000000..5f33297439fbd50c6b82cc5fe9f5ed9ac5af0a8b
GIT binary patch
diff --git a/media/lightspark-ico-16x16.png b/media/lightspark-ico-16x16.png
new file mode 100644
index 0000000000000000000000000000000000000000..b783780801c395080c057b0c0dcfb6b1e9a60545
GIT binary patch
diff --git a/media/lightspark-ico-192x192.png b/media/lightspark-ico-192x192.png
new file mode 100644
index 0000000000000000000000000000000000000000..9861651ba1f4d4330a0280338ce34a330d6be1ea
GIT binary patch
diff --git a/media/lightspark-ico-20x20.png b/media/lightspark-ico-20x20.png
new file mode 100644
index 0000000000000000000000000000000000000000..1881fdee619011b16f7e6c776d61e8e86b13a413
GIT binary patch
diff --git a/media/lightspark-ico-22x22.png b/media/lightspark-ico-22x22.png
new file mode 100644
index 0000000000000000000000000000000000000000..e62fe0b4128acba29f5d1ce2bb09a29df3753baa
GIT binary patch
diff --git a/media/lightspark-ico-24x24.png b/media/lightspark-ico-24x24.png
new file mode 100644
index 0000000000000000000000000000000000000000..4c0fb2825a13f09b0ede540d3361730d25bf59f9
GIT binary patch
diff --git a/media/lightspark-ico-256x256.png b/media/lightspark-ico-256x256.png
new file mode 100644
index 0000000000000000000000000000000000000000..744d5d678701d12e9c861970f211e9b3284855c1
GIT binary patch
diff --git a/media/lightspark-ico-32x32.png b/media/lightspark-ico-32x32.png
new file mode 100644
index 0000000000000000000000000000000000000000..7e7f72068464a6d5fe853dc02acfadb5dddfbde2
GIT binary patch
diff --git a/media/lightspark-ico-36x36.png b/media/lightspark-ico-36x36.png
new file mode 100644
index 0000000000000000000000000000000000000000..08f61555018154586ff4bc32f0271709516f3534
GIT binary patch
diff --git a/media/lightspark-ico-48x48.png b/media/lightspark-ico-48x48.png
new file mode 100644
index 0000000000000000000000000000000000000000..1aeba594146e384b4a86ca62c9f37304db62e007
GIT binary patch
diff --git a/media/lightspark-ico-64x64.png b/media/lightspark-ico-64x64.png
new file mode 100644
index 0000000000000000000000000000000000000000..badfda77fe49f46da8b01fa63eb1aeccfe92bd6f
GIT binary patch
diff --git a/media/lightspark-ico-72x72.png b/media/lightspark-ico-72x72.png
new file mode 100644
index 0000000000000000000000000000000000000000..9fa731c3ad33c5cbf1f2fb33bb4fdf3ca9088c6c
GIT binary patch
diff --git a/media/lightspark-ico-96x96.png b/media/lightspark-ico-96x96.png
new file mode 100644
index 0000000000000000000000000000000000000000..7173c63c2762b01ab97940fb1868dc1aaf9f8d5f
GIT binary patch
diff --git a/media/lightspark.desktop b/media/lightspark.desktop
new file mode 100644
index 0000000..b1b6836
--- /dev/null
+++ b/media/lightspark.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Lightspark
+Comment=An alternative flash player
+TryExec=lightspark
+Exec=lightspark
+Icon=lightspark
+NoDisplay=true
+Type=Application
+Categories=GNOME;GTK;AudioVideo;Video;Player;
+MimeType=application/x-shockwave-flash;
+StartupNotify=true
-- 
1.7.2.3

