From 33e98881ad787a93cc2fc2770c1c993d5bb65081 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sat, 16 Oct 2021 09:00:31 +0200 Subject: sdgui: add a MIME-associated desktop file Neither StarDict nor shared-mime-info have their own MIME DB file. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 38b0bf7..e2b9083 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,6 +198,10 @@ install (TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR}) install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}) if (WITH_GUI) install (TARGETS sdgui DESTINATION ${CMAKE_INSTALL_BINDIR}) + install (FILES sdgui.desktop + DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) + install (FILES sdgui.xml + DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) endif () foreach (page ${project_MAN_PAGES}) -- cgit v1.2.3-70-g09d2