pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Minor cleanup to account cleanup and connection error handling
21 months ago, Elliott Sales de Andrade
ce790d508898
Minor cleanup to account cleanup and connection error handling
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/1812/
ICONS
=
[
'im.pidgin.Pidgin3'
]
foreach
icon
:
ICONS
foreach
size
:
[
16
,
24
,
48
,
64
,
96
,
128
,
256
,
512
]
path
=
'hicolor/@0@x@0@/apps'
.
format
(
size
)
install_data
(
path
/
'@0@.png'
.
format
(
icon
),
install_dir
:
get_option
(
'datadir'
)
/
'icons'
/
path
)
endforeach
path
=
'hicolor/scalable/apps'
install_data
(
path
/
'@0@.svg'
.
format
(
icon
),
install_dir
:
get_option
(
'datadir'
)
/
'icons'
/
path
)
endforeach
# We don't want to install the application icons in multiple places, nor do we
# want to install our scalable icons, so we need to ignore them.
EXCLUDE_FILES
=
[
]
EXCLUDE_DIRS
=
[
'16x16/apps'
,
'16x16/actions/scalable'
,
'16x16/status/scalable'
,
'22x22/actions/scalable'
,
'24x24'
,
'32x32/actions/scalable'
,
'48x48/actions/scalable'
,
'48x48/apps'
,
'64x64/apps'
,
'96x96/apps'
,
'128x128/apps'
,
'256x256/apps'
,
'512x512/apps'
,
]
install_subdir
(
'hicolor'
,
exclude_files
:
EXCLUDE_FILES
,
exclude_directories
:
EXCLUDE_DIRS
,
install_dir
:
get_option
(
'datadir'
)
/
'pidgin/icons'
)