app-misc/anki-bin: add recording optfeature for qt6

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2023-06-12 09:38:12 +02:00
parent 8f57a7a83c
commit f82d8723c5

View File

@@ -81,13 +81,7 @@ pkg_postinst() {
xdg_pkg_postinst
optfeature "LaTeX in cards" "app-text/texlive[extra] app-text/dvipng"
optfeature "sound support" media-video/mpv media-video/mplayer
if use qt6; then
ewarn "Recording support is broken for Qt6 until dev-qt/qtmultimedia"
ewarn "implements support for ALSA or PulseAudio."
ewarn "Consider running Anki with Qt5 if you need recordings."
else
optfeature "recording support" "media-sound/lame[frontend] dev-python/PyQt5[multimedia]"
fi
optfeature "recording support" "media-sound/lame[frontend] dev-python/PyQt$(usex qt6 6 5)[multimedia]"
einfo "You can customize the LaTeX header for your cards to fit your needs:"
einfo "Notes > Manage Note Types > Options"
}