Skip to content

Commit

Permalink
Conform to FlatHub requirements (#524)
Browse files Browse the repository at this point in the history
See flathub/flathub#4557 for more details.
  • Loading branch information
tobiolo authored Sep 27, 2023
1 parent b2d8f21 commit b999e12
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ else()
endif()

if(NOT APPLE AND NOT WIN32)
install(FILES linux/org.aardappel.TreeSheets.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
install(FILES linux/org.aardappel.TreeSheets.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
install(FILES linux/org.aardappel.TreeSheets.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages)
install(FILES linux/org.aardappel.TreeSheets.metainfo.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)
install(FILES linux/com.strlen.TreeSheets.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
install(FILES linux/com.strlen.TreeSheets.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
install(FILES linux/com.strlen.TreeSheets.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages)
install(FILES linux/com.strlen.TreeSheets.metainfo.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Comment=A hierarchical spreadsheet / outliner productivity tool.
TryExec=treesheets
Exec=treesheets %f
Terminal=false
Icon=org.aardappel.TreeSheets
Icon=com.strlen.TreeSheets
MimeType=application/x-treesheets;
Categories=Office;Utility;Spreadsheet;TextEditor;
Keywords=mindmaps;knowledge;organizer;organiser;information;brainstorming;pim;database;todo;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.aardappel.TreeSheets</id>
<id>com.strlen.TreeSheets</id>

<name>TreeSheets</name>
<summary>Free Form Data Organizer</summary>
Expand All @@ -20,7 +20,7 @@
</p>
</description>

<launchable type="desktop-id">org.aardappel.TreeSheets.desktop</launchable>
<launchable type="desktop-id">com.strlen.TreeSheets.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://strlen.com/treesheets/docs/images/screenshots/screenshot_todo.png</image>
Expand Down
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-treesheets">
<comment xml:lang="en">TreeSheets document</comment>
<icon name="org.aardappel.TreeSheets"/>
<icon name="com.strlen.TreeSheets"/>
<glob pattern="*.cts"/>
<magic priority="50">
<match type="string" value="TSFF" offset="0"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
app-id: org.aardappel.TreeSheets
app-id: com.strlen.TreeSheets
runtime: org.freedesktop.Platform
runtime-version: '22.08'
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: treesheets
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --device=all
- --filesystem=home
cleanup:
- /include
- /lib
modules:
- name: TreeSheets
buildsystem: cmake
buildsystem: cmake-ninja
config-opts:
- -DTREESHEETS_WITH_STATIC_WXWIDGETS=ON
- -DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit b999e12

Please sign in to comment.