Skip to content

Commit

Permalink
[flatpak] Improve packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jul 2, 2024
1 parent 7c86f7f commit f6420f1
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 118 deletions.
51 changes: 0 additions & 51 deletions cmake/Deployment/Linux/Flatpak/io.ossia.score.metainfo.xml

This file was deleted.

65 changes: 47 additions & 18 deletions cmake/Deployment/Linux/ossia-score.appdata.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>ossia-score</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<name>ossia score</name>
<summary>Interactive intermedia sequencer</summary>
<description>
<p>With ossia score you can sequence OSC, MIDI, etc. parameters between multiple software and hardware, to create interactive and intermedia scores.</p>
</description>
<launchable type="desktop-id">ossia-score.desktop</launchable>
<url type="homepage">http://ossia.io/</url>
<screenshots>
<screenshot type="default">
<image>https://github.com/raw/ossia/score/master/Documentation/score.png</image>
</screenshot>
</screenshots>
<provides>
<id>ossia-score.desktop</id>
</provides>
<id>io.ossia.score</id>
<metadata_license>CC-BY-SA-4.0</metadata_license>
<project_license>GPL-3.0</project_license>
<name>ossia score</name>
<summary>Sequencer for media artists</summary>
<developer id="io.github.ossia">
<name>ossia.io</name>
</developer>
<description>
<p>ossia score is a sequencer for audio-visual artists, designed to enable the creation of interactive shows, museum installations, intermedia digital artworks, interactive music and more in an intuitive user interface.</p>

<ul>
<li>Sequence OSC, MIDI, DMX, sound, video and more, between multiple software and hardware. </li>
<li>Script and live-code with JavaScript, ISF Shaders, Faust, PureData or C++.</li>
<li>Leverage IoT protocols such as CoAP or MQTT for industrial-grade automation.</li>
<li>Interact with joysticks, Wiimotes, Leapmotions, Web APIs and BLE sensors.</li>
<li>Integrate programs from a wealth of creative programming languages such as Structure Synth, Context-Free Art and Bytebeat.</li>
<li>Load any kind of audio or video format and process visuals through Spout, Syphon, NDI or Shmdata.</li>
</ul>
</description>
<launchable type="desktop-id">io.ossia.score.desktop</launchable>
<content_rating type="oars-1.1" />
<url type="bugtracker">https://github.com/ossia/score/issues</url>
<url type="contact">https://discord.gg/8Hzm4UduaS</url>
<url type="contribute">https://ossia.io/project.html</url>
<url type="donation">https://opencollective.com/ossia</url>
<url type="help">https://ossia.io/docs.html</url>
<url type="homepage">https://ossia.io</url>
<url type="vcs-browser">https://github.com/ossia/score</url>
<screenshots>
<screenshot type="default">
<image>https://github.com/ossia/score/raw/master/docs/score.png?raw=true</image>
<caption>Sequence all kinds of media in ossia score</caption>
</screenshot>
</screenshots>
<releases>
<release version="3.2.3" date="2024-07-02">
<url type="details">https://github.com/ossia/score/releases/tag/v3.2.3</url>
<description>
<p>ossia score 3.2.3 is a bugfix release which enables Flatpak support.</p>
<ul>
<li>Update dependencies to be flatpak-compatible</li>
<li>A bugfix to Nix support</li>
</ul>
</description>
</release>
</releases>
</component>
6 changes: 1 addition & 5 deletions cmake/ScoreDeployment.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android")
include(ScoreDeploymentAndroid)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(GENERIC_LINUX_DEPLOYMENT_BUILD)
include(ScoreDeploymentGenericLinux)
else()
include(ScoreDeploymentLinux)
endif()
include(ScoreDeploymentLinux)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
include(ScoreDeploymentWindows)
include(ScoreDeploymentWindowsStore)
Expand Down
43 changes: 0 additions & 43 deletions cmake/ScoreDeploymentGenericLinux.cmake

This file was deleted.

7 changes: 6 additions & 1 deletion cmake/ScoreDeploymentLinux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ install(FILES "${PROJECT_BINARY_DIR}/ossia-score.desktop"
install(FILES "${CMAKE_SOURCE_DIR}/src/lib/resources/ossia-score.png"
DESTINATION share/pixmaps
COMPONENT OssiaScore)

install(FILES "${CMAKE_SOURCE_DIR}/src/lib/resources/ossia-score.png"
DESTINATION icons/hicolor/512x512/apps
COMPONENT OssiaScore)
install(FILES "${CMAKE_SOURCE_DIR}/cmake/Deployment/Linux/ossia-score.appdata.xml"
DESTINATION share/metainfo
COMPONENT OssiaScore)

execute_process(
COMMAND
Expand Down

0 comments on commit f6420f1

Please sign in to comment.