mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
vdrPlugins.markad: unstable -> 2.0.4
This commit is contained in:
parent
e99522ee4c
commit
798cc46a6c
@ -49,18 +49,19 @@ in {
|
|||||||
|
|
||||||
markad = stdenv.mkDerivation rec {
|
markad = stdenv.mkDerivation rec {
|
||||||
pname = "vdr-markad";
|
pname = "vdr-markad";
|
||||||
version = "unstable-2017-03-13";
|
version = "2.0.4";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "git://projects.vdr-developer.org/vdr-plugin-markad.git";
|
repo = "vdr-plugin-markad";
|
||||||
sha256 = "0jvy70r8bcmbs7zdqilfz019z5xkz5c6rs57h1dsgv8v6x86c2i4";
|
owner = "jbrundiers";
|
||||||
rev = "ea2e182ec798375f3830f8b794e7408576f139ad";
|
sha256 = "sha256-Y4KsEtUq+KoUooXiw9O9RokBxNwWBkiGB31GncmHkYM=";
|
||||||
|
rev = "288e3dae93421b0176f4f62b68ea4b39d98e8793";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ vdr libav ];
|
buildInputs = [ vdr libav ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace command/Makefile --replace '$(DESTDIR)/usr' '$(DESTDIR)'
|
substituteInPlace command/Makefile --replace '/usr' ""
|
||||||
|
|
||||||
substituteInPlace plugin/markad.cpp \
|
substituteInPlace plugin/markad.cpp \
|
||||||
--replace "/usr/bin" "$out/bin" \
|
--replace "/usr/bin" "$out/bin" \
|
||||||
@ -70,22 +71,19 @@ in {
|
|||||||
--replace "/var/lib/markad" "$out/var/lib/markad"
|
--replace "/var/lib/markad" "$out/var/lib/markad"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
mkdir -p $out/lib/vdr
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
"DESTDIR=$(out)"
|
"DESTDIR=$(out)"
|
||||||
"LIBDIR=$(out)/lib/vdr"
|
"LIBDIR=/lib/vdr"
|
||||||
|
"APIVERSION=${vdr.version}"
|
||||||
"VDRDIR=${vdr.dev}/include/vdr"
|
"VDRDIR=${vdr.dev}/include/vdr"
|
||||||
"LOCALEDIR=$(DESTDIR)/share/locale"
|
"LOCDIR=/share/locale"
|
||||||
];
|
];
|
||||||
|
|
||||||
installFlags = buildFlags;
|
installFlags = buildFlags;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://projects.vdr-developer.org/projects/plg-markad";
|
homepage = "https://github.com/jbrundiers/vdr-plugin-markad";
|
||||||
description = "Ein Programm zum automatischen Setzen von Schnittmarken bei Werbeeinblendungen während einer Sendung.";
|
description = "MarkAd marks advertisements in VDR recordings.";
|
||||||
maintainers = [ maintainers.ck3d ];
|
maintainers = [ maintainers.ck3d ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user