2021-04-27 14:23:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
2022-02-09 22:39:49 +00:00
|
|
|
, autoreconfHook
|
2021-04-27 14:23:49 +00:00
|
|
|
, curl
|
2023-07-29 16:04:01 +00:00
|
|
|
, libXext
|
|
|
|
, libXft
|
|
|
|
, libXi
|
|
|
|
, libXinerama
|
|
|
|
, libXtst
|
|
|
|
, libXv
|
|
|
|
, libXxf86vm
|
2021-04-27 14:23:49 +00:00
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, lirc
|
|
|
|
, ncurses
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, shared-mime-info
|
|
|
|
, xine-lib
|
2023-07-29 16:04:01 +00:00
|
|
|
, xorgproto
|
2021-04-27 14:23:49 +00:00
|
|
|
}:
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2023-07-29 16:04:01 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-04-27 14:23:49 +00:00
|
|
|
pname = "xine-ui";
|
2023-07-29 16:04:01 +00:00
|
|
|
version = "0.99.14";
|
2018-09-08 13:28:10 +00:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2023-07-29 16:04:01 +00:00
|
|
|
url = "mirror://sourceforge/xine/xine-ui-${finalAttrs.version}.tar.xz";
|
|
|
|
hash = "sha256-1NSQ1c7OcOK7mEnJ5ILyz4evAwLUUbYUR2/cw2Qs2cM=";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2018-09-08 13:28:10 +00:00
|
|
|
|
2023-07-29 16:15:30 +00:00
|
|
|
outputs = [ "out" "dev" "lib" "man" ];
|
|
|
|
|
2021-04-27 14:23:49 +00:00
|
|
|
nativeBuildInputs = [
|
2022-02-09 22:39:49 +00:00
|
|
|
autoreconfHook
|
2021-04-27 14:23:49 +00:00
|
|
|
pkg-config
|
|
|
|
shared-mime-info
|
|
|
|
];
|
2023-07-29 16:04:01 +00:00
|
|
|
|
2021-04-27 14:23:49 +00:00
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
libXext
|
|
|
|
libXft
|
|
|
|
libXi
|
|
|
|
libXinerama
|
|
|
|
libXtst
|
|
|
|
libXv
|
|
|
|
libXxf86vm
|
2023-07-29 16:04:01 +00:00
|
|
|
libjpeg
|
|
|
|
libpng
|
|
|
|
lirc
|
|
|
|
ncurses
|
|
|
|
readline
|
|
|
|
xine-lib
|
2021-04-27 14:23:49 +00:00
|
|
|
xorgproto
|
2023-07-29 16:04:01 +00:00
|
|
|
];
|
2021-04-27 14:23:49 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--with-readline=${readline.dev}" ];
|
2018-09-08 13:28:10 +00:00
|
|
|
|
2023-07-29 16:04:01 +00:00
|
|
|
env = {
|
|
|
|
LIRC_CFLAGS="-I${lirc}/include";
|
|
|
|
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
|
|
|
};
|
2006-10-12 10:53:16 +00:00
|
|
|
|
2021-09-08 20:12:48 +00:00
|
|
|
postInstall = ''
|
|
|
|
substituteInPlace $out/share/applications/xine.desktop \
|
|
|
|
--replace "MimeType=;" "MimeType="
|
|
|
|
'';
|
|
|
|
|
2023-07-29 16:04:01 +00:00
|
|
|
meta = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://xine.sourceforge.net/";
|
2021-04-27 14:23:49 +00:00
|
|
|
description = "Xlib-based frontend for Xine video player";
|
2023-07-29 16:04:01 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.linux;
|
2006-10-12 10:53:16 +00:00
|
|
|
};
|
2023-07-29 16:04:01 +00:00
|
|
|
})
|