summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2023-01-12 19:38:49 -0500
committerNick Sarnie <sarnex@gentoo.org>2023-01-12 19:40:28 -0500
commit8f6f69ffbbae3cbf94cc508c153fd926d8e68563 (patch)
tree18e2d18b55feb5b16c6fccf680f157be9c8cfb4c /net-im
parentmedia-libs/openexr: drop 3.1.5 (diff)
downloadgentoo-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.ebuild5
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