Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : anki | name : anki | ||||
| version : 2.1.35 | version : 2.1.35 | ||||
| release : 20 | release : 21 | ||||
| source : | source : | ||||
| - https://github.com/ankitects/anki/archive/2.1.35.tar.gz : 188c0756bd2acda0b5d675c2f8462b4bca32aed451e7ffa495e9de5c387aebd0 | - https://github.com/ankitects/anki/archive/2.1.35.tar.gz : 188c0756bd2acda0b5d675c2f8462b4bca32aed451e7ffa495e9de5c387aebd0 | ||||
| license : AGPL-3.0-or-later | license : AGPL-3.0-or-later | ||||
| component : office.notes | component : office.notes | ||||
| networking : yes | networking : yes | ||||
| summary : Spaced repetition flashcard program. | summary : Spaced repetition flashcard program. | ||||
| description: | | description: | | ||||
| Anki is a spaced repetition flashcard program. "Anki" is the Japanese word for "memorization". The SM2 algorithm, created for SuperMemo in the late 1980s, forms the basis of the spaced repetition methods employed in the program. | Anki is a spaced repetition flashcard program. "Anki" is the Japanese word for "memorization". The SM2 algorithm, created for SuperMemo in the late 1980s, forms the basis of the spaced repetition methods employed in the program. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(portaudiocpp) | - pkgconfig(portaudiocpp) | ||||
| - pkgconfig(python3) | - pkgconfig(python3) | ||||
| - cargo | |||||
| - flask-cors | - flask-cors | ||||
| - git | - git | ||||
| - nodejs | - nodejs | ||||
| - PyAudio | - PyAudio | ||||
| - pylint | - pylint | ||||
| - python-beautifulsoup4 | - python-beautifulsoup4 | ||||
| - python-black | - python-black | ||||
| - python-decorator | - python-decorator | ||||
| - python-distro | - python-distro | ||||
| - python-jsonschema | - python-jsonschema | ||||
| - python-markdown | - python-markdown | ||||
| - python-maturin | |||||
| - python-mock | - python-mock | ||||
| - python-mypy | - python-mypy | ||||
| - python-protobuf | - python-protobuf | ||||
| - python-pytest | - python-pytest | ||||
| - python-qtpy | - python-qtpy | ||||
| - python-requests | - python-requests | ||||
| - python-send2trash | - python-send2trash | ||||
| - python-waitress | - python-waitress | ||||
| - python-wheel | - python-wheel | ||||
| - rsync | - rsync | ||||
| - rustup | |||||
| rundeps : | rundeps : | ||||
| - flask-cors | - flask-cors | ||||
| - gtk2-engine-murrine | - gtk2-engine-murrine | ||||
| - mpv | - mpv | ||||
| - PyAudio | - PyAudio | ||||
| - python-decorator | - python-decorator | ||||
| - python-distro | |||||
| - python-beautifulsoup4 | - python-beautifulsoup4 | ||||
| - python-jsonschema | - python-jsonschema | ||||
| - python-markdown | - python-markdown | ||||
| - python-protobuf | - python-protobuf | ||||
| - python-qtpy | - python-qtpy | ||||
| - python-qtwebengine | - python-qtwebengine | ||||
| - python-send2trash | - python-send2trash | ||||
| - python-waitress | - python-waitress | ||||
| - vala-panel-appmenu | |||||
| setup : | | setup : | | ||||
| #Fix Makefile and build scripts | #Fix Makefile and build scripts | ||||
| sed -i s/release/$version/ $pkgfiles/0002-fix-makefile.patch | sed -i s/release/$version/ $pkgfiles/0002-fix-makefile.patch | ||||
| %apply_patches | %apply_patches | ||||
| #create some binary links to satisfy rust build scripts | #create some binary links to satisfy rust build scripts | ||||
| mkdir -p $workdir/.bin | mkdir -p $workdir/.bin | ||||
| ln -sv /usr/bin/ar $workdir/.bin/x86_64-solus-linux-ar | ln -sv /usr/bin/ar $workdir/.bin/x86_64-solus-linux-ar | ||||
| ln -sv /usr/bin/ranlib $workdir/.bin/x86_64-solus-linux-ranlib | ln -sv /usr/bin/ranlib $workdir/.bin/x86_64-solus-linux-ranlib | ||||
| build : | | build : | | ||||
| export PATH="$PATH:$workdir/.bin/" | export PATH="$PATH:$workdir/.bin/" | ||||
| make build | make build | ||||
| install : | | install : | | ||||
| pip3 install --isolated --root=$installdir --ignore-installed --no-deps $workdir/dist/* | pip3 install --isolated --root=$installdir --ignore-installed --no-deps $workdir/dist/* | ||||
| install -Dm00755 qt/runanki $installdir/usr/bin/anki | install -Dm00755 qt/runanki $installdir/usr/bin/anki | ||||
| install -Dm00644 qt/anki.desktop $installdir/usr/share/applications/anki.desktop | install -Dm00644 qt/anki.desktop $installdir/usr/share/applications/anki.desktop | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.