Skip to content

Commit

Permalink
[package.py] Add categories from freedesktop.org:menu-spec:apas03 (#24
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Mar 22, 2024
1 parent 8bd9857 commit 379961a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions chumweb/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ class PackageApplicationCategory(StrEnum):
"""
Application categories, see https://specifications.freedesktop.org/menu-spec/latest/apa.html
for main categories and https://specifications.freedesktop.org/menu-spec/latest/apas02.html
for additional categories.
for additional categories, plus https://specifications.freedesktop.org/menu-spec/latest/apas03.html
if really appropriate.
"""
other = "Other" # SailfishOS:Chum specific, i.e. not part of the Freedesktop.org categories
audiovideo = "AudioVideo"
audio = "Audio"
video = "Video"
Expand All @@ -35,7 +37,6 @@ class PackageApplicationCategory(StrEnum):
settings = "Settings"
system = "System"
utility = "Utility"
other = "Other"
building = "Building"
debugger = "Debugger"
ide = "IDE"
Expand Down Expand Up @@ -163,6 +164,10 @@ class PackageApplicationCategory(StrEnum):
motif = "Motif"
java = "Java"
consoleonly = "ConsoleOnly"
screensaver = "Screensaver"
trayicon = "TrayIcon"
applet = "Applet"
shell = "Shell"


class PackageApplicationType(StrEnum):
Expand Down

0 comments on commit 379961a

Please sign in to comment.