From e0ca39e39aba6ea303e967ec1730b8178f66ff2d Mon Sep 17 00:00:00 2001 From: Martin Dummer Date: Sat, 27 Sep 2025 11:42:48 +0200 Subject: [PATCH] media-plugins/vdr-markad: new package, add 4.2.15 vdr plugin for advertisement detection in video recordings markad is a replacement for media-video/noad Signed-off-by: Martin Dummer Part-of: https://github.com/gentoo/gentoo/pull/43957 Closes: https://github.com/gentoo/gentoo/pull/43957 Signed-off-by: Sam James --- media-plugins/vdr-markad/Manifest | 1 + media-plugins/vdr-markad/files/confd | 35 +++++++++++++++ .../files/vdr-markad-Makefile.patch | 13 ++++++ media-plugins/vdr-markad/metadata.xml | 19 ++++++++ .../vdr-markad/vdr-markad-4.2.15.ebuild | 44 +++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 media-plugins/vdr-markad/Manifest create mode 100644 media-plugins/vdr-markad/files/confd create mode 100644 media-plugins/vdr-markad/files/vdr-markad-Makefile.patch create mode 100644 media-plugins/vdr-markad/metadata.xml create mode 100644 media-plugins/vdr-markad/vdr-markad-4.2.15.ebuild diff --git a/media-plugins/vdr-markad/Manifest b/media-plugins/vdr-markad/Manifest new file mode 100644 index 0000000000000..d8e7ef43be3b0 --- /dev/null +++ b/media-plugins/vdr-markad/Manifest @@ -0,0 +1 @@ +DIST vdr-markad-4.2.15.tar.gz 331865 BLAKE2B d5dd6dbdf9ca79e21e50e157cbbb5e587c3c6602b2f69752e291b9fea5773a5343bca6bc88164e1f0fc13a5af7689715b2ce7625757535a1c239c2885844cf8c SHA512 48c73c6d3cdf0dd9e12040e7b880035e9b64b698b923e6ed226c5b65add08c1cce561535e81769647b3b8b8f0124197feb28f8bd1ad7fec531ec02353c5bca2c diff --git a/media-plugins/vdr-markad/files/confd b/media-plugins/vdr-markad/files/confd new file mode 100644 index 0000000000000..8144580c63405 --- /dev/null +++ b/media-plugins/vdr-markad/files/confd @@ -0,0 +1,35 @@ +# /etc/conf.d/vdr.markad + +# Configuration: + +# A few settings are given on the command line rather than in the setup menu. +# Available options: +# +# -b DIR, --bindir=DIR use DIR as location for markad executable +# (default: /usr/bin) +# -l DIR --logocachedir=DIR use DIR as location for markad logos +# (default: /var/lib/markad) +# +# --loglevel= sets log level of started markad process (standalone, not the plugin) to the specified value +# : 1=error 2=info 3=debug 4=trace +# +# --astopoffs=SECONDS assume stop of the recording SECONDS after the end of the EPG time. +# default is 0 s +# If end marks are to early, try to add some seconds +# +# --cut cut video based on marks and write it in the recording directory +# there are no splits of the target file, make sure your filesystem can handle big files +# +# --ac3reencode re-encode AC3 stream to fix low audio level of cutted video on same devices +# requires --cut +# +# --autologo=