wok rev 19134
vlc: add locale (thanks sonycrokett2000)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 16:06:04 2016 +0200 (2016-05-17) |
parents | 3a7c869c0faf |
children | f8a2fafebed5 |
files | readline/receipt vlc/receipt |
line diff
1.1 --- a/readline/receipt Sun May 15 17:56:41 2016 +0100 1.2 +++ b/readline/receipt Tue May 17 16:06:04 2016 +0200 1.3 @@ -17,6 +17,9 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + case "$ARCH" in 1.8 + arm*) export bash_cv_wcwidth_broken=true ;; 1.9 + esac 1.10 cd $src 1.11 patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch 1.12 sed -i '/(MV)/d' Makefile*
2.1 --- a/vlc/receipt Sun May 15 17:56:41 2016 +0100 2.2 +++ b/vlc/receipt Tue May 17 16:06:04 2016 +0200 2.3 @@ -47,6 +47,10 @@ 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