Changeset View
Changeset View
Standalone View
Standalone View
cursors/Breeze/build.sh
Property | Old Value | New Value |
---|---|---|
File Mode | 100644 | 100755 |
Context not available. | |||||
41 | 41 | | |||
---|---|---|---|---|---|
42 | echo -ne "Making Folders... $BASENAME\\r" | 42 | echo -ne "Making Folders... $BASENAME\\r" | ||
43 | DIR2X="build/x2" | 43 | DIR2X="build/x2" | ||
44 | DIR1_5X="build/x1_5" | ||||
44 | DIR1X="build/x1" | 45 | DIR1X="build/x1" | ||
45 | OUTPUT="$(grep --only-matching --perl-regex "(?<=Name\=).*$" $INDEX)" | 46 | OUTPUT="$(grep --only-matching --perl-regex "(?<=Name\=).*$" $INDEX)" | ||
46 | OUTPUT=${OUTPUT// /_} | 47 | OUTPUT=${OUTPUT// /_} | ||
47 | mkdir -p "$DIR2X" | 48 | mkdir -p "$DIR2X" | ||
49 | mkdir -p "$DIR1_5X" | ||||
48 | mkdir -p "$DIR1X" | 50 | mkdir -p "$DIR1X" | ||
49 | mkdir -p "$OUTPUT/cursors" | 51 | mkdir -p "$OUTPUT/cursors" | ||
50 | echo 'Making Folders... DONE'; | 52 | echo 'Making Folders... DONE'; | ||
Context not available. | |||||
62 | inkscape -i $BASENAME -d 90 -f $RAWSVG -e "$DIR1X/$BASENAME.png" > /dev/null | 64 | inkscape -i $BASENAME -d 90 -f $RAWSVG -e "$DIR1X/$BASENAME.png" > /dev/null | ||
63 | fi | 65 | fi | ||
64 | 66 | | |||
67 | if [ "$DIR1_5X/$BASENAME.png" -ot $RAWSVG ] ; then | ||||
68 | inkscape -i $BASENAME -d 135 -f $RAWSVG -e "$DIR1_5X/$BASENAME.png" > /dev/null | ||||
69 | fi | ||||
70 | | ||||
65 | if [ "$DIR2X/$BASENAME.png" -ot $RAWSVG ] ; then | 71 | if [ "$DIR2X/$BASENAME.png" -ot $RAWSVG ] ; then | ||
66 | inkscape -i $BASENAME -d 180 -f $RAWSVG -e "$DIR2X/$BASENAME.png" > /dev/null | 72 | inkscape -i $BASENAME -d 180 -f $RAWSVG -e "$DIR2X/$BASENAME.png" > /dev/null | ||
67 | fi | 73 | fi | ||
Context not available. | |||||
78 | inkscape -i progress-$i -d 90 -f $RAWSVG -e "$DIR1X/progress-$i.png" > /dev/null | 84 | inkscape -i progress-$i -d 90 -f $RAWSVG -e "$DIR1X/progress-$i.png" > /dev/null | ||
79 | fi | 85 | fi | ||
80 | 86 | | |||
87 | if [ "$DIR1_5X/progress-$i.png" -ot $RAWSVG ] ; then | ||||
88 | inkscape -i progress-$i -d 135 -f $RAWSVG -e "$DIR1_5X/progress-$i.png" > /dev/null | ||||
89 | fi | ||||
90 | | ||||
81 | if [ "$DIR2X/progress-$i.png" -ot $RAWSVG ] ; then | 91 | if [ "$DIR2X/progress-$i.png" -ot $RAWSVG ] ; then | ||
82 | inkscape -i progress-$i -d 180 -f $RAWSVG -e "$DIR2X/progress-$i.png" > /dev/null | 92 | inkscape -i progress-$i -d 180 -f $RAWSVG -e "$DIR2X/progress-$i.png" > /dev/null | ||
83 | fi | 93 | fi | ||
Context not available. | |||||
86 | inkscape -i wait-$i -d 90 -f $RAWSVG -e "$DIR1X/wait-$i.png" > /dev/null | 96 | inkscape -i wait-$i -d 90 -f $RAWSVG -e "$DIR1X/wait-$i.png" > /dev/null | ||
87 | fi | 97 | fi | ||
88 | 98 | | |||
99 | if [ "$DIR1_5X/wait-$i.png" -ot $RAWSVG ] ; then | ||||
100 | inkscape -i wait-$i -d 135 -f $RAWSVG -e "$DIR1_5X/wait-$i.png" > /dev/null | ||||
101 | fi | ||||
102 | | ||||
89 | if [ "$DIR2X/wait-$i.png" -ot $RAWSVG ] ; then | 103 | if [ "$DIR2X/wait-$i.png" -ot $RAWSVG ] ; then | ||
90 | inkscape -i wait-$i -d 180 -f $RAWSVG -e "$DIR2X/wait-$i.png" > /dev/null | 104 | inkscape -i wait-$i -d 180 -f $RAWSVG -e "$DIR2X/wait-$i.png" > /dev/null | ||
91 | fi | 105 | fi | ||
Context not available. | |||||
133 | 147 | | |||
134 | 148 | | |||
135 | 149 | | |||
136 | echo "COMPLETE!" | 150 | echo "COMPLETE!" | ||
137 | No newline at end of file | | |||
Context not available. |