Skip to content

Commit

Permalink
www-plugins/chrome-binary-plugins: libwidevinecdmadapter.so symlink
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/608148
Package-Manager: Portage-2.3.3_p49, Repoman-2.3.1_p42
  • Loading branch information
floppym committed Feb 5, 2017
1 parent 28820fb commit 42c74fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,10 @@ pkg_nofetch() {
}

src_install() {
local version

insinto /usr/$(get_libdir)/chromium
if use widevine; then
doins libwidevinecdm.so libwidevinecdmadapter.so
dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version
doins widevine.version
dosym ../chromium/libwidevinecdmadapter.so /usr/$(get_libdir)/chromium-browser/libwidevinecdmadapter.so
fi
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,10 @@ pkg_nofetch() {
}

src_install() {
local version

insinto /usr/$(get_libdir)/chromium
if use widevine; then
doins libwidevinecdm.so libwidevinecdmadapter.so
dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
strings ./chrome | grep -C 1 " (version:" | tail -1 > widevine.version
doins widevine.version
dosym ../chromium/libwidevinecdmadapter.so /usr/$(get_libdir)/chromium-browser/libwidevinecdmadapter.so
fi
}

0 comments on commit 42c74fb

Please sign in to comment.