Lines 134-140
WEB_BASE_ICONS := $(WEB_ICON_SIZES_REVERSE:%=icon_%.png)
Link Here
|
134 |
# General conversion |
134 |
# General conversion |
135 |
icon_%.png: thinlinc_icon.svg |
135 |
icon_%.png: thinlinc_icon.svg |
136 |
cbrun i386 convert -depth 8 \ |
136 |
cbrun i386 convert -depth 8 \ |
137 |
-background transparent -size $*x$* "$(lastword $^)" "$@" |
137 |
-background transparent -size $*x$* "$(lastword $^)" \ |
|
|
138 |
-font Roboto-Bold -pointsize `bc <<< 'scale=2; $*/1.8'` -fill "#00ff00" \ |
139 |
-draw "gravity Center text +0+0 \"$*\"" \ |
140 |
-stroke "#ff0000" -strokewidth 4 \ |
141 |
-fill none -draw "rectangle 2,2 `expr $* - 3`,`expr $* - 3`" \ |
142 |
"$@" |
138 |
|
143 |
|
139 |
$(IOS_SIZES:%=icon_opaque_%.png): thinlinc_icon.svg |
144 |
$(IOS_SIZES:%=icon_opaque_%.png): thinlinc_icon.svg |
140 |
$(IPAD_SIZES:%=icon_opaque_%.png): thinlinc_icon_76.svg |
145 |
$(IPAD_SIZES:%=icon_opaque_%.png): thinlinc_icon_76.svg |
Lines 145-151
$(IOS_NOTIFY_SIZES:%=icon_opaque_%.png): thinlinc_icon_114.svg
Link Here
|
145 |
|
150 |
|
146 |
icon_opaque_%.png: |
151 |
icon_opaque_%.png: |
147 |
cbrun i386 convert -depth 8 \ |
152 |
cbrun i386 convert -depth 8 \ |
148 |
-background white -size $*x$* "$(lastword $^)" "$@" |
153 |
-background white -size $*x$* "$(lastword $^)" \ |
|
|
154 |
-font Roboto-Bold -pointsize `bc <<< 'scale=2; $*/1.8'` -fill "#ff00ff" \ |
155 |
-draw "gravity Center text +0+0 \"$*\"" \ |
156 |
-stroke "#ff0000" -strokewidth 4 \ |
157 |
-fill none -draw "rectangle 2,2 `expr $* - 3`,`expr $* - 3`" \ |
158 |
"$@" |
149 |
|
159 |
|
150 |
icon.ico: $(WEB_BASE_ICONS) |
160 |
icon.ico: $(WEB_BASE_ICONS) |
151 |
cbrun i386 convert $(WEB_BASE_ICONS) "$@" |
161 |
cbrun i386 convert $(WEB_BASE_ICONS) "$@" |