forked from mirrors/nixpkgs
Add real players codecs for MPlayer. (can now play *.rmvb files)
svn path=/nixpkgs/trunk/; revision=11552
This commit is contained in:
parent
0c4bd745ce
commit
4485ebdea6
|
@ -23,6 +23,10 @@ let
|
|||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
||||
rp9codecs = (import ./rp9codecs) {
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -51,7 +55,7 @@ stdenv.mkDerivation {
|
|||
${if cacaSupport then "--enable-caca" else "--disable-caca"}
|
||||
${if dvdnavSupport then "--enable-dvdnav" else ""}
|
||||
--win32codecsdir=${win32codecs}
|
||||
--realcodecsdir=${win32codecs}
|
||||
--realcodecsdir=${rp9codecs}
|
||||
--enable-runtime-cpudetection
|
||||
--enable-x11 --with-extraincdir=${libX11}/include
|
||||
--disable-xanim
|
||||
|
|
11
pkgs/applications/video/MPlayer/rp9codecs/builder.sh
Normal file
11
pkgs/applications/video/MPlayer/rp9codecs/builder.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
source $stdenv/setup
|
||||
|
||||
buildPhase=true
|
||||
|
||||
installPhase() {
|
||||
mkdir $out
|
||||
cp -prv * $out
|
||||
}
|
||||
installPhase=installPhase
|
||||
|
||||
genericBuild
|
8
pkgs/applications/video/MPlayer/rp9codecs/default.nix
Normal file
8
pkgs/applications/video/MPlayer/rp9codecs/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||
name = "MPlayer-rp9codecs-20050115";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www2.mplayerhq.hu/MPlayer/releases/codecs/rp9codecs-20050115.tar.bz2;
|
||||
sha256 = "353c22e2c992a1c730bdd5fade66a94e1a058e38063d2ce064a6510b70c39677";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue