-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
357 lines (291 loc) · 19.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
SHELL := /bin/bash # Use bash syntax
# Install paths for the generated images
SCUMMVM_PATH = "../scummvm"
BACKGROUND = "\#cc6600"
REPOSITORY_IMAGES = \
$(foreach icon, scummvm_icon scummvm_tools_icon, $(foreach size, 16 32 64 128 256 512 1024, $(icon)_$(size).png)) \
scummvm_icon.png \
scummvm_icon.xpm \
scummvm_icon.ico \
scummvm_icon_16.ico \
scummvm_icon_32.ico \
scummvm_tools_icon.ico \
scummvm_logo.pdf
PORTS_IMAGES = \
$(foreach size, 18 26 40 48 50 72 74 96 144 192 304, ports/scummvm_icon_$(size).png) \
ports/scummvm_icon_dc.h \
ports/scummvm_icon_dc.ico \
$(foreach size, 58 60 72 87 40 80 114 120 180 76 152 167 128 136 192 1024, ports/scummvm_ios7_icon_$(size).png) \
$(foreach size, 58 60 72 87 40 80 114 120 180 76 152 167 128 136 192 1024, ports/scummvm_ios7_tinted_icon_$(size).png) \
$(foreach size, 58 60 72 87 40 80 114 120 180 76 152 167 128 136 192 1024, ports/scummvm_ios7_dark_icon_$(size).png) \
ports/scummvm_ios7_loading.png \
$(foreach size, 640x1136 750x1334 768x1024 828x1792 1024x768 1125x2436 1242x2208 1242x2688 1536x2048 1792x828 2048x1536 2208x1242 2436x1125 2688x1242, ports/scummvm_ios7_splash_$(size).png) \
ports/scummvm_logo_psp.png \
ports/scummvm_logo_wii.png \
ports/scummvm_logo_android.png \
ports/scummvm_icon_android_tv.png \
ports/scummvm_icon_ouya.png \
ports/scummvm_banner_3ds.png \
ports/scummvm_icon_3ds.png \
ports/scummvm_icon_ps3.png \
ports/scummvm_bg_vita.png \
ports/scummvm_startup_vita.png \
ports/scummvm_banner_ds.png \
ports/scummvm_icon_ds.bmp \
$(foreach letter, A B C D E F G H I J K, ports/scummvm_icon_ds_$(letter).bmp)
ICON_BIG = 512
all: $(REPOSITORY_IMAGES)
# REPOSITORY IMAGES
scummvm_icon.png: originals/scummvm_icon.png
cp $^ $@
scummvm_icon_%.png: scummvm_icon.png
magick $< -size $*x$* $@
scummvm_icon_%.ico: scummvm_icon.png
magick $< -size $*x$* $@
scummvm_icon.xpm: scummvm_icon.png
magick $< -size 32x32 -depth 4 xpm:- | sed -e 's/static /static const /' -e 's/xpm__/scummvm_icon/' > $@
scummvm_icon.ico: scummvm_icon.png
magick $< \
\( -clone 0 -size 32x32 -depth 4 -colors 15 -alpha on \) \
\( -clone 0 -size 16x16 -depth 4 -colors 15 -alpha on \) \
\( -clone 0 -size 48x48 -depth 8 \) \
\( -clone 0 -size 32x32 -depth 8 \) \
\( -clone 0 -size 16x16 -depth 8 \) \
\( -clone 0 -size 256x256 \) \
\( -clone 0 -size 48x48 \) \
\( -clone 0 -size 32x32 \) \
\( -clone 0 -size 16x16 \) \
-delete 0 \
$@
scummvm_tools_icon.png: scummvm_icon.png derivate/scummvm_tools_badge.svg
magick -background none -gravity SouthEast -composite $^ $@
scummvm_tools_icon.ico: scummvm_tools_icon.png
magick $< \
\( -clone 0 -size 32x32 -depth 4 -colors 15 -alpha on \) \
\( -clone 0 -size 16x16 -depth 4 -colors 15 -alpha on \) \
\( -clone 0 -size 48x48 -depth 8 \) \
\( -clone 0 -size 32x32 -depth 8 \) \
\( -clone 0 -size 16x16 -depth 8 \) \
\( -clone 0 -size 256x256 \) \
\( -clone 0 -size 48x48 \) \
\( -clone 0 -size 32x32 \) \
\( -clone 0 -size 16x16 \) \
-delete 0 \
$@
scummvm_logo.png: originals/scummvm_logo.png
cp $^ $@
scummvm_logo.pdf: scummvm_logo.png
magick $< $@
# TOOLS ICON
scummvm_tools_icon_%.png: scummvm_tools_icon.png
magick $< -size $*x$* $@
# Mac
# The legacy icns generated with iconutil doesn't actually work properly on Mac OS X 10.5 (see bug #11261)
# Instead it needs to be generated with Icon Composer on an old Mac (but the scummvm_icon_legacy.iconset
# rule below can be used to generate the source png images for Icon Composer).
#mac: scummvm_icon.icns scummvm_icon_legacy.icns scummvm_tools_icon.icns
mac: scummvm_icon.icns scummvm_tools_icon.icns
scummvm_icon.iconset: scummvm_icon_mac.png
mkdir $@
$(foreach size, 16 32 128 256 512, sips -z $(size) $(size) $< --out $@/icon_$(size)x$(size).png;)
$(foreach size, 32 64 256 512 1024, sips -z $(size) $(size) $< --out $@/icon_$(size)x$(size)@2x.png;)
scummvm_icon_legacy.iconset: scummvm_icon.png
mkdir $@
$(foreach size, 16 32 128 256 512, sips -z $(size) $(size) $< --out $@/icon_$(size)x$(size).png;)
scummvm_tools_icon.iconset: scummvm_tools_icon.png
mkdir $@
$(foreach size, 16 32 128 256 512, sips -z $(size) $(size) $< --out $@/icon_$(size)x$(size).png;)
$(foreach size, 32 64 256 512 1024, sips -z $(size) $(size) $< --out $@/icon_$(size)x$(size)@2x.png;)
scummvm_icon.icns: scummvm_icon.iconset
iconutil -c icns $<
rm -rf $<
scummvm_icon_legacy.icns: scummvm_icon_legacy.iconset
iconutil -c icns $<
rm -rf $<
scummvm_tools_icon.icns: scummvm_tools_icon.iconset
iconutil -c icns $<
rm -rf $<
# PORT SPECIFIC IMAGES
ports/scummvm_icon_%.png: scummvm_icon.png
magick $< -size $*x$* $@
ports/scummvm_ios7_splash_%.png: scummvm_logo.png
magick $< -size 640 -gravity Center -background $(BACKGROUND) -extent $* $@
ports/scummvm_icon_dc.h: ports/scummvm_icon_dc.ico
echo "static const unsigned char scummvm_icon[] = {" > $@
xxd -i < $< >> $@
echo "};" >> $@
#TODO: Validate that this works on DC
ports/scummvm_icon_dc.ico: scummvm_icon.png
magick convert $< -resize 32x32 -colors 15 -depth 4 -alpha on $@
ports/scummvm_ios7_icon_%.png: derivate/scummvm_ios7_icon.svg scummvm_icon.png
inkscape -o $@ -w $* -h $* $<
ports/scummvm_ios7_tinted_icon_%.png: derivate/scummvm_ios7_tinted_icon.svg
inkscape -o $@ -w $* -h $* $<
ports/scummvm_ios7_dark_icon_%.png: derivate/scummvm_ios7_dark_icon.svg
inkscape -o $@ -w $* -h $* $<
ports/scummvm_ios7_loading.png: scummvm_logo.png
magick $< -size 320 -gravity Center -background $(BACKGROUND) -extent 320x460 $@
ports/scummvm_logo_psp.png: scummvm_logo.png
magick $< -size 150 $@
ports/scummvm_logo_wii.png: scummvm_logo.png
magick $< -size 128x48 -gravity center -background none -extent 128x48 $@
ports/scummvm_logo_android.png: scummvm_logo.png
magick $< -size 351 $@
ports/scummvm_icon_android_tv.png: scummvm_logo.png
magick $< -size 300 -gravity center -background $(BACKGROUND) -extent 320x180 $@
ports/scummvm_icon_ouya.png: scummvm_logo.png
magick $< -size 732 -gravity center -background white -extent 732x214 $@
magick $@ -gravity center -background none -extent 732x412 $@
ports/scummvm_banner_3ds.png: scummvm_logo.png
magick $< -size 256 -gravity center -background none -extent 256x128 $@
ports/scummvm_icon_3ds.png: scummvm_icon.png
magick $< -size 48 -background $(BACKGROUND) -flatten $@
ports/scummvm_icon_ps3.png: scummvm_logo.png
magick $< -size 320 -gravity center -background none -extent 320x176 $@
ports/scummvm_bg_vita.png: scummvm_logo.png
magick $< -size 800 -gravity center -background $(BACKGROUND) -extent 840x500 $@
ports/scummvm_startup_vita.png: scummvm_logo.png
magick $< -size 270 -gravity center -background $(BACKGROUND) -extent 280x158 $@
ports/scummvm_banner_ds.png: scummvm_logo.png
magick $< -size 200 -gravity center -background $(BACKGROUND) -extent 256x192 $@
ports/scummvm_icon_ds.bmp: scummvm_icon.png
magick $< -size 32 -background "#AED769" -flatten -type Palette BMP3:$@
ports/scummvm_icon_ds_%.bmp: scummvm_icon.png derivate/ds_overlay.png
magick $< -trim -size x32 -background white -gravity west -extent 32x32 $@
magick convert -background none -gravity SouthEast -composite $@ $(word 2,$^) $@
magick convert $@ -background none +antialias -pointsize 8 label:$* -trim -geometry +1+1 -gravity SouthEast -composite -type Palette BMP3:$@
ports: scummvm_icon.ico scummvm_icon.xpm scummvm_icon_16.ico scummvm_icon_32.ico scummvm_icon_32.png $(PORTS_IMAGES)
update: ports
# Android
cp scummvm_icon_64.png $(SCUMMVM_PATH)/dists/android/res/drawable/scummvm.png
cp ports/scummvm_logo_android.png $(SCUMMVM_PATH)/dists/android/res/drawable/scummvm_big.png
cp ports/scummvm_icon_android_tv.png $(SCUMMVM_PATH)/dists/android/res/drawable-xhdpi/leanback_icon.png
cp ports/scummvm_icon_ouya.png $(SCUMMVM_PATH)/dists/android/res/drawable-xhdpi/ouya_icon.png
cp ports/scummvm_icon_72.png $(SCUMMVM_PATH)/dists/android/res/mipmap-hdpi/scummvm.png
cp ports/scummvm_icon_48.png $(SCUMMVM_PATH)/dists/android/res/mipmap-mdpi/scummvm.png
cp ports/scummvm_icon_96.png $(SCUMMVM_PATH)/dists/android/res/mipmap-xhdpi/scummvm.png
cp ports/scummvm_icon_144.png $(SCUMMVM_PATH)/dists/android/res/mipmap-xxhdpi/scummvm.png
cp ports/scummvm_icon_192.png $(SCUMMVM_PATH)/dists/android/res/mipmap-xxxhdpi/scummvm.png
# DC
cp ports/scummvm_icon_dc.h $(SCUMMVM_PATH)/backends/platform/dc/deficon.h
# 3ds
cp ports/scummvm_banner_3ds.png $(SCUMMVM_PATH)/backends/platform/3ds/app/banner.png
cp ports/scummvm_icon_3ds.png $(SCUMMVM_PATH)/backends/platform/3ds/app/icon.png
# PSP
cp ports/scummvm_logo_psp.png $(SCUMMVM_PATH)/backends/platform/psp/icon0.png
# DS
cp ports/scummvm_banner_ds.png $(SCUMMVM_PATH)/backends/platform/ds/gfx/banner.png
cp ports/scummvm_icon_ds.bmp $(SCUMMVM_PATH)/backends/platform/ds/logo.bmp
cp ports/scummvm_icon_ds_A.bmp $(SCUMMVM_PATH)/backends/platform/ds/logoa.bmp
cp ports/scummvm_icon_ds_B.bmp $(SCUMMVM_PATH)/backends/platform/ds/logob.bmp
cp ports/scummvm_icon_ds_C.bmp $(SCUMMVM_PATH)/backends/platform/ds/logoc.bmp
cp ports/scummvm_icon_ds_D.bmp $(SCUMMVM_PATH)/backends/platform/ds/logod.bmp
cp ports/scummvm_icon_ds_E.bmp $(SCUMMVM_PATH)/backends/platform/ds/logoe.bmp
cp ports/scummvm_icon_ds_F.bmp $(SCUMMVM_PATH)/backends/platform/ds/logof.bmp
cp ports/scummvm_icon_ds_G.bmp $(SCUMMVM_PATH)/backends/platform/ds/logog.bmp
cp ports/scummvm_icon_ds_H.bmp $(SCUMMVM_PATH)/backends/platform/ds/logoh.bmp
cp ports/scummvm_icon_ds_I.bmp $(SCUMMVM_PATH)/backends/platform/ds/logoi.bmp
cp ports/scummvm_icon_ds_J.bmp $(SCUMMVM_PATH)/backends/platform/ds/logoj.bmp
cp ports/scummvm_icon_ds_K.bmp $(SCUMMVM_PATH)/backends/platform/ds/logok.bmp
# iOS 7
cp ports/scummvm_ios7_icon_40.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_60.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_58.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_87.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_76.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_114.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_80.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_120.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_120.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_180.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_128.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_192.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_152.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_167.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_icon_136.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/icon4-136.png
cp ports/scummvm_ios7_icon_1024.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/icon4-1024.png
cp ports/scummvm_ios7_tinted_icon_40.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_60.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_58.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_87.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_76.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_114.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_80.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_120.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_120.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_180.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_128.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_192.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_152.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_167.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_tinted_icon_136.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/icon4-tinted-136.png
cp ports/scummvm_ios7_tinted_icon_1024.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/icon4-tinted-1024.png
cp ports/scummvm_ios7_dark_icon_40.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_60.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_58.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_87.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_76.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_114.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_80.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_120.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_120.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_180.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_128.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_192.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_152.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_167.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/[email protected]
cp ports/scummvm_ios7_dark_icon_136.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/icon4-dark-136.png
cp ports/scummvm_ios7_dark_icon_1024.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/AppIcon.appiconset/icon4-dark-1024.png
cp ports/scummvm_ios7_splash_640x1136.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-640x1136-1.png
cp ports/scummvm_ios7_splash_750x1334.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-750x1334.png
cp ports/scummvm_ios7_splash_768x1024.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-768x1024.png
cp ports/scummvm_ios7_splash_828x1792.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-828x1792.png
cp ports/scummvm_ios7_splash_1024x768.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-1024x768.png
cp ports/scummvm_ios7_splash_1125x2436.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-1125x2436.png
cp ports/scummvm_ios7_splash_1242x2208.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-1242x2208.png
cp ports/scummvm_ios7_splash_1242x2688.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-1242x2688.png
cp ports/scummvm_ios7_splash_1536x2048.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-1536x2048.png
cp ports/scummvm_ios7_splash_1792x828.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-1792x828.png
cp ports/scummvm_ios7_splash_2048x1536.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-2048x1536.png
cp ports/scummvm_ios7_splash_2208x1242.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-2208x1242.png
cp ports/scummvm_ios7_splash_2436x1125.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-2436x1125.png
cp ports/scummvm_ios7_splash_2688x1242.png $(SCUMMVM_PATH)/dists/ios7/Images.xcassets/LaunchImage.launchimage/ScummVM-splash-2688x1242.png
# Maemo
cp ports/scummvm_icon_26.png $(SCUMMVM_PATH)/dists/maemo/scummvm26.png
cp ports/scummvm_icon_40.png $(SCUMMVM_PATH)/dists/maemo/scummvm40.png
cp ports/scummvm_icon_48.png $(SCUMMVM_PATH)/dists/maemo/scummvm48.png
cp scummvm_icon_64.png $(SCUMMVM_PATH)/dists/maemo/scummvm64.png
cp ports/scummvm_icon_48.png $(SCUMMVM_PATH)/dists/maemo/am-icon-48.png
cp scummvm_icon_512.png $(SCUMMVM_PATH)/dists/maemo/scummvm.png
# Miyoo Mini
cp ports/scummvm_icon_74.png $(SCUMMVM_PATH)/dists/miyoo/scummvm-miyoomini.png
# OpenPandora
cp scummvm_icon_32.png $(SCUMMVM_PATH)/dists/openpandora/icon/scummvm.png
# OS2
# TODO: What format .ico is this?
# PS3
cp ports/scummvm_icon_ps3.png $(SCUMMVM_PATH)/dists/ps3/ICON0.PNG
# PS Vita
# PS Vita icons and livearea images have to be processed with pngquant. Otherwise installation fails.
pngquant scummvm_icon_128.png --force --output $(SCUMMVM_PATH)/dists/psp2/icon0.png
pngquant ports/scummvm_bg_vita.png --force --output $(SCUMMVM_PATH)/dists/psp2/bg.png
pngquant ports/scummvm_startup_vita.png --force --output $(SCUMMVM_PATH)/dists/psp2/startup.png
# Redhat
cp ports/scummvm_icon_48.png $(SCUMMVM_PATH)/dists/redhat/scummvm48.png
# Samsung TV
cp ports/scummvm_icon_304.png $(SCUMMVM_PATH)/dists/samsungtv/scummvm.png
# Wii
cp ports/scummvm_logo_wii.png $(SCUMMVM_PATH)/dists/wii/icon.png
# PC
cp scummvm_icon.ico $(SCUMMVM_PATH)/icons/scummvm.ico
cp originals/scummvm_icon.svg $(SCUMMVM_PATH)/icons/scummvm.svg
cp scummvm_icon.xpm $(SCUMMVM_PATH)/icons/scummvm.xpm
# Win32
# TODO: Various installer images
clean:
rm -f $(PORTS_IMAGES)
clean-all: clean
rm -f $(REPOSITORY_IMAGES)
rm -f scummvm_icon.icns
rm -f scummvm_tools_icon.icns
.PHONY: all clean clean-all update