chromium: fixup plugins with multiple outputs
Chromium+flash seem to work fine now.
This commit is contained in:
parent
c801cd1a04
commit
4c0125bc8f
@ -45,6 +45,7 @@ let
|
|||||||
|
|
||||||
phases = [ "unpackPhase" "patchPhase" "installPhase" "checkPhase" ];
|
phases = [ "unpackPhase" "patchPhase" "installPhase" "checkPhase" ];
|
||||||
outputs = [ "flash" "widevine" ];
|
outputs = [ "flash" "widevine" ];
|
||||||
|
out = "flash"; # outputs TODO: is this a hack?
|
||||||
|
|
||||||
unpackCmd = let
|
unpackCmd = let
|
||||||
chan = if source.channel == "dev" then "chrome-unstable"
|
chan = if source.channel == "dev" then "chrome-unstable"
|
||||||
@ -64,7 +65,7 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
patchPhase = let
|
patchPhase = let
|
||||||
rpaths = [ stdenv.cc.cc ];
|
rpaths = [ stdenv.cc.cc.lib ];
|
||||||
mkrpath = p: "${makeSearchPath "lib64" p}:${makeSearchPath "lib" p}";
|
mkrpath = p: "${makeSearchPath "lib64" p}:${makeSearchPath "lib" p}";
|
||||||
in ''
|
in ''
|
||||||
for sofile in PepperFlash/libpepflashplayer.so \
|
for sofile in PepperFlash/libpepflashplayer.so \
|
||||||
|
Loading…
Reference in New Issue
Block a user