Skip to content

Commit

Permalink
Move appstream-related to pkg/appstream
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jun 12, 2024
1 parent 1aada3a commit b050cf5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,6 @@ add_subdirectory(build_tools)
add_subdirectory(data)
add_subdirectory(lib)
add_subdirectory(doc)
add_subdirectory(icons)
add_subdirectory(po)
add_subdirectory(src)
add_subdirectory(pkg)
Expand Down
5 changes: 5 additions & 0 deletions pkg/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#########################
# Appstream

add_subdirectory(appstream)

#########################
# Generator-specific components

Expand Down
2 changes: 1 addition & 1 deletion icons/CMakeLists.txt → pkg/appstream/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if(UNIX AND NOT APPLE AND NOT WIN32 AND NOT EMSCRIPTEN)
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo"
COMPONENT Core
)
install(FILES warzone2100.png
install(FILES "${PROJECT_SOURCE_DIR}/icons/warzone2100.png"
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons"
RENAME "${WZ_APPSTREAM_ID}${WZ_OUTPUT_NAME_SUFFIX}.png"
COMPONENT Core
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b050cf5

Please sign in to comment.