summary refs log tree commit diff
path: root/pkgs/applications/video/MPlayer/trunk.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/MPlayer/trunk.nix')
-rw-r--r--pkgs/applications/video/MPlayer/trunk.nix79
1 files changed, 0 insertions, 79 deletions
diff --git a/pkgs/applications/video/MPlayer/trunk.nix b/pkgs/applications/video/MPlayer/trunk.nix
deleted file mode 100644
index c5676a14167..00000000000
--- a/pkgs/applications/video/MPlayer/trunk.nix
+++ /dev/null
@@ -1,79 +0,0 @@
-# the hompepage even recommends using trunk
-{ alsaSupport ? false, xvSupport ? true, theoraSupport ? false, cacaSupport ? false
-, xineramaSupport ? false, randrSupport ? false, dvdnavSupport ? true
-, stdenv, fetchurl, x11, freetype, freefont_ttf, zlib
-, alsa ? null, libX11, libXv ? null, libtheora ? null, libcaca ? null
-, libXinerama ? null, libXrandr ? null, libdvdnav ? null, jackaudio ? null
-, cdparanoia ? null, cddaSupport ? true, jackaudioSupport ? true
-, mesa, pkgconfig
-, sourceFromHead
-}:
-
-assert alsaSupport -> alsa != null;
-assert xvSupport -> libXv != null;
-assert theoraSupport -> libtheora != null;
-assert cacaSupport -> libcaca != null;
-assert xineramaSupport -> libXinerama != null;
-assert randrSupport -> libXrandr != null;
-assert dvdnavSupport -> libdvdnav != null;
-assert cddaSupport -> cdparanoia != null;
-assert jackaudioSupport -> jackaudio != null;
-
-let
-
-  win32codecs = (import ./win32codecs) {
-    inherit stdenv fetchurl;
-  };
-
-  rp9codecs = (import ./rp9codecs) {
-    inherit stdenv fetchurl;
-  };
-
-in
-
-stdenv.mkDerivation {
-
-  name = "mplayer-trunk";
-
-  # REGION AUTO UPDATE:       { name="MPlayer"; type = "svn"; url="svn://svn.mplayerhq.hu/mplayer/trunk"; }
-  src = sourceFromHead "MPlayer-30676.tar.gz"
-               (fetchurl { url = "http://mawercer.de/~nix/repos/MPlayer-30676.tar.gz"; sha256 = "3d5fc038d34dfc5af15f1510f06920710d083f61f29fe31f2dfa3cdcac2a4424"; });
-  # END
-
-  buildInputs =
-    [x11 libXv freetype zlib mesa pkgconfig]
-    ++ stdenv.lib.optional alsaSupport alsa
-    ++ stdenv.lib.optional xvSupport libXv
-    ++ stdenv.lib.optional theoraSupport libtheora
-    ++ stdenv.lib.optional cacaSupport libcaca
-    ++ stdenv.lib.optional xineramaSupport libXinerama
-    ++ stdenv.lib.optional randrSupport libXrandr
-    ++ stdenv.lib.optionals dvdnavSupport [libdvdnav libdvdnav.libdvdread]
-    ++ stdenv.lib.optional cddaSupport cdparanoia
-    ++ stdenv.lib.optional jackaudioSupport jackaudio;
-
-  configureFlags = ''
-    ${if cacaSupport then "--enable-caca" else "--disable-caca"}
-    ${if dvdnavSupport then "--enable-dvdnav --enable-dvdread --disable-dvdread-internal" else ""}
-    --win32codecsdir=${win32codecs}
-    --realcodecsdir=${rp9codecs}
-    --enable-runtime-cpudetection
-    --enable-x11
-    --disable-xanim
-    --disable-ivtv
-  '';
-
-  NIX_LDFLAGS = "-lX11 -lXext";
-
-  # Provide a reasonable standard font.  Maybe we should symlink here.
-  postInstall = ''
-    ensureDir $out/share/mplayer
-    cp ${freefont_ttf}/share/fonts/truetype/FreeSans.ttf $out/share/mplayer/subfont.ttf
-  '';
-
-  meta = {
-    description = "A movie player that supports many video formats";
-    homepage = "http://mplayerhq.hu";
-    license = "GPL";
-  };
-}