Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anki: Add appstream metainfo #3031

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
277 changes: 277 additions & 0 deletions packages/a/anki/files/anki.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions packages/a/anki/files/net.ankiweb.Anki.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.ankiweb.Anki</id>
<translation type="gettext">anki</translation>
<name>Anki</name>
<summary>Powerful, intelligent flash cards</summary>
<developer_name>Damien Elmes</developer_name>
<description>
<p>Anki is a program which makes remembering things easy. Because it's a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn.</p>
<p>Anyone who needs to remember things in their daily life can benefit from Anki. Since it is content-agnostic and supports images, audio, videos and scientific markup (via LaTeX), the possibilities are endless.</p>
<p>Optional LaTeX support is provided by the TeX Live Flatpak extension org.freedesktop.Sdk.Extension.texlive.</p>
</description>
<kudos>
<kudo>ModernToolkit</kudo>
<kudo>UserDocs</kudo>
</kudos>
<project_license>AGPL-3.0+</project_license>
<metadata_license>CC0-1.0</metadata_license>
<url type="homepage">https://apps.ankiweb.net/</url>
<url type="bugtracker">https://forums.ankiweb.net/</url>
<url type="help">https://docs.ankiweb.net/</url>
<url type="donation">https://apps.ankiweb.net/support/</url>
<url type="translate">https://translating.ankiweb.net/</url>
<screenshots>
<screenshot type="default">
<image type="source">https://iili.io/HU8RpwX.png</image>
<caption>Flashcard and answer</caption>
</screenshot>
</screenshots>
<content_rating type="oars-1.1"/>
<provides>
<id>net.ankiweb.Anki.desktop</id>
</provides>
<launchable type="desktop-id">anki.desktop</launchable>
</component>
6 changes: 4 additions & 2 deletions packages/a/anki/package.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name : anki
version : 24.06.2
release : 38
release : 39
source :
- git|https://github.com/ankitects/anki.git : 24.06.2
homepage : https://apps.ankiweb.net
license : AGPL-3.0-or-later
component : office.notes
homepage : https://apps.ankiweb.net/index.html
networking : yes
summary : Spaced repetition flashcard program.
description: |
Expand Down Expand Up @@ -41,3 +41,5 @@ install : |
python3 -m pip install --isolated --root=$installdir --ignore-installed --no-deps $workdir/out/wheels/*.whl
install -dm00644 $installdir/usr/share/applications
install -Dm00644 $workdir/qt/bundle/lin/anki.desktop $installdir/usr/share/applications/anki.desktop
install -Dm00644 $pkgfiles/net.ankiweb.Anki.appdata.xml -t $installdir/usr/share/metainfo
install -Dm00644 $pkgfiles/anki.svg -t $installdir/usr/share/icons/hicolor/scalable/apps
Loading