diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-09-05 22:48:36 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-09-05 22:48:36 +0000 |
commit | 37f9302fe6ce15df91ca0e28be602d251273e29b (patch) | |
tree | 7ce54e4be51d510a5bac6590009a15161e14ccd8 | |
parent | multimedia/libav: minor cleanup (diff) |
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.
Notes
Notes:
svn path=/head/; revision=396198
-rw-r--r-- | games/anki/Makefile | 11 | ||||
-rw-r--r-- | games/anki/distinfo | 4 | ||||
-rw-r--r-- | games/anki/files/patch-Makefile | 9 | ||||
-rw-r--r-- | games/anki/pkg-plist | 1 |
4 files changed, 9 insertions, 16 deletions
diff --git a/games/anki/Makefile b/games/anki/Makefile index 54c9b57deb90..03c5754b23b1 100644 --- a/games/anki/Makefile +++ b/games/anki/Makefile @@ -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/^/#/' \ diff --git a/games/anki/distinfo b/games/anki/distinfo index c82fd1ae0030..0c322b09a2b3 100644 --- a/games/anki/distinfo +++ b/games/anki/distinfo @@ -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 diff --git a/games/anki/files/patch-Makefile b/games/anki/files/patch-Makefile index b25c8ae4532b..3fe86d8da984 100644 --- a/games/anki/files/patch-Makefile +++ b/games/anki/files/patch-Makefile @@ -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." diff --git a/games/anki/pkg-plist b/games/anki/pkg-plist index ea82f6920c86..b82c3810c1da 100644 --- a/games/anki/pkg-plist +++ b/games/anki/pkg-plist @@ -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 |