summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-12-16 22:34:18 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-12-16 22:39:58 +0000
commit511e748cc32f63f761bc17a43eaf0d648d9a3223 (patch)
tree1d237f090eda2dfbe485abafd0d75c5f84f8ccb6
parentdev-embedded/avra: Stabilize 1.4.2 amd64, #759586 (diff)
downloadgentoo-511e748cc32f63f761bc17a43eaf0d648d9a3223.tar.gz
gentoo-511e748cc32f63f761bc17a43eaf0d648d9a3223.tar.bz2
gentoo-511e748cc32f63f761bc17a43eaf0d648d9a3223.zip
www-client/vivaldi-snapshot: Fix warning by adjusting ffmpeg symlink
Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8-r1.ebuild (renamed from www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8.ebuild)9
1 files changed, 7 insertions, 2 deletions
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8-r1.ebuild
index f69da1d681b9..05c0836ba476 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2131.8-r1.ebuild
@@ -165,6 +165,11 @@ src_prepare() {
chromium_remove_language_paks
popd > /dev/null || die
+ if use proprietary-codecs; then
+ rm ${VIVALDI_HOME}/lib/libffmpeg.so || die
+ rmdir ${VIVALDI_HOME}/lib || die
+ fi
+
eapply_user
}
@@ -181,8 +186,8 @@ src_install() {
done
if use proprietary-codecs; then
- dosym ../../../usr/$(get_libdir)/chromium/libffmpeg.so \
- /${VIVALDI_HOME}/lib/libffmpeg.so
+ dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so \
+ /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2)
fi
if use widevine; then