summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2021-03-11 13:55:20 +0100
committerSven Eden <sven.eden@prydeworx.com>2021-03-11 13:55:20 +0100
commitf3694eab75c248955d8ba2a97ecf03c674c7239c (patch)
treec5429bb928566129bd7719fe828586ffe199a900 /net-im
parentRevert "net-im/teams-insiders: Add gnome-keyring USE flag to make libsecret d... (diff)
downloadseden-f3694eab75c248955d8ba2a97ecf03c674c7239c.tar.gz
seden-f3694eab75c248955d8ba2a97ecf03c674c7239c.tar.bz2
seden-f3694eab75c248955d8ba2a97ecf03c674c7239c.zip
net-im/teams-insiders: Go back on symlinking libffmpeg.so, as imposing it on everything via ENV is a bad thing to do.
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/teams-insiders/teams-insiders-1.3.00.30857-r1.ebuild (renamed from net-im/teams-insiders/teams-insiders-1.3.00.30857.ebuild)5
-rw-r--r--net-im/teams-insiders/teams-insiders-1.4.00.4855-r1.ebuild (renamed from net-im/teams-insiders/teams-insiders-1.4.00.4855.ebuild)5
2 files changed, 2 insertions, 8 deletions
diff --git a/net-im/teams-insiders/teams-insiders-1.3.00.30857.ebuild b/net-im/teams-insiders/teams-insiders-1.3.00.30857-r1.ebuild
index b3f52ef..3121f54 100644
--- a/net-im/teams-insiders/teams-insiders-1.3.00.30857.ebuild
+++ b/net-im/teams-insiders/teams-insiders-1.3.00.30857-r1.ebuild
@@ -85,10 +85,7 @@ src_install() {
# Use system ffmpeg, if wanted. Might crash MS Teams!
if use system-ffmpeg; then
rm -f "${D}"/${dest}/share/${PN}/libffmpeg.so
- cat > 99teams <<-EOF
- LDPATH=${EROOT}/usr/$(get_libdir)/chromium
- EOF
- doenvd 99teams
+ dosym "${dest}/$(get_libdir)/chromium/libffmpeg.so" "${dest}/share/${PN}/libffmpeg.so"
elog "Using system ffmpeg. This is experimental and may lead to crashes."
else
# Otherwise keep the executable bit on the bundled lib
diff --git a/net-im/teams-insiders/teams-insiders-1.4.00.4855.ebuild b/net-im/teams-insiders/teams-insiders-1.4.00.4855-r1.ebuild
index b3f52ef..3121f54 100644
--- a/net-im/teams-insiders/teams-insiders-1.4.00.4855.ebuild
+++ b/net-im/teams-insiders/teams-insiders-1.4.00.4855-r1.ebuild
@@ -85,10 +85,7 @@ src_install() {
# Use system ffmpeg, if wanted. Might crash MS Teams!
if use system-ffmpeg; then
rm -f "${D}"/${dest}/share/${PN}/libffmpeg.so
- cat > 99teams <<-EOF
- LDPATH=${EROOT}/usr/$(get_libdir)/chromium
- EOF
- doenvd 99teams
+ dosym "${dest}/$(get_libdir)/chromium/libffmpeg.so" "${dest}/share/${PN}/libffmpeg.so"
elog "Using system ffmpeg. This is experimental and may lead to crashes."
else
# Otherwise keep the executable bit on the bundled lib