script tweaks for the new stable release

- set the proper path to the .svg

- install fonts properly
This commit is contained in:
Maverick JS 2014-11-16 10:32:58 +01:00 committed by darkrose
parent 28bc1c22f5
commit 7cf30ebcea
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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})