Skip to content

Commit cc2a68e

Browse files
user1-githubvoidanix
authored andcommitted
Add appstream install step
1 parent bb8ba4d commit cc2a68e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/cmake/install_nix.cmake

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
2-
# TODO: install appstream data
2+
# install appstream data
3+
configure_file(
4+
${CMAKE_CURRENT_SOURCE_DIR}/install/nix/blue-nebula.metainfo.xml.am
5+
${CMAKE_CURRENT_BINARY_DIR}/blue-nebula.metainfo.xml
6+
@ONLY
7+
)
8+
install(
9+
FILES ${CMAKE_CURRENT_BINARY_DIR}/blue-nebula.metainfo.xml
10+
DESTINATION share/metainfo
11+
)
312

413
# install desktop file
514
configure_file(

0 commit comments

Comments
 (0)