mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
app-misc/anki-bin: add recording optfeature for qt6
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user