www-plugins/chrome-binary-plugins: install WidevineCdm directory
authorMike Gilbert <floppym@gentoo.org>
Mon, 23 Sep 2019 17:55:11 +0000 (13:55 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 23 Sep 2019 17:55:11 +0000 (13:55 -0400)
Also get rid of the pointless USE flag.

Package-Manager: Portage-2.3.75_p7, Repoman-2.3.17_p49
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
www-plugins/chrome-binary-plugins/chrome-binary-plugins-78.0.3904.17_alpha.ebuild
www-plugins/chrome-binary-plugins/chrome-binary-plugins-78.0.3904.21_beta.ebuild

index 3fd84e77d22648515b33d3525e1d36f60d83f775..44a588dd47fab7e0074166c7c6a4ac5b604bc494 100644 (file)
@@ -33,16 +33,13 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
 KEYWORDS="-* ~amd64"
 
 LICENSE="google-chrome"
-IUSE="+widevine"
 RESTRICT="bindist mirror strip"
 
 RDEPEND="
-       widevine? (
-               dev-libs/glib:2
-               dev-libs/nspr
-               dev-libs/nss
-               !<www-client/chromium-57[widevine(-)]
-       )
+       dev-libs/glib:2
+       dev-libs/nspr
+       dev-libs/nss
+       !<www-client/chromium-57[widevine(-)]
 "
 
 for x in 0 beta stable unstable; do
@@ -59,9 +56,6 @@ pkg_nofetch() {
 }
 
 src_install() {
-       insinto /usr/$(get_libdir)/chromium
-       if use widevine; then
-               doins libwidevinecdm.so
-               dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
-       fi
+       insinto "/usr/$(get_libdir)/chromium-browser"
+       doins -r WidevineCdm
 }
index 3fd84e77d22648515b33d3525e1d36f60d83f775..44a588dd47fab7e0074166c7c6a4ac5b604bc494 100644 (file)
@@ -33,16 +33,13 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
 KEYWORDS="-* ~amd64"
 
 LICENSE="google-chrome"
-IUSE="+widevine"
 RESTRICT="bindist mirror strip"
 
 RDEPEND="
-       widevine? (
-               dev-libs/glib:2
-               dev-libs/nspr
-               dev-libs/nss
-               !<www-client/chromium-57[widevine(-)]
-       )
+       dev-libs/glib:2
+       dev-libs/nspr
+       dev-libs/nss
+       !<www-client/chromium-57[widevine(-)]
 "
 
 for x in 0 beta stable unstable; do
@@ -59,9 +56,6 @@ pkg_nofetch() {
 }
 
 src_install() {
-       insinto /usr/$(get_libdir)/chromium
-       if use widevine; then
-               doins libwidevinecdm.so
-               dosym ../chromium/libwidevinecdm.so /usr/$(get_libdir)/chromium-browser/libwidevinecdm.so
-       fi
+       insinto "/usr/$(get_libdir)/chromium-browser"
+       doins -r WidevineCdm
 }