wok-6.x rev 12013
stella: use desktop file provided in source but with a sed edit to remove png
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Mar 05 22:54:21 2012 -0800 (2012-03-05) |
parents | 184f3daf3b55 |
children | 1490ced67f58 |
files | stella/receipt stella/stuff/stella.desktop |
line diff
1.1 --- a/stella/receipt Tue Mar 06 05:19:00 2012 +0100 1.2 +++ b/stella/receipt Mon Mar 05 22:54:21 2012 -0800 1.3 @@ -26,5 +26,12 @@ 1.4 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications 1.5 cp -a $_pkg/usr/bin $fs/usr 1.6 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps 1.7 + cp -a $_pkg/usr/share/applications/stella.desktop \ 1.8 + $fs/usr/share/applications/stella.desktop 1.9 } 1.10 1.11 +post_install() 1.12 +{ 1.13 + sed -i 's|Icon=stella.png|Icon=stella|' \ 1.14 + $fs/usr/share/applications/stella.desktop 1.15 +}
2.1 --- a/stella/stuff/stella.desktop Tue Mar 06 05:19:00 2012 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,8 +0,0 @@ 2.4 -[Desktop Entry] 2.5 -Name=Stella 2.6 -Comment=A multi-platform Atari 2600 emulator 2.7 -Exec=stella %f 2.8 -Icon=stella 2.9 -Terminal=false 2.10 -Type=Application 2.11 -Categories=Application;Emulator;Game;