wok-current rev 10952
Update get-xnviewmp (thanks Saipul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 11 15:55:20 2011 +0200 (2011-09-11) |
parents | 01076ad2186a |
children | 3a281a978a7a |
files | get-xnviewmp/stuff/get-xnviewmp |
line diff
1.1 --- a/get-xnviewmp/stuff/get-xnviewmp Tue Sep 06 11:45:42 2011 +0200 1.2 +++ b/get-xnviewmp/stuff/get-xnviewmp Sun Sep 11 15:55:20 2011 +0200 1.3 @@ -33,25 +33,44 @@ 1.4 mkdir -p xnviewmp/fs/usr/bin 1.5 mkdir -p xnviewmp/fs/usr/lib/xnviewmp/ 1.6 mkdir -p xnviewmp/fs/usr/share/xnviewmp/ 1.7 +mkdir -p xnviewmp/fs/usr/share/applications 1.8 1.9 # use mv instead of 'cp -a' to save RAM 1.10 -mv lib* xnviewmp/fs/usr/lib/xnviewmp/ 1.11 -mv phonon_backend xnviewmp/fs/usr/lib/xnviewmp/ 1.12 +mv lib xnviewmp/fs/usr/lib/xnviewmp/ 1.13 mv language xnviewmp/fs/usr/share/xnviewmp/ 1.14 +mv AddOn xnviewmp/fs/usr/lib/xnviewmp/ 1.15 +mv Plugins xnviewmp/fs/usr/lib/xnviewmp/ 1.16 +mv UI xnviewmp/fs/usr/lib/xnviewmp/ 1.17 mv xnview xnviewmp/fs/usr/share/xnviewmp/ 1.18 +mv *.png xnviewmp/fs/usr/share/xnviewmp/ 1.19 +mv country.txt xnviewmp/fs/usr/lib/xnviewmp/ 1.20 +mv qt.conf xnviewmp/fs/usr/lib/xnviewmp/ 1.21 1.22 cat > xnviewmp/fs/usr/bin/xnview <<EOT 1.23 #!/bin/sh 1.24 -LD_LIBRARY_PATH=/usr/lib/xnviewmp/ 1.25 +LD_LIBRARY_PATH=/usr/lib/xnviewmp/lib 1.26 export LD_LIBRARY_PATH 1.27 /usr/share/xnviewmp/xnview 1.28 EOT 1.29 chmod +x xnviewmp/fs/usr/bin/xnview 1.30 1.31 +cat > xnviewmp/fs/usr/share/applications/XnView.desktop <<EOT 1.32 +[Desktop Entry] 1.33 +Encoding=UTF-8 1.34 +Terminal=0 1.35 +Exec=xnview 1.36 +Icon=/usr/share/xnviewmp/xnview.png 1.37 +Type=Application 1.38 +Categories=Graphics; 1.39 +StartupNotify=true 1.40 +Name=XnView Multi Platform 1.41 +GenericName=XnViewMP 1.42 +EOT 1.43 + 1.44 # Create pseudo package 1.45 cat > xnviewmp/receipt <<EOT 1.46 PACKAGE="xnviewmp" 1.47 -VERSION="0.12" 1.48 +VERSION="0.39" 1.49 CATEGORY="non-free" 1.50 SHORT_DESC="XnViewMP" 1.51 WEB_SITE="http://www.xnview.com"