diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2023-01-12 19:38:49 -0500 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2023-01-12 19:40:28 -0500 |
commit | 8f6f69ffbbae3cbf94cc508c153fd926d8e68563 (patch) | |
tree | 18e2d18b55feb5b16c6fccf680f157be9c8cfb4c /net-im | |
parent | media-libs/openexr: drop 3.1.5 (diff) | |
download | gentoo-8f6f69ffbbae3cbf94cc508c153fd926d8e68563.tar.gz gentoo-8f6f69ffbbae3cbf94cc508c153fd926d8e68563.tar.bz2 gentoo-8f6f69ffbbae3cbf94cc508c153fd926d8e68563.zip |
net-im/discord-bin: Fix USE=system-ffmpeg
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/discord-bin/discord-bin-0.0.23.ebuild | 5 |
1 files 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 |