commit: 8f6f69ffbbae3cbf94cc508c153fd926d8e68563
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 00:38:49 2023 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 00:40:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6f69ff
net-im/discord-bin: Fix USE=system-ffmpeg
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
net-im/discord-bin/discord-bin-0.0.23.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/net-im/discord-bin/discord-bin-0.0.23.ebuild
b/net-im/discord-bin/discord-bin-0.0.23.ebuild
index 053aa478fb15..b521475a6cfa 100644
--- a/net-im/discord-bin/discord-bin-0.0.23.ebuild
+++ b/net-im/discord-bin/discord-bin-0.0.23.ebuild
@@ -6,6 +6,7 @@ EAPI=8
MY_PN="${PN/-bin/}"
MY_PV="${PV/-r*/}"
+CHROMIUM_VERSION="102"
CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he
hi
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv
@@ -56,7 +57,7 @@ RDEPEND="
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/pango
- system-ffmpeg? ( media-video/ffmpeg[chromium] )
+ system-ffmpeg? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
"
DESTDIR="/opt/${MY_PN}"
@@ -125,7 +126,7 @@ src_install() {
doexe "${MY_PN^}" chrome_crashpad_handler chrome-sandbox libEGL.so
libGLESv2.so libvk_swiftshader.so
if use system-ffmpeg; then
- dosym "../../usr/$(get_libdir)/chromium/libffmpeg.so"
"${DESTDIR}/libffmpeg.so" || die
+ dosym
"../../usr/$(get_libdir)/chromium/libffmpeg.so.${CHROMIUM_VERSION}"
"${DESTDIR}/libffmpeg.so" || die
else
doexe libffmpeg.so
fi