mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
games/anki: update to 2.0.32
PR: 202908 Submitted by: Bert Burgemeister <trebbu@googlemail.com> (maintainer) ChangeLog: - Fixed a syncing bug that could lead to lost reviews and sanity check errors when deleting a filtered deck before syncing. - Make default note type titles consistent (thanks to Soren). - Load saved searches in alphabetical order (thanks to Houssam). - Fix some fields not being renamed in template when renaming field (thanks to Dave). - Fixed an error message that could occur in add-ons (thanks to Thomas) . - Add a few more media types in the file selector (thanks to Jonathan). - Report an error if an add-on download is corrupt. - Fix sync error being shown twice. - Updated translations, thanks to the translators.
This commit is contained in:
parent
095e7e0598
commit
37f9302fe6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396198
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= anki
|
||||
PORTVERSION= 2.0.31
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.32
|
||||
CATEGORIES= games python
|
||||
MASTER_SITES= http://ankisrs.net/download/mirror/
|
||||
DIST_SUBDIR= python
|
||||
@ -28,25 +27,21 @@ RUN_DEPENDS= lame:${PORTSDIR}/audio/lame \
|
||||
USES= desktop-file-utils python:2 shared-mime-info shebangfix tar:tgz
|
||||
SHEBANG_FILES= tools/build_ui.sh tools/tests.sh
|
||||
USE_QT4= network_run webkit_run
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
NLS_USES= gettext-runtime gettext-tools
|
||||
|
||||
NLS_USES= gettext-runtime:run
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^Categories=.*|Categories=Education;Languages;KDE;Qt;Game;|' \
|
||||
${WRKSRC}/${PORTNAME}.desktop
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|; \
|
||||
s|/usr/share/anki|${DATADIR}|' \
|
||||
${WRKSRC}/runanki
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/share/anki/locale|${PREFIX}/share/locale|' \
|
||||
${WRKSRC}/anki/lang.py
|
||||
@${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.orig" -delete
|
||||
|
||||
.if ! ${PORT_OPTIONS:MNLS}
|
||||
@${REINPLACE_CMD} -i '' '/mkdir -p qt-locale/,/cp -av locale/s/^/#/' \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (python/anki-2.0.31.tgz) = 4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f
|
||||
SIZE (python/anki-2.0.31.tgz) = 3329290
|
||||
SHA256 (python/anki-2.0.32.tgz) = 398f00d9ab7da811548813e19b6da192f07d5c1c7e4486de508040ecc1abb93c
|
||||
SIZE (python/anki-2.0.32.tgz) = 3353186
|
||||
|
@ -1,12 +1,12 @@
|
||||
--- ./Makefile.orig 2013-12-09 03:51:52.000000000 +0100
|
||||
+++ ./Makefile 2013-12-12 21:03:24.000000000 +0100
|
||||
--- Makefile.orig 2013-12-09 02:51:52 UTC
|
||||
+++ Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX=/usr
|
||||
+PREFIX=/usr/local
|
||||
|
||||
all:
|
||||
@echo "You can run Anki with ./runanki"
|
||||
@@ -6,24 +6,31 @@
|
||||
@@ -6,24 +6,28 @@ all:
|
||||
@echo "Uninstall with 'sudo make uninstall'"
|
||||
|
||||
install:
|
||||
@ -36,9 +36,6 @@
|
||||
+ cp -av anki.1 ${DESTDIR}${PREFIX}/man/man1/
|
||||
+ mkdir -p ${DESTDIR}${PREFIX}/share/mime/packages/
|
||||
+ cp -av anki.xml ${DESTDIR}${PREFIX}/share/mime/packages/
|
||||
+# xdg-mime install anki.xml --novendor
|
||||
+# xdg-mime default anki.desktop application/x-anki
|
||||
+# xdg-mime default anki.desktop application/x-apkg
|
||||
@echo
|
||||
@echo "Install complete."
|
||||
|
||||
|
@ -728,6 +728,7 @@ share/applications/anki.desktop
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/anki.mo
|
||||
%%NLS%%share/locale/ro/LC_MESSAGES/anki.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/anki.mo
|
||||
%%NLS%%share/locale/sco/LC_MESSAGES/anki.mo
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/anki.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/anki.mo
|
||||
%%NLS%%share/locale/sr/LC_MESSAGES/anki.mo
|
||||
|
Loading…
Reference in New Issue
Block a user