* Added rte (real-time encoder) library.

svn path=/nixpkgs/trunk/; revision=1071
This commit is contained in:
Eelco Dolstra 2004-06-21 20:41:32 +00:00
parent 59bf3545de
commit b8f20e51f4
6 changed files with 35 additions and 3 deletions

View File

@ -63,3 +63,7 @@ stdenv.mkDerivation {
/* buildInputs = [pkgconfig];
propagatedBuildInputs = [libX11]; */
}
* Add "exit 0" at the end of configure of rte package.

View File

@ -1,10 +1,11 @@
{ teletextSupport ? true
, jpegSupport ? true
, pngSupport ? true
, recordingSupport ? true
# !!! libXext shouldn't be necessary (it's in x11); but the builder needs it.
, stdenv, fetchurl, pkgconfig, perl, python, x11, libXv, libXmu, libXext, libgnomeui
, libglade, scrollkeeper, esound, gettext, perlXMLParser
, zvbi ? null, libjpeg ? null, libpng ? null }:
, zvbi ? null, libjpeg ? null, libpng ? null, rte ? null }:
assert pkgconfig != null && perl != null && python != null
&& x11 != null && libXv != null && libXmu != null && libgnomeui != null && libglade != null
@ -17,6 +18,8 @@ assert teletextSupport -> zvbi != null && zvbi.pngSupport
assert jpegSupport -> libjpeg != null;
assert pngSupport -> libpng != null;
assert recordingSupport -> rte != null;
stdenv.mkDerivation {
name = "zapping-0.7cvs8";
@ -34,5 +37,6 @@ stdenv.mkDerivation {
(if teletextSupport then zvbi else null)
(if jpegSupport then libjpeg else null)
(if pngSupport then libpng else null)
(if recordingSupport then rte else null)
];
}

View File

@ -0,0 +1,9 @@
. $stdenv/setup
configureScript=configure
configure() {
# !!! hack: configure returns non-zero even on success.
./configure $configureFlags || true
}
genericBuild

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "rte-0.5.2";
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/rte-0.5.2.tar.bz2;
md5 = "152d5d81169f0c9a543078543e354ebe";
};
}

View File

@ -433,6 +433,10 @@ rec {
libpng = libpng;
};
rte = (import ../development/libraries/rte) {
inherit fetchurl stdenv;
};
ncurses = (import ../development/libraries/ncurses) {
inherit fetchurl stdenv;
};
@ -581,12 +585,13 @@ rec {
zapping = (import ../applications/video/zapping) {
inherit fetchurl stdenv pkgconfig perl python
scrollkeeper gettext zvbi libjpeg libpng x11
perlXMLParser;
rte perlXMLParser;
inherit (gnome) libgnomeui libglade esound;
inherit (xlibs) libXv libXmu libXext;
teletextSupport = true;
jpegSupport = true;
pngSupport = true;
recordingSupport = true;
};
gqview = (import ../applications/graphics/gqview) {

View File

@ -48,7 +48,7 @@ let {
pkgs.MPlayer
pkgs.MPlayerPlugin
pkgs.vlc
# pkgs.zapping
pkgs.zapping
pkgs.gqview
pkgs.hello
pkgs.xchm