* Added RealPlayer 10.0.3.

svn path=/nixpkgs/trunk/; revision=2389
This commit is contained in:
Eelco Dolstra 2005-03-12 12:53:03 +00:00
parent 0fde925dfc
commit 3e9383d8b1
3 changed files with 44 additions and 0 deletions

@ -0,0 +1,18 @@
. $stdenv/setup
. $makeWrapper
ensureDir $out/real
skip=143209
(dd bs=1 count=$skip of=/dev/null && dd) < $src | (cd $out/real && tar xvfj -)
rm -rf $out/real/Bin $out/real/postinst
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
patchelf --interpreter $glibc/lib/ld-linux.so.* $out/real/realplay.bin
ensureDir $out/bin
makeWrapper "$out/real/realplay.bin" "$out/bin/realplay" \
--set HELIX_LIBS "$out/real" \
--suffix-each LD_LIBRARY_PATH ':' "$(addSuffix /lib $libPath)"

@ -0,0 +1,19 @@
{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11}:
# 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.3.748-GOLD";
builder = ./builder.sh;
src = fetchurl {
url = http://software-dl.real.com/12ae5c4cc79d437fa106/unix/RealPlayer10GOLD.bin;
md5 = "70a88bcae0ab3e177e6fadecd6b8be24";
};
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
libPath = [libstdcpp5 glib pango atk gtk libX11];
}

@ -1121,6 +1121,13 @@ rec {
inherit fetchurl stdenv x11 xineLib libpng;
};
RealPlayer = import ../applications/video/RealPlayer {
inherit fetchurl stdenv;
inherit (gtkLibs) glib pango atk gtk;
inherit (xlibs) libX11;
libstdcpp5 = gcc33.gcc;
};
zapping = (import ../applications/video/zapping) {
inherit fetchurl stdenv pkgconfig perl python
gettext zvbi libjpeg libpng x11