commit: f82d8723c5537742a1adbf5dfc6ded3345969e70
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jun 12 07:38:12 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jun 12 07:39:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f82d8723
app-misc/anki-bin: add recording optfeature for qt6
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-misc/anki-bin/anki-bin-2.1.65.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/app-misc/anki-bin/anki-bin-2.1.65.ebuild
b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
index c57a27768..37861a6f0 100644
--- a/app-misc/anki-bin/anki-bin-2.1.65.ebuild
+++ b/app-misc/anki-bin/anki-bin-2.1.65.ebuild
@@ -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"
}