mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #246036 from ck3d/vdr-updates-2023-07
vdrPlugins: update 2023-07
This commit is contained in:
commit
35184dd3a5
59
pkgs/applications/video/vdr/markad/default.nix
Normal file
59
pkgs/applications/video/vdr/markad/default.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, vdr
|
||||
, fetchFromGitHub
|
||||
, graphicsmagick
|
||||
, pcre
|
||||
, xorgserver
|
||||
, ffmpeg
|
||||
, libiconv
|
||||
, boost
|
||||
, libgcrypt
|
||||
, perl
|
||||
, util-linux
|
||||
, groff
|
||||
, libva
|
||||
, xorg
|
||||
, ncurses
|
||||
, callPackage
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vdr-markad";
|
||||
version = "3.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "vdr-plugin-markad";
|
||||
owner = "kfb77";
|
||||
sha256 = "sha256-wU8hfNss0Lxvf9CqFhDAPOxIVaG/9vNR620xpEJkxWI=";
|
||||
rev = "V${version}";
|
||||
};
|
||||
|
||||
buildInputs = [ vdr ffmpeg ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace command/Makefile --replace '/usr' ""
|
||||
|
||||
substituteInPlace plugin/markad.cpp \
|
||||
--replace "/usr/bin" "$out/bin" \
|
||||
--replace "/var/lib/markad" "$out/var/lib/markad"
|
||||
|
||||
substituteInPlace command/markad-standalone.cpp \
|
||||
--replace "/var/lib/markad" "$out/var/lib/markad"
|
||||
'';
|
||||
|
||||
buildFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
"VDRDIR=${vdr.dev}/lib/pkgconfig"
|
||||
];
|
||||
|
||||
installFlags = buildFlags;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Plugin for VDR that marks advertisements";
|
||||
maintainers = [ maintainers.ck3d ];
|
||||
license = licenses.gpl2;
|
||||
inherit (vdr.meta) platforms;
|
||||
};
|
||||
|
||||
}
|
24
pkgs/applications/video/vdr/nopacity/default.nix
Normal file
24
pkgs/applications/video/vdr/nopacity/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, lib, fetchFromGitLab, vdr, graphicsmagick }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vdr-skin-nopacity";
|
||||
version = "1.1.14";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
repo = "SkinNopacity";
|
||||
owner = "kamel5";
|
||||
sha256 = "sha256-zSAnjBkFR8m+LXeoYO163VkNtVpfQZR5fI5CEzUABdQ=";
|
||||
rev = version;
|
||||
};
|
||||
|
||||
buildInputs = [ vdr graphicsmagick ];
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Highly customizable native true color skin for the Video Disc Recorder";
|
||||
maintainers = [ maintainers.ck3d ];
|
||||
license = licenses.gpl2;
|
||||
inherit (vdr.meta) platforms;
|
||||
};
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, vdr, fetchFromGitHub
|
||||
, graphicsmagick, pcre, xorgserver, ffmpeg
|
||||
, libiconv, boost, libgcrypt, perl, util-linux, groff, libva, xorg, ncurses
|
||||
, graphicsmagick, pcre
|
||||
, boost, libgcrypt, perl, util-linux, groff, ncurses
|
||||
, callPackage
|
||||
}: let
|
||||
mkPlugin = name: stdenv.mkDerivation {
|
||||
@ -12,6 +12,10 @@
|
||||
};
|
||||
in {
|
||||
|
||||
markad = callPackage ./markad {};
|
||||
|
||||
nopacity = callPackage ./nopacity {};
|
||||
|
||||
softhddevice = callPackage ./softhddevice {};
|
||||
|
||||
streamdev = callPackage ./streamdev {};
|
||||
@ -53,52 +57,6 @@ in {
|
||||
|
||||
};
|
||||
|
||||
markad = stdenv.mkDerivation rec {
|
||||
pname = "vdr-markad";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "vdr-plugin-markad";
|
||||
owner = "kfb77";
|
||||
sha256 = "sha256-h2a400T6mHzZRWAVFXF5Wzhu4Zp1D3btEKlxnCtB13M=";
|
||||
rev = "V${version}";
|
||||
};
|
||||
|
||||
buildInputs = [ vdr ffmpeg ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace command/Makefile --replace '/usr' ""
|
||||
|
||||
substituteInPlace plugin/markad.cpp \
|
||||
--replace "/usr/bin" "$out/bin" \
|
||||
--replace "/var/lib/markad" "$out/var/lib/markad"
|
||||
|
||||
substituteInPlace command/markad-standalone.cpp \
|
||||
--replace "/var/lib/markad" "$out/var/lib/markad"
|
||||
'';
|
||||
|
||||
buildFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
"LIBDIR=/lib/vdr"
|
||||
"BINDIR=/bin"
|
||||
"MANDIR=/share/man"
|
||||
"APIVERSION=${vdr.version}"
|
||||
"VDRDIR=${vdr.dev}/include/vdr"
|
||||
"LOCDIR=/share/locale"
|
||||
];
|
||||
|
||||
installFlags = buildFlags;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "MarkAd marks advertisements in VDR recordings.";
|
||||
maintainers = [ maintainers.ck3d ];
|
||||
license = licenses.gpl2;
|
||||
inherit (vdr.meta) platforms;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
epgsearch = stdenv.mkDerivation rec {
|
||||
pname = "vdr-epgsearch";
|
||||
version = "2.4.2";
|
||||
|
@ -12,12 +12,12 @@
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vdr-softhddevice";
|
||||
version = "1.10.3";
|
||||
version = "1.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ua0lnj";
|
||||
repo = "vdr-plugin-softhddevice";
|
||||
sha256 = "sha256-iuQ6ZHPrtIQzEqHYrLibZ8uOOwNqMbWYCD5plDQcBZg=";
|
||||
sha256 = "sha256-+itSxkyst/KJzyT8ALJkCKumrHHKiWfnvikonwexgnc=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user