3
0
Fork 0
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:
Nicolas Pierron 2008-04-10 22:12:14 +00:00
parent 0c4bd745ce
commit 4485ebdea6
3 changed files with 24 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,11 @@
source $stdenv/setup
buildPhase=true
installPhase() {
mkdir $out
cp -prv * $out
}
installPhase=installPhase
genericBuild

View 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";
};
}