aboutsummaryrefslogtreecommitdiff
path: root/linux/CMakeLists.txt
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-12-07 12:22:15 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-12-07 12:22:15 +0200
commit92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b (patch)
treea850643f7b86e6cebfddbeec98d7c372478d379c /linux/CMakeLists.txt
parentHostlist filter plugin can rewrite hostnames (diff)
downloadsmolbote-92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b.tar.xz
Rewrite meson build scripts into cmakelists
Diffstat (limited to 'linux/CMakeLists.txt')
-rw-r--r--linux/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt
new file mode 100644
index 0000000..f9937ff
--- /dev/null
+++ b/linux/CMakeLists.txt
@@ -0,0 +1,8 @@
+find_program(XDG_VALIDATE desktop-file-validate)
+
+add_test(NAME verify_poi.desktop COMMAND ${XDG_VALIDATE} poi.desktop
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
+
+install(FILES firejail/poi.profile DESTINATION ${CMAKE_INSTALL_LIBDIR}/smolbote)
+install(FILES ${CMAKE_SOURCE_DIR}/data/poi.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
+install(FILES poi.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)