mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 17:14:39 +00:00
Merge pull request #990 from pinotree/legacy-pixmaps-location
Install app icon in XDG hicolor icon theme
This commit is contained in:
commit
459944c20b
@ -30,11 +30,9 @@ then
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL_PATH/usr/share/doc/meshlab
|
||||
mkdir -p $INSTALL_PATH/usr/share/icons/hicolor/512x512/apps/
|
||||
mkdir -p $INSTALL_PATH/usr/share/icons/Yaru/512x512/apps/
|
||||
|
||||
cp $SCRIPTS_PATH/resources/meshlab_appimage.desktop $INSTALL_PATH/usr/share/applications/meshlab.desktop
|
||||
cp $DISTRIB_PATH/meshlab.png $INSTALL_PATH/usr/share/icons/hicolor/512x512/apps/meshlab.png
|
||||
cp $DISTRIB_PATH/meshlab.png $INSTALL_PATH/usr/share/icons/Yaru/512x512/apps/meshlab.png
|
||||
cp $DISTRIB_PATH/LICENSE.txt $INSTALL_PATH/usr/share/doc/meshlab/
|
||||
cp $DISTRIB_PATH/privacy.txt $INSTALL_PATH/usr/share/doc/meshlab/
|
||||
|
||||
@ -7,7 +7,7 @@ GenericName[en_GB]=Mesh processing
|
||||
Comment=View and process meshes
|
||||
Type=Application
|
||||
Exec=meshlab %F
|
||||
Icon=/usr/share/pixmaps/meshlab.png
|
||||
Icon=meshlab
|
||||
Terminal=false
|
||||
MimeType=model/mesh;application/x-3ds;image/x-3ds;model/x-ply;application/sla;model/x-quad-object;model/x-geomview-off;application/x-cyclone-ptx;application/x-vmi;application/x-bre;model/vnd.collada+xml;model/openctm;application/x-expe-binary;application/x-expe-ascii;application/x-xyz;application/x-gts;chemical/x-pdb;application/x-tri;application/x-asc;model/x3d+xml;model/x3d+vrml;model/vrml;model/u3d;model/idtf;
|
||||
Categories=Graphics;3DGraphics;Viewer;Qt;
|
||||
|
||||
@ -272,7 +272,7 @@ if (NOT BUILD_ONLY_MESHLAB_LIBRARIES)
|
||||
|
||||
if(NOT WIN32 AND NOT APPLE)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/Linux/resources/meshlab.desktop" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/meshlab.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pixmaps)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/meshlab.png" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user