diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2020-12-17 18:33:05 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2020-12-17 18:33:48 +0100 |
commit | 3ee0b3ba75c94642073ecf46981151ccbc684c5c (patch) | |
tree | 832c436d94bec97c17e7a4ebd9ce07d31578b45e /www-client/opera-developer | |
parent | net-news/rssguard: fix parallel make issue in src_install (diff) | |
download | gentoo-3ee0b3ba75c94642073ecf46981151ccbc684c5c.tar.gz gentoo-3ee0b3ba75c94642073ecf46981151ccbc684c5c.tar.bz2 gentoo-3ee0b3ba75c94642073ecf46981151ccbc684c5c.zip |
www-client/opera-developer: fix widevine installation
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r-- | www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild (renamed from www-client/opera-developer/opera-developer-74.0.3904.0.ebuild) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/www-client/opera-developer/opera-developer-74.0.3904.0.ebuild b/www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild index bbe796e0b002..fcc98f28db80 100644 --- a/www-client/opera-developer/opera-developer-74.0.3904.0.ebuild +++ b/www-client/opera-developer/opera-developer-74.0.3904.0-r1.ebuild @@ -93,12 +93,12 @@ src_install() { # move to /opt, bug #573052 mkdir -p "${OPERA_HOME%${PN}}" mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die - rm -rf "usr/lib" || die + rm -r "usr/lib" || die # disable auto update rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die - rm -rf "usr/share/lintian" || die + rm -r "usr/share/lintian" || die # fix docs mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die @@ -115,19 +115,20 @@ src_install() { popd > /dev/null || die # setup opera symlink - rm -f "usr/bin/${PN}" || die + rm "usr/bin/${PN}" || die dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}" # install proprietary codecs - rm -f "resources/ffmpeg_preload_config.json" || die + rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die if use proprietary-codecs; then mv lib_extra "${OPERA_HOME}" fi # symlink widevine - rm -f "resources/widevine_config.json" || die + rm "${OPERA_HOME}/resources/widevine_config.json" || die if use widevine; then - dosym "../../usr/$(get_libdir)/chromium-browser/WidevineCdm" "${OPERA_HOME}/WidevineCdm" + echo "[\"${EPREFIX}/usr/$(get_libdir)/chromium-browser/WidevineCdm\"]" > \ + "${OPERA_HOME}/resources/widevine_config.json" || die fi # pax mark opera, bug #562038 |