vdrPlugins.softhddevice: init ad 1.9.0
This commit is contained in:
parent
798cc46a6c
commit
45c07350c7
2 changed files with 52 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
|||
};
|
||||
in {
|
||||
|
||||
softhddevice = callPackage ./softhddevice {};
|
||||
|
||||
xineliboutput = callPackage ./xineliboutput {};
|
||||
|
||||
skincurses = (mkPlugin "skincurses").overrideAttrs(oldAttr: {
|
||||
|
|
50
pkgs/applications/video/vdr/softhddevice/default.nix
Normal file
50
pkgs/applications/video/vdr/softhddevice/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, vdr
|
||||
, alsa-lib
|
||||
, fetchFromGitHub
|
||||
, xcbutilwm
|
||||
, xorgserver
|
||||
, ffmpeg
|
||||
, libva
|
||||
, libvdpau
|
||||
, xorg
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vdr-softhddevice";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ua0lnj";
|
||||
repo = "vdr-plugin-softhddevice";
|
||||
sha256 = "sha256-IqG1Jr+fV4MMyTTOUGY34HNqS8qvAH+CSi2IEyVGVFo=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
vdr
|
||||
xcbutilwm
|
||||
ffmpeg
|
||||
alsa-lib
|
||||
libva
|
||||
libvdpau
|
||||
xorg.libxcb
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace softhddev.c \
|
||||
--replace "LOCALBASE \"/bin/X\"" "\"${xorgserver}/bin/X\""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ua0lnj/vdr-plugin-softhddevice";
|
||||
description = "VDR SoftHDDevice Plug-in";
|
||||
maintainers = [ maintainers.ck3d ];
|
||||
license = licenses.gpl2;
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue