Skip to content

Commit

Permalink
Flatpak changes
Browse files Browse the repository at this point in the history
  • Loading branch information
deathkiller committed Dec 27, 2023
1 parent 8b993f6 commit a33ee2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Sources/project.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
<url type="homepage">https://deat.tk/jazz2/</url>
<url type="bugtracker">https://github.com/deathkiller/jazz2-native/issues</url>
<url type="faq">https://deat.tk/jazz2/help</url>

<screenshots>
<screenshot type="default">https://raw.githubusercontent.com/deathkiller/jazz2/main/Docs/01.png</screenshot>
<screenshot>https://raw.githubusercontent.com/deathkiller/jazz2/main/Docs/02.png</screenshot>
<screenshot>https://raw.githubusercontent.com/deathkiller/jazz2/main/Docs/03.png</screenshot>
</screenshots>

<provides>
<binary>jazz2</binary>
Expand Down
2 changes: 1 addition & 1 deletion cmake/ncine_installation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ elseif(UNIX)
endif()

set(ICONS_INSTALL_DESTINATION "share/icons/hicolor")
if(EXISTS "${NCINE_SOURCE_DIR}/Icons/1024px.png")
if(EXISTS "${NCINE_SOURCE_DIR}/Icons/1024px.png" AND NOT NCINE_BUILD_FLATPAK) # Don't include 1024px icon in Flatpak
install(FILES "${NCINE_SOURCE_DIR}/Icons/1024px.png" DESTINATION "${ICONS_INSTALL_DESTINATION}/1024x1024/apps/" RENAME "${PACKAGE_NAME}.png" COMPONENT data)
endif()
if(EXISTS "${NCINE_SOURCE_DIR}/Icons/256px.png")
Expand Down

0 comments on commit a33ee2c

Please sign in to comment.