nixpkgs/pkgs/applications/video/xine/lib.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

93 lines
1.4 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, aalib
, alsa-lib
2023-07-29 16:03:20 +00:00
, autoreconfHook
, ffmpeg
, flac
, libGL
, libGLU
2023-07-29 16:03:20 +00:00
, libX11
, libXext
, libXinerama
, libXv
, libcaca
, libcdio
, libmng
, libmpcdec
, libpulseaudio
, libtheora
, libv4l
, libvorbis
2023-07-29 16:03:20 +00:00
, libxcb
2021-05-08 02:57:45 +00:00
, ncurses
, perl
, pkg-config
, speex
, vcdimager
, zlib
}:
2023-07-29 16:03:20 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-04-25 20:46:45 +00:00
pname = "xine-lib";
2023-07-29 16:03:20 +00:00
version = "1.2.13";
2016-05-26 13:30:55 +00:00
src = fetchurl {
2023-07-29 16:03:20 +00:00
url = "mirror://sourceforge/xine/xine-lib-${finalAttrs.version}.tar.xz";
hash = "sha256-XxDW1xikpRwX7RsysDHU+bgLBh6CdlNbK+MeWsS3Xm8=";
};
2023-07-29 16:12:33 +00:00
outputs = [ "out" "dev" "man" ];
nativeBuildInputs = [
2023-07-29 16:03:20 +00:00
autoreconfHook
perl
2023-07-29 16:03:20 +00:00
pkg-config
];
2023-07-29 16:03:20 +00:00
buildInputs = [
aalib
alsa-lib
2023-07-29 16:03:20 +00:00
ffmpeg
flac
libGL
libGLU
2023-07-29 16:03:20 +00:00
libX11
libXext
libXinerama
libXv
libcaca
libcdio
libmng
libmpcdec
libpulseaudio
libtheora
libv4l
libvorbis
2023-07-29 16:03:20 +00:00
libxcb
2021-05-08 02:57:45 +00:00
ncurses
perl
speex
vcdimager
zlib
libX11
libXext
libXinerama
libXv
libxcb
2023-07-29 16:03:20 +00:00
];
2021-05-08 02:57:45 +00:00
enableParallelBuilding = true;
2023-07-29 16:03:20 +00:00
env.NIX_LDFLAGS = "-lxcb-shm";
2023-07-29 16:03:20 +00:00
meta = {
homepage = "https://xine.sourceforge.net/";
description = "A high-performance, portable and reusable multimedia playback engine";
2023-07-29 16:03:20 +00:00
license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
2023-07-29 16:03:20 +00:00
})