* vlc and required packages. Finally a good DVD player :-)

svn path=/nixpkgs/trunk/; revision=574
This commit is contained in:
Eelco Dolstra
2003-12-03 21:58:16 +00:00
parent 1fde9ff92d
commit 57fd5644d2
17 changed files with 264 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd a52dec-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "a52dec-0.7.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz;
md5 = "caa9f5bc44232dc8aeea773fea56be80";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd libdvdcss-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "libdvdcss-1.2.8";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/libdvdcss-1.2.8.tar.gz;
md5 = "e35e4240b6ca0b66a0218065dffe6adb";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,11 @@
#! /bin/sh
buildinputs="$libdvdread"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd libdvdplay-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,15 @@
{stdenv, fetchurl, libdvdread}:
assert !isNull libdvdread;
derivation {
name = "libdvdplay-1.0.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/libdvdplay/1.0.1/libdvdplay-1.0.1.tar.bz2;
md5 = "602bca4ef78d79aa87e5e8920d958a78";
};
stdenv = stdenv;
libdvdread = libdvdread;
}

View File

@@ -0,0 +1,11 @@
#! /bin/sh
buildinputs="$libdvdcss"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd libdvdread-* || exit 1
./configure --prefix=$out --with-libdvdcss="$libdvdcss" || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,15 @@
{stdenv, fetchurl, libdvdcss}:
assert !isNull libdvdcss;
derivation {
name = "libdvdread-20030812";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/libdvdread-20030812.tar.bz2;
md5 = "9d58beac7c2dfb98d00f4ed0ea3d7274";
};
stdenv = stdenv;
libdvdcss = libdvdcss;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd libmad-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "libmad-0.15.0b";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/mad/libmad-0.15.0b.tar.gz;
md5 = "2e4487cdf922a6da2546bad74f643205";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,10 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd mpeg2dec-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "mpeg2dec-20030612";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/mpeg2dec-20030612.tar.bz2;
md5 = "17b880eb8766a2e46834d2274882d284";
};
stdenv = stdenv;
}

View File

@@ -0,0 +1,12 @@
#! /bin/sh
buildinputs="$pkgconfig $gtk $libtiff $libjpeg $libpng $zlib"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd wxGTK-* || exit 1
./configure --prefix=$out --enable-gtk2 \
--disable-compat22 \
|| exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,26 @@
{stdenv, fetchurl, pkgconfig, gtk}:
assert !isNull pkgconfig && !isNull gtk;
assert !isNull gtk.libtiff;
assert !isNull gtk.libjpeg;
assert !isNull gtk.libpng;
assert !isNull gtk.libpng.zlib;
derivation {
name = "wxGTK-2.4.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.4.2.tar.bz2;
md5 = "cdadfe82fc93f8a65a2ae18a95b0b0e3";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libtiff = gtk.libtiff;
libjpeg = gtk.libjpeg;
libpng = gtk.libpng;
zlib = gtk.libpng.zlib;
}