forked from oerkki/voxelands
script tweaks for the new stable release
- set the proper path to the .svg - install fonts properly
This commit is contained in:
parent
28bc1c22f5
commit
7cf30ebcea
|
@ -11,7 +11,7 @@ sips=$(which sips)
|
|||
iconutil=$(which iconutil)
|
||||
inkscape="/Applications/Inkscape.app/Contents/Resources/bin/inkscape"
|
||||
if [ ! -f "$mac_dir"/voxelands-1024x1024.png ]; then
|
||||
"$inkscape" --export-png "$orig_img" -w 1024 -h 1024 "$proj_dir"/voxelands.svg
|
||||
"$inkscape" --export-png "$orig_img" -w 1024 -h 1024 "$proj_dir"/misc/freedesktop/icons/scalable/apps/voxelands.svg
|
||||
fi
|
||||
mkdir "$iconset_dir"
|
||||
"$sips" -z "${sizes[0]}" "${sizes[0]}" "$orig_img" --out "$iconset_dir"/icon_"${sizes[0]}"x"${sizes[0]}".png
|
||||
|
|
|
@ -418,6 +418,8 @@ if(BUILD_CLIENT)
|
|||
install(FILES ${modelsx} DESTINATION ${SHAREDIR}/models)
|
||||
file(GLOB sounds "${CMAKE_CURRENT_SOURCE_DIR}/../data/sounds/*.ogg")
|
||||
install(FILES ${sounds} DESTINATION ${SHAREDIR}/sounds)
|
||||
file(GLOB fonts "${CMAKE_CURRENT_SOURCE_DIR}/../data/fonts/*.ttf")
|
||||
install(FILES ${fonts} DESTINATION ${SHAREDIR}/fonts)
|
||||
|
||||
if(USE_GETTEXT)
|
||||
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
||||
|
|
Loading…
Reference in New Issue