aboutsummaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/CMakeLists.txt11
-rw-r--r--media/icons/tigervnc_128.pngbin0 -> 10419 bytes
-rw-r--r--media/icons/tigervnc_64.pngbin0 -> 4793 bytes
3 files changed, 8 insertions, 3 deletions
diff --git a/media/CMakeLists.txt b/media/CMakeLists.txt
index 487e9d00..4bed4b6b 100644
--- a/media/CMakeLists.txt
+++ b/media/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(ICON_SIZES 16 22 24 32 48)
+set(ICON_SIZES 16 22 24 32 48 64 128)
find_program(CONVERT_EXECUTABLE convert)
@@ -9,11 +9,16 @@ if(CONVERT_EXECUTABLE)
add_custom_target(icons DEPENDS ${ICON_FILES})
foreach(SIZE ${ICON_SIZES})
+ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_${SIZE}.svg)
+ set(ICON_SRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_${SIZE}.svg)
+ else()
+ set(ICON_SRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_48.svg)
+ endif()
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_${SIZE}.png
COMMAND ${CONVERT_EXECUTABLE} -depth 8 -background transparent
- ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_${SIZE}.svg
+ -size ${SIZE}x${SIZE} ${ICON_SRC_FILE}
${CMAKE_CURRENT_SOURCE_DIR}/icons/tigervnc_${SIZE}.png
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tigervnc_${SIZE}.svg
+ DEPENDS ${ICON_SRC_FILE}
COMMENT "Generating icons/tigervnc_${SIZE}.png")
endforeach()
endif()
diff --git a/media/icons/tigervnc_128.png b/media/icons/tigervnc_128.png
new file mode 100644
index 00000000..7eab42d7
--- /dev/null
+++ b/media/icons/tigervnc_128.png
Binary files differ
diff --git a/media/icons/tigervnc_64.png b/media/icons/tigervnc_64.png
new file mode 100644
index 00000000..cd21c2cf
--- /dev/null
+++ b/media/icons/tigervnc_64.png
Binary files differ