wok-6.x rev 19135
vlc: add locale (thanks sonycrokett2000), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 16:17:15 2016 +0200 (2016-05-17) |
parents | fa58eb98af1e |
children | 371dbdc6002e |
files | vlc-locale/receipt vlc/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vlc-locale/receipt Tue May 17 16:17:15 2016 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="vlc-locale" 1.7 +VERSION="2.2.3" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Locale files for vlc" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.videolan.org/vlc/" 1.13 +WANTED="vlc" 1.14 + 1.15 +SUGGESTED="vlc" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + for i in de el en:en_GB es fa fr pl pt_BR ru sv zh_CN zh_TW ; do 1.21 + mkdir -p $fs/usr/share/locale/${i%:*} 1.22 + cp -a $src/po/${i#*:}.gmo $fs/usr/share/locale/${i%:*}/vlc.mo 1.23 + done 1.24 +}
2.1 --- a/vlc/receipt Tue May 17 16:06:04 2016 +0200 2.2 +++ b/vlc/receipt Tue May 17 16:17:15 2016 +0200 2.3 @@ -47,10 +47,6 @@ 2.4 mkdir -p $fs/usr/share/pixmaps 2.5 cp -a $install/usr/bin $fs/usr 2.6 cp -a $install/usr/share/$PACKAGE $fs/usr/share 2.7 - for i in de el en:en_GB es fa fr pl pt_BR ru sv zh_CN zh_TW ; do 2.8 - mkdir -p $fs/usr/share/locale/${i%:*} 2.9 - cp -a $src/po/${i#*:}.gmo $fs/usr/share/locale/${i%:*}/vlc.mo 2.10 - done 2.11 #Remove extra icons 2.12 rm $fs/usr/share/$PACKAGE/*.ico 2.13 #copy vlc icon