~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

« back to all changes in this revision

Viewing changes to icons/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Rodrigo Moya
  • Date: 2011-05-30 13:32:04 UTC
  • mfrom: (1.3.4)
  • mto: (163.1.3 precise)
  • mto: This revision was merged to the branch mainline in revision 143.
  • Revision ID: package-import@ubuntu.com-20110530133204-celaq1v1dsxc48q1
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
dist_noinst_DATA =
6
6
 
7
 
if BUILD_AISLERIOT
8
 
dist_noinst_DATA += \
9
 
        hicolor_apps_16x16_gnome-aisleriot.png \
10
 
        $(NULL)
11
 
 
12
 
if HAVE_HILDON
13
 
 
14
 
# These sizes work for maemo3 at least. The "scalable" icon really
15
 
# is a 64x54 icon, which is the size that apparently is required for
16
 
# the app menu on maemo3.
17
 
#
18
 
# FIXME: check which sizes are required on maemo4 and maemo5
19
 
 
20
 
dist_noinst_DATA += \
21
 
        hicolor_apps_34x34_gnome-aisleriot.png \
22
 
        hicolor_apps_26x26_gnome-aisleriot.png \
23
 
        hicolor_apps_40x40_gnome-aisleriot.png \
24
 
        hicolor_apps_50x50_gnome-aisleriot.png \
25
 
        hicolor_apps_scalable_gnome-aisleriot.png \
26
 
        $(NULL)
27
 
else
28
 
dist_noinst_DATA += \
29
 
        hicolor_apps_22x22_gnome-aisleriot.png \
30
 
        hicolor_apps_24x24_gnome-aisleriot.png \
31
 
        hicolor_apps_32x32_gnome-aisleriot.png \
32
 
        hicolor_apps_48x48_gnome-aisleriot.png \
33
 
        hicolor_apps_scalable_gnome-aisleriot.svg \
34
 
        hicolor_apps_16x16_gnome-freecell.png \
35
 
        hicolor_apps_22x22_gnome-freecell.png \
36
 
        hicolor_apps_24x24_gnome-freecell.png \
37
 
        hicolor_apps_32x32_gnome-freecell.png \
38
 
        hicolor_apps_48x48_gnome-freecell.png \
39
 
        hicolor_apps_scalable_gnome-freecell.svg \
40
 
        $(NULL)
41
 
endif # HAVE_HILDON
42
 
 
43
 
endif # BUILD_AISLERIOT
44
 
 
45
7
if BUILD_GLCHESS
46
8
dist_noinst_DATA += \
47
9
        hicolor_apps_16x16_gnome-glchess.png \
119
81
        $(NULL)
120
82
endif
121
83
 
122
 
if BUILD_GNOMINE
123
 
dist_noinst_DATA += \
124
 
        hicolor_apps_16x16_gnome-mines.png \
125
 
        hicolor_apps_22x22_gnome-mines.png \
126
 
        hicolor_apps_24x24_gnome-mines.png \
127
 
        hicolor_apps_32x32_gnome-mines.png \
128
 
        hicolor_apps_48x48_gnome-mines.png \
129
 
        hicolor_apps_scalable_gnome-mines.svg \
130
 
        $(NULL)
131
 
endif
132
 
 
133
84
if BUILD_GNOTRAVEX
134
85
dist_noinst_DATA += \
135
86
        hicolor_apps_16x16_gnome-tetravex.png \
212
163
        $(NULL)
213
164
 
214
165
if BUILD_GNOBOTS2
215
 
if !HAVE_HILDON
216
166
private_icons += \
217
167
        hicolor_actions_24x24_teleport.png \
218
168
        hicolor_actions_24x24_teleport-random.png \
219
169
        $(NULL)
220
 
endif # !HAVE_HILDON
221
170
endif # BUILD_GNOBOTS2
222
171
 
223
172
EXTRA_DIST = \
224
173
        $(private_icons)\
225
174
        $(NULL)
226
175
 
227
 
# The extra treatment for Hildon is necessary because hildon only looks for
228
 
# icons in the "hildon" context [https://bugs.maemo.org/show_bug.cgi?id=4766].
229
 
 
230
176
install-public-icons:
231
177
        for icon in $(dist_noinst_DATA); do \
232
178
                THEME=`echo $$icon | cut -d_ -f1`; \
233
 
                if test -n "@HAVE_HILDON_TRUE@"; then \
234
 
                        CONTEXT=`echo $$icon | cut -d_ -f2`; \
235
 
                else \
236
 
                        CONTEXT=hildon; \
237
 
                fi; \
 
179
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
238
180
                SIZE=`echo $$icon | cut -d_ -f3`; \
239
181
                ICONFILE=`echo $$icon | cut -d_ -f4`; \
240
182
                mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
244
186
install-private-icons:
245
187
        for icon in $(private_icons); do \
246
188
                THEME=`echo $$icon | cut -d_ -f1`; \
247
 
                if test -n "@HAVE_HILDON_TRUE@"; then \
248
 
                        CONTEXT=`echo $$icon | cut -d_ -f2`; \
249
 
                else \
250
 
                        CONTEXT=hildon; \
251
 
                fi; \
 
189
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
252
190
                SIZE=`echo $$icon | cut -d_ -f3`; \
253
191
                ICONFILE=`echo $$icon | cut -d_ -f4`; \
254
192
                $(mkdir_p) $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
258
196
uninstall-public-icons:
259
197
        -for icon in $(dist_noinst_DATA); do \
260
198
                THEME=`echo $$icon | cut -d_ -f1`; \
261
 
                if test -n "@HAVE_HILDON_TRUE@"; then \
262
 
                        CONTEXT=`echo $$icon | cut -d_ -f2`; \
263
 
                else \
264
 
                        CONTEXT=hildon; \
265
 
                fi; \
 
199
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
266
200
                SIZE=`echo $$icon | cut -d_ -f3`; \
267
201
                ICONFILE=`echo $$icon | cut -d_ -f4`; \
268
202
                rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
271
205
uninstall-private-icons:
272
206
        for icon in $(private_icons); do \
273
207
                THEME=`echo $$icon | cut -d_ -f1`; \
274
 
                if test -n "@HAVE_HILDON_TRUE@"; then \
275
 
                        CONTEXT=`echo $$icon | cut -d_ -f2`; \
276
 
                else \
277
 
                        CONTEXT=hildon; \
278
 
                fi; \
 
208
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
279
209
                SIZE=`echo $$icon | cut -d_ -f3`; \
280
210
                ICONFILE=`echo $$icon | cut -d_ -f4`; \
281
211
                rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \