nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.11 80 lines 1.2 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, aalib 5, alsa-lib 6, ffmpeg 7, flac 8, libGL 9, libGLU 10, libcaca 11, libcdio 12, libmng 13, libmpcdec 14, libpulseaudio 15, libtheora 16, libv4l 17, libvorbis 18, ncurses 19, perl 20, pkg-config 21, speex 22, vcdimager 23, xorg 24, zlib 25}: 26 27stdenv.mkDerivation rec { 28 pname = "xine-lib"; 29 version = "1.2.11"; 30 31 src = fetchurl { 32 url = "mirror://sourceforge/xine/xine-lib-${version}.tar.xz"; 33 sha256 = "sha256-71GyHRDdoQRfp9cRvZFxz9rwpaKHQjO88W/98o7AcAU="; 34 }; 35 36 nativeBuildInputs = [ 37 pkg-config 38 perl 39 ]; 40 buildInputs = [ 41 aalib 42 alsa-lib 43 ffmpeg 44 flac 45 libGL 46 libGLU 47 libcaca 48 libcdio 49 libmng 50 libmpcdec 51 libpulseaudio 52 libtheora 53 libv4l 54 libvorbis 55 ncurses 56 perl 57 speex 58 vcdimager 59 zlib 60 ] ++ (with xorg; [ 61 libX11 62 libXext 63 libXinerama 64 libXv 65 libxcb 66 ]); 67 68 enableParallelBuilding = true; 69 70 NIX_LDFLAGS = "-lxcb-shm"; 71 72 73 meta = with lib; { 74 homepage = "http://www.xinehq.de/"; 75 description = "A high-performance, portable and reusable multimedia playback engine"; 76 license = with licenses; [ gpl2Plus lgpl2Plus ]; 77 maintainers = with maintainers; [ AndersonTorres ]; 78 platforms = platforms.linux; 79 }; 80}