mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
Meta: Add a freedesktop appstream/metainfo manifest
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This commit is contained in:
parent
81d4079c12
commit
1b1eae4409
Notes:
github-actions[bot]
2025-07-29 01:39:02 +00:00
Author: https://github.com/JanKoudijs
Commit: 1b1eae4409
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5599
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 71 additions and 1 deletions
|
@ -9,7 +9,8 @@ Exec=Ladybird --force-new-process %U
|
|||
Icon=org.ladybird.Ladybird
|
||||
DBusActivatable=false
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;Qt;KDE;
|
||||
Categories=Network;WebBrowser;
|
||||
Keywords=Qt;KDE;
|
||||
StartupNotify=false
|
||||
MimeType=text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
Actions=new-window;
|
||||
|
|
56
Meta/CMake/freedesktop/org.ladybird.Ladybird.metainfo.xml.in
Normal file
56
Meta/CMake/freedesktop/org.ladybird.Ladybird.metainfo.xml.in
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2025, the Ladybird developers. -->
|
||||
<component type="desktop-application">
|
||||
<id>org.ladybird.Ladybird</id>
|
||||
|
||||
<name>Ladybird</name>
|
||||
<summary>Truly independent web browser</summary>
|
||||
|
||||
<developer id="org.ladybird">
|
||||
<name>Ladybird Browser</name>
|
||||
</developer>
|
||||
|
||||
<url type="homepage">https://ladybird.org</url>
|
||||
<url type="bugtracker">https://github.com/LadybirdBrowser/ladybird/issues</url>
|
||||
<url type="faq">https://ladybird.org/#faq</url>
|
||||
<url type="donation">https://donorbox.org/ladybird</url>
|
||||
<url type="contact">https://ladybird.org/organization/#intiative</url>
|
||||
<url type="vcs-browser">https://github.com/LadybirdBrowser/ladybird</url>
|
||||
<url type="contribute">https://ladybird.org/#gi</url>
|
||||
|
||||
<metadata_license>0BSD</metadata_license>
|
||||
<project_license>BSD-2-Clause</project_license>
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<description>
|
||||
<p>
|
||||
Ladybird is a brand-new browser and web engine.
|
||||
Driven by a web standards first approach, Ladybird aims to render the modern web with good performance, stability and security.
|
||||
</p>
|
||||
</description>
|
||||
|
||||
<provides>
|
||||
<mediatype>text/html</mediatype>
|
||||
<mediatype>text/xml</mediatype>
|
||||
<mediatype>application/xhtml+xml</mediatype>
|
||||
<mediatype>x-scheme-handler/http</mediatype>
|
||||
<mediatype>x-scheme-handler/https</mediatype>
|
||||
</provides>
|
||||
|
||||
<launchable type="desktop-id">org.ladybird.Ladybird.desktop</launchable>
|
||||
<releases>
|
||||
<release version="@CMAKE_PROJECT_VERSION@-snapshot-@GIT_HASH@" type="snapshot" date="@DATE@">
|
||||
<description>
|
||||
<p>
|
||||
Pre-Alpha.
|
||||
</p>
|
||||
</description>
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<branding>
|
||||
<color type="primary" scheme_preference="light">#9d7cf2</color>
|
||||
<color type="primary" scheme_preference="dark">#8a64e5</color>
|
||||
</branding>
|
||||
|
||||
</component>
|
|
@ -112,6 +112,14 @@ endif()
|
|||
|
||||
if (ENABLE_INSTALL_FREEDESKTOP_FILES)
|
||||
set(FREEDESKTOP_RESOURCE_DIR "${LADYBIRD_SOURCE_DIR}/Meta/CMake/freedesktop")
|
||||
string(TIMESTAMP DATE "%Y-%m-%d" UTC)
|
||||
execute_process(
|
||||
COMMAND git rev-parse --short=10 HEAD
|
||||
WORKING_DIRECTORY ${LADYBIRD_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE GIT_HASH
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
configure_file(${FREEDESKTOP_RESOURCE_DIR}/org.ladybird.Ladybird.metainfo.xml.in org.ladybird.Ladybird.metainfo.xml @ONLY)
|
||||
install(FILES
|
||||
"${FREEDESKTOP_RESOURCE_DIR}/org.ladybird.Ladybird.svg"
|
||||
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps"
|
||||
|
@ -127,4 +135,9 @@ if (ENABLE_INSTALL_FREEDESKTOP_FILES)
|
|||
DESTINATION "${CMAKE_INSTALL_DATADIR}/dbus-1/services"
|
||||
COMPONENT ladybird_Runtime
|
||||
)
|
||||
install(FILES
|
||||
"org.ladybird.Ladybird.metainfo.xml"
|
||||
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo"
|
||||
COMPONENT ladybird_Runtime
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue