blob: 31795b1a7f69b55a8387133e722a71cc295df791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff -Nur basket-2.49b.orig/file-integration/CMakeLists.txt basket-2.49b/file-integration/CMakeLists.txt
--- basket-2.49b.orig/file-integration/CMakeLists.txt 2019-02-27 14:33:04.000000000 -0600
+++ basket-2.49b/file-integration/CMakeLists.txt 2022-02-21 02:59:10.390850529 -0600
@@ -11,15 +11,4 @@
########### install files ###############
-find_program(XDG-MIME_EXECUTABLE xdg-mime)
-find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
-
install(FILES basketthumbcreator.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install(CODE "
-execute_process(COMMAND ${XDG-MIME_EXECUTABLE} install --novendor
- ${CMAKE_CURRENT_SOURCE_DIR}/basket.xml)
-execute_process(COMMAND ${XDG-DESKTOP-MENU_EXECUTABLE} install
- --novendor ${CMAKE_SOURCE_DIR}/src/basket.desktop)
-execute_process(COMMAND ${XDG-MIME_EXECUTABLE} default
- ${CMAKE_SOURCE_DIR}/src/basket.desktop application/x-basket-item)
-")
|