depot/third_party/nixpkgs/pkgs/applications/video/xine-ui/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

61 lines
1 KiB
Nix

{ lib
, stdenv
, fetchurl
, curl
, libjpeg
, libpng
, lirc
, ncurses
, pkg-config
, readline
, shared-mime-info
, xine-lib
, xorg
}:
stdenv.mkDerivation rec {
pname = "xine-ui";
version = "0.99.12";
src = fetchurl {
url = "mirror://sourceforge/xine/${pname}-${version}.tar.xz";
sha256 = "10zmmss3hm8gjjyra20qhdc0lb1m6sym2nb2w62bmfk8isfw9gsl";
};
nativeBuildInputs = [
pkg-config
shared-mime-info
];
buildInputs = [
curl
libjpeg
libpng
lirc
ncurses
readline
xine-lib
] ++ (with xorg; [
libXext
libXft
libXi
libXinerama
libXtst
libXv
libXxf86vm
xlibsWrapper
xorgproto
]);
configureFlags = [ "--with-readline=${readline.dev}" ];
LIRC_CFLAGS="-I${lirc}/include";
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
meta = with lib; {
homepage = "http://xinehq.de/";
description = "Xlib-based frontend for Xine video player";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}