* Fixes for a52dec and mpeg2dec to make vlc build on x86_64-linux.
* Fixes to make par2cmdline and exult build on gcc 4.x, since gcc 3.4.x doesn't seem to work on x86_64-linux (NIXPKGS-91). * Disabled pidgin on x86_64-linux because it needs a dynamic libperl which we don't have right now. * Disabled wine on x86_64-linux because we still lack -m32 support. svn path=/nixpkgs/trunk/; revision=12187
This commit is contained in:
parent
de4901c4fe
commit
677be83122
@ -8,11 +8,11 @@ assert libdvdread.libdvdcss == libdvdcss;
|
|||||||
assert xvSupport -> libXv != null;
|
assert xvSupport -> libXv != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "vlc-0.8.6d";
|
name = "vlc-0.8.6h";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://download.videolan.org/pub/videolan/vlc/0.8.6d/vlc-0.8.6d.tar.bz2;
|
url = http://download.videolan.org/pub/videolan/vlc/0.8.6h/vlc-0.8.6h.tar.bz2;
|
||||||
sha256 = "019jw9cp7fbmhbmlbwvjgpamxwx0rdajyxab2sbmh4n6v04fl266";
|
sha256 = "08bj6ndxj0f7jdsif43535qyavpy13wni93z7c2790i2d748gvah";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -20,8 +20,7 @@ stdenv.mkDerivation {
|
|||||||
zlib mpeg2dec a52dec libmad ffmpeg alsa
|
zlib mpeg2dec a52dec libmad ffmpeg alsa
|
||||||
libdvdread # <- for "simple" DVD playback
|
libdvdread # <- for "simple" DVD playback
|
||||||
libdvdnav libdvdcss # <- for DVD playback with menus
|
libdvdnav libdvdcss # <- for DVD playback with menus
|
||||||
(if xvSupport then libXv else null)
|
] ++ stdenv.lib.optional xvSupport libXv;
|
||||||
];
|
|
||||||
|
|
||||||
# Ensure that libdvdcss will be found without having to set LD_LIBRARY_PATH.
|
# Ensure that libdvdcss will be found without having to set LD_LIBRARY_PATH.
|
||||||
NIX_LDFLAGS = "-ldvdcss";
|
NIX_LDFLAGS = "-ldvdcss";
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
args: with args;
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "a52dec-0.7.4";
|
name = "a52dec-0.7.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/files/a52dec-0.7.4.tar.gz";
|
url = "${meta.homepage}/files/a52dec-0.7.4.tar.gz";
|
||||||
sha256 = "0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2";
|
sha256 = "0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2";
|
||||||
@ -9,7 +10,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = "--enable-shared --disable-static";
|
configureFlags = "--enable-shared --disable-static";
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-fpic";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://liba52.sourceforge.net;
|
homepage = http://liba52.sourceforge.net/;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "mpeg2dec-20050802";
|
name = "mpeg2dec-0.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.u-strasbg.fr/pub/videolan/vlc/0.8.4a/contrib/mpeg2dec-20050802.tar.gz;
|
url = http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.1.tar.gz;
|
||||||
md5 = "79b3559a9354085fcebb1460dd93d237";
|
sha256 = "1vny7rg0p2rmic71hli2l2612i5yaw8vy0wsnm5nvhwfiw37cjn7";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = "--enable-shared --disable-static";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://libmpeg2.sourceforge.net/;
|
||||||
|
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,14 @@ stdenv.mkDerivation {
|
|||||||
md5 = "0fc88dee74a91724d25373ba0a8670ba";
|
md5 = "0fc88dee74a91724d25373ba0a8670ba";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Patches for building on x86_64 and gcc 4.x.
|
||||||
|
patches = [
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://www.rocklinux.net/sources/package/stf/exult/exult-gcc4.patch";
|
||||||
|
sha256 = "1jlikxcpsi3yfchan3jbyi66fcyr18m7kfmsa946lwh3kzckszm7";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [SDL SDL_mixer zlib libpng unzip];
|
buildInputs = [SDL SDL_mixer zlib libpng unzip];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL";
|
NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL";
|
||||||
@ -27,6 +35,7 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
homepage = http://exult.sourceforge.net/;
|
||||||
description = "A reimplementation of the Ultima VII game engine";
|
description = "A reimplementation of the Ultima VII game engine";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,21 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "par2cmdline-0.4";
|
name = "par2cmdline-0.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/parchive/par2cmdline-0.4.tar.gz;
|
url = mirror://sourceforge/parchive/par2cmdline-0.4.tar.gz;
|
||||||
md5 = "1551b63e57e3c232254dc62073b723a9";
|
md5 = "1551b63e57e3c232254dc62073b723a9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch?rev=1.1.1.1";
|
||||||
|
sha256 = "1xrkr13qw5vqi2qbr2p43nqbq83nywk4bgvq7nfvrca4z60s787d";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://parchive.sourceforge.net/;
|
||||||
|
description = "A command-line tool for repairing downloaded files using PARs (parity archives)";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -895,8 +895,7 @@ let pkgs = rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
par2cmdline = import ../tools/networking/par2cmdline {
|
par2cmdline = import ../tools/networking/par2cmdline {
|
||||||
inherit fetchurl;
|
inherit fetchurl stdenv;
|
||||||
stdenv = overrideGCC stdenv gcc34;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
parted = import ../tools/misc/parted {
|
parted = import ../tools/misc/parted {
|
||||||
@ -6484,10 +6483,11 @@ let pkgs = rec {
|
|||||||
|
|
||||||
vlc = import ../applications/video/vlc {
|
vlc = import ../applications/video/vlc {
|
||||||
inherit fetchurl stdenv perl x11 wxGTK
|
inherit fetchurl stdenv perl x11 wxGTK
|
||||||
zlib mpeg2dec a52dec libmad ffmpeg
|
zlib mpeg2dec a52dec libmad
|
||||||
libdvdread libdvdnav libdvdcss;
|
libdvdread libdvdnav libdvdcss;
|
||||||
inherit (xlibs) libXv;
|
inherit (xlibs) libXv;
|
||||||
alsa = alsaLib;
|
alsa = alsaLib;
|
||||||
|
ffmpeg = ffmpeg_svn;
|
||||||
};
|
};
|
||||||
|
|
||||||
vorbisTools = import ../applications/audio/vorbis-tools {
|
vorbisTools = import ../applications/audio/vorbis-tools {
|
||||||
@ -6705,8 +6705,7 @@ let pkgs = rec {
|
|||||||
} null;
|
} null;
|
||||||
|
|
||||||
exult = import ../games/exult {
|
exult = import ../games/exult {
|
||||||
inherit fetchurl SDL SDL_mixer zlib libpng unzip;
|
inherit fetchurl stdenv SDL SDL_mixer zlib libpng unzip;
|
||||||
stdenv = overrideGCC stdenv gcc34;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fsg = import ../games/fsg {
|
fsg = import ../games/fsg {
|
||||||
|
@ -114,7 +114,6 @@ let
|
|||||||
pciutils
|
pciutils
|
||||||
perl
|
perl
|
||||||
php
|
php
|
||||||
pidgin
|
|
||||||
pkgconfig
|
pkgconfig
|
||||||
postgresql
|
postgresql
|
||||||
procps
|
procps
|
||||||
@ -154,7 +153,6 @@ let
|
|||||||
vlc
|
vlc
|
||||||
w3m
|
w3m
|
||||||
wget
|
wget
|
||||||
wine
|
|
||||||
wirelesstools
|
wirelesstools
|
||||||
wxHaskell
|
wxHaskell
|
||||||
x11_ssh_askpass
|
x11_ssh_askpass
|
||||||
@ -205,9 +203,9 @@ let
|
|||||||
|
|
||||||
i686LinuxPkgs = commonLinuxPkgs "i686-linux" // {
|
i686LinuxPkgs = commonLinuxPkgs "i686-linux" // {
|
||||||
inherit (allPackages {system = "i686-linux";})
|
inherit (allPackages {system = "i686-linux";})
|
||||||
aterm
|
|
||||||
apacheAnt
|
apacheAnt
|
||||||
aspectj
|
aspectj
|
||||||
|
aterm
|
||||||
batik
|
batik
|
||||||
ecj
|
ecj
|
||||||
eclipsesdk
|
eclipsesdk
|
||||||
@ -220,12 +218,14 @@ let
|
|||||||
jrePlugin
|
jrePlugin
|
||||||
keen4
|
keen4
|
||||||
mono
|
mono
|
||||||
|
pidgin
|
||||||
postgresql_jdbc
|
postgresql_jdbc
|
||||||
sdf
|
sdf
|
||||||
strategoxt
|
strategoxt
|
||||||
strategoxtUtils
|
strategoxtUtils
|
||||||
syslinux
|
syslinux
|
||||||
uml
|
uml
|
||||||
|
wine
|
||||||
xorg_sys_opengl
|
xorg_sys_opengl
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
@ -265,10 +265,10 @@ let
|
|||||||
#automake19x
|
#automake19x
|
||||||
curl
|
curl
|
||||||
docbook5
|
docbook5
|
||||||
|
docbook5_xsl
|
||||||
docbook_xml_dtd_42
|
docbook_xml_dtd_42
|
||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
docbook_xsl
|
docbook_xsl
|
||||||
docbook5_xsl
|
|
||||||
libtool
|
libtool
|
||||||
libxml2
|
libxml2
|
||||||
libxslt
|
libxslt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user