Skip to content

Commit 707ad76

Browse files
committed
games/anki: Update to 24.04
* Support for offline builds has now been integrated, so a number of patches are no longer required. * The same applies to some environment variables that are also no longer needed or have changed slightly regarding their purpose. * The workaround introduced in bdcfffd regarding issues with nVidia drivers was also merged by upstream and is therefore no longer required. Changelog: https://github.com/ankitects/anki/releases/tag/24.04
1 parent d07bc71 commit 707ad76

12 files changed

+729
-988
lines changed

‎games/anki/Makefile‎

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PORTNAME= anki
2-
DISTVERSION= 23.12.1
3-
PORTREVISION= 4
2+
DISTVERSION= 24.04
43
# Don't forget to update ${_MY_BUILDHASH} if DISTVERSION changes
54
CATEGORIES= games education python
65
MASTER_SITES= LOCAL/kai/:yarncache
@@ -45,8 +44,8 @@ USES= cargo desktop-file-utils ninja nodejs:build pyqt:6 python:3.9+ \
4544
USE_GITHUB= yes
4645
GH_ACCOUNT= ankitects
4746
# Translation files
48-
GH_TUPLE= ankitects:anki-core-i18n:fb301cc:ftlrslib \
49-
ankitects:anki-desktop-ftl:8c2191a:ftlextra
47+
GH_TUPLE= ankitects:anki-core-i18n:c74c15b:ftlrslib \
48+
ankitects:anki-desktop-ftl:06ad12d:ftlextra
5049

5150
USE_PYQT= pyqt6 sip:build webengine
5251

@@ -59,16 +58,12 @@ CARGO_INSTALL= no
5958

6059
CARGO_TARGET_DIR= ${WRKSRC}/out/rust
6160

62-
# Custom variables introduced to the runner build system via patches
63-
MAKE_ENV+= NO_BUNDLE=1 \
64-
NO_VENV=1 \
65-
OFFLINE_BUILD=1 \
66-
OFFLINE_YARNCACHE=${_MY_YARNCACHE}
67-
# Variables already known and used by the "runner" build system
61+
# Variables used by the "runner" build system
6862
MAKE_ENV+= NODE_BINARY=${LOCALBASE}/bin/node \
63+
OFFLINE_BUILD=1 \
6964
PROTOC_BINARY=${LOCALBASE}/bin/protoc \
70-
PYTHON_BINARY=${PYTHON_CMD} \
7165
YARN_BINARY=${LOCALBASE}/bin/yarn \
66+
YARN_CACHE_FOLDER=${_MY_YARNCACHE} \
7267
out=${WRKSRC}/out
7368
# If RELEASE is unset the "runner" build system omits the
7469
# "--release" flag for cargo(1).
@@ -89,7 +84,7 @@ MPV_RUN_DEPENDS= mpv:multimedia/mpv
8984
# Should contain the most recent commit that reflects ${DISTVERSION} and must
9085
# be exactly 8 digits otherwise the check for newer versions won't work as
9186
# expected.
92-
_MY_BUILDHASH= 1a1d4d54
87+
_MY_BUILDHASH= 429bc9e1
9388
# Remove ${CARGO_BUILD_TARGET} from ${CARGO_ENV} to avoid problems with
9489
# hardcoded paths as the "runner" build system expects its components
9590
# in ${WRKSRC}/out/rust/debug

0 commit comments

Comments
 (0)