blob: e1f45644ee9585757cf0bef53cc1fb3704670eb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# This is called by cmake as an extermal process from
# ./po/CMakeLists.txt and creates org.inkscape.Inkscape.desktop
#
# These variables are defined by the caller, matching the CMake equivilents.
# - ${INKSCAPE_SOURCE_DIR}
# - ${INKSCAPE_BINARY_DIR}
message("building org.inkscape.Inkscape.desktop")
set(INKSCAPE_MIMETYPE "image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;application/pdf;application/postscript;image/x-eps;application/illustrator;image/cgm;image/x-wmf;application/x-xccx;application/x-xcgm;application/x-xcdt;application/x-xsk1;application/x-xcmx;image/x-xcdr;application/visio;application/x-visio;application/vnd.visio;application/visio.drawing;application/vsd;application/x-vsd;image/x-vsd;")
if (ENABLE_BINRELOC)
set(INKSCAPE_ICONPATH "\${SNAP}/share/inkscape/branding/inkscape.svg")
else()
set(INKSCAPE_ICONPATH "org.inkscape.Inkscape")
endif()
configure_file(${INKSCAPE_BINARY_DIR}/org.inkscape.Inkscape.desktop.template.in ${INKSCAPE_BINARY_DIR}/org.inkscape.Inkscape.desktop)
|