mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
RealPlayer: Remove
This package hasn't built in ages, is unfree, and is not needed anymore.
This commit is contained in:
parent
d8f37cdf9a
commit
ecee1be7f1
@ -1,20 +0,0 @@
|
||||
source $stdenv/setup
|
||||
source $makeWrapper
|
||||
|
||||
mkdir -p $out/real
|
||||
|
||||
skip=143273 # Look for "BZh91" in the executable.
|
||||
|
||||
(dd bs=1 count=$skip of=/dev/null && dd) < $src | (cd $out/real && tar xvfj -)
|
||||
|
||||
rm -rf $out/real/Bin $out/real/postinst
|
||||
|
||||
patchelf --interpreter $(cat $NIX_GCC/nix-support/dynamic-linker) $out/real/realplay.bin
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper "$out/real/realplay.bin" "$out/bin/realplay" \
|
||||
--set HELIX_LIBS "$out/real" \
|
||||
--suffix-each LD_LIBRARY_PATH ':' "$(addSuffix /lib $libPath)"
|
||||
|
||||
#echo "$libstdcpp5/lib" > $out/real/mozilla/extra-library-path # !!! must be updated, use patchelf --rpath
|
||||
echo "$out/bin" > $out/real/mozilla/extra-bin-path
|
@ -1,19 +0,0 @@
|
||||
{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11, makeWrapper}:
|
||||
|
||||
# Note that RealPlayer 10 need libstdc++.so.5, i.e., GCC 3.3, not 3.4.
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
(stdenv.mkDerivation {
|
||||
name = "RealPlayer-10.0.8.805-GOLD";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://software-dl.real.com/25ae61d70a6855a52c14/unix/RealPlayer10GOLD.bin;
|
||||
md5 = "d28b31261059231a3e93c7466f8153e6";
|
||||
};
|
||||
|
||||
inherit libstdcpp5 makeWrapper;
|
||||
libPath = [libstdcpp5 glib pango atk gtk libX11];
|
||||
|
||||
}) // {mozillaPlugin = "/real/mozilla";}
|
@ -7753,10 +7753,6 @@ let
|
||||
|
||||
rdesktop = callPackage ../applications/networking/remote/rdesktop { };
|
||||
|
||||
RealPlayer = callPackage_i686 ../applications/video/RealPlayer {
|
||||
libstdcpp5 = gcc33.gcc;
|
||||
};
|
||||
|
||||
recode = callPackage ../tools/text/recode { };
|
||||
|
||||
retroshare = callPackage ../applications/networking/p2p/retroshare {
|
||||
@ -8080,8 +8076,6 @@ let
|
||||
([ ]
|
||||
++ lib.optional enableGnash gnash
|
||||
++ lib.optional enableAdobeFlash flashplayer
|
||||
# RealPlayer is disabled by default for legal reasons.
|
||||
++ lib.optional (system != "i686-linux" && cfg.enableRealPlayer or false) RealPlayer
|
||||
++ lib.optional (cfg.enableDjvu or false) (djview4)
|
||||
++ lib.optional (cfg.enableMPlayer or false) (MPlayerPlugin browser)
|
||||
++ lib.optional (cfg.enableGeckoMediaPlayer or false) gecko_mediaplayer
|
||||
|
@ -1525,7 +1525,6 @@ in
|
||||
rdesktop = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
rdf4store = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
rdiff_backup = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
RealPlayer = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
recutils = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
redshift = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
relfs = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
|
||||
|
Loading…
Reference in New Issue
Block a user