Enable building WPSs and themes for charcell targets, and add an example WPS using special charcell progress and text alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13015 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5a69689188
commit
abd103c315
4 changed files with 24 additions and 16 deletions
|
@ -178,6 +178,7 @@ sub buildzip {
|
|||
}
|
||||
|
||||
mkdir ".rockbox/wps", 0777;
|
||||
mkdir ".rockbox/themes", 0777;
|
||||
mkdir ".rockbox/codepages", 0777;
|
||||
|
||||
if($bitmap) {
|
||||
|
@ -191,7 +192,6 @@ sub buildzip {
|
|||
|
||||
if($bitmap) {
|
||||
mkdir ".rockbox/codecs", 0777;
|
||||
mkdir ".rockbox/themes", 0777;
|
||||
if($depth > 1) {
|
||||
mkdir ".rockbox/backdrops", 0777;
|
||||
}
|
||||
|
|
|
@ -191,3 +191,8 @@ Foreground Color: 000000
|
|||
Background Color: FFC000
|
||||
Statusbar: on
|
||||
</wps>
|
||||
|
||||
<wps>
|
||||
Name: progressive.wps
|
||||
Author: Jens Arnold
|
||||
</wps>
|
3
wps/progressive.11x2x1.wps
Normal file
3
wps/progressive.11x2x1.wps
Normal file
|
@ -0,0 +1,3 @@
|
|||
#wps for the archos player with text alignment
|
||||
%s%pp/%pe: %?it<%it|%fn> - %?ia<%ia|%d2> - %?id<%id|%d1>
|
||||
%al%pc%ac%pb%ar%pt
|
|
@ -56,11 +56,9 @@ STOP
|
|||
else {
|
||||
print GCC <<STOP
|
||||
\#include "config.h"
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
Height: LCD_HEIGHT
|
||||
Width: LCD_WIDTH
|
||||
Depth: LCD_DEPTH
|
||||
#endif
|
||||
STOP
|
||||
;
|
||||
}
|
||||
|
@ -132,6 +130,7 @@ sub copywps {
|
|||
}
|
||||
close(WPSFILE);
|
||||
|
||||
if ($#filelist >= 0) {
|
||||
if (-e "$dir/$wps_prefix/$req_g") {
|
||||
foreach $file (@filelist) {
|
||||
system("cp $dir/$wps_prefix/$req_g/$file .rockbox/wps/$wps_prefix/");
|
||||
|
@ -145,6 +144,7 @@ sub copywps {
|
|||
else {
|
||||
print STDERR "beep, no dir to copy WPS from!\n";
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
print STDERR "Skipping $wps - no matching resolution.\n";
|
||||
|
|
Loading…
Reference in a new issue