commit:     37a70360175b397ba7e57b8e2b0f602e35c071b8
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sun Oct 12 19:24:54 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 15:08:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37a70360

media-plugins/vdr-wirbelscan: add 2024.09.15

introduce subslot dependency on media-video/vdr

Closes: https://bugs.gentoo.org/963471
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/44151
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-plugins/vdr-wirbelscan/Manifest              |  1 +
 .../files/vdr-wirbelscan_Makefile.patch            | 18 ++++++++++++
 .../vdr-wirbelscan-2024.09.15.ebuild               | 32 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/media-plugins/vdr-wirbelscan/Manifest 
b/media-plugins/vdr-wirbelscan/Manifest
index 67f102301161..15123c4c3514 100644
--- a/media-plugins/vdr-wirbelscan/Manifest
+++ b/media-plugins/vdr-wirbelscan/Manifest
@@ -1,2 +1,3 @@
 DIST vdr-wirbelscan-0.0.7.tgz 149949 BLAKE2B 
b0b258b91bef493c352b8a2e7edec821b4046a7a6c2751ffe0e1deacd1ddcf3a563cc4051eee6424526903444952a0d489b8bca00533ba89a8214943948c76d9
 SHA512 
754b3089b1a8536b501fd8b62ddafedaf8304518856152a49b97149113929b47d6c6299b8eb4b78b2d3dc5aba147a3e21c00554ad02d2dc5018c296f6c55d6a5
 DIST vdr-wirbelscan-2018.11.04.tar.gz 146140 BLAKE2B 
067046dcd11837f2de5a44acce35cc1c58778b7cc110a69eb1f35e2c2e792a1dfac0f04dc50c230b0ee4940a3ed8bf8fe34484ba6cc988b7f7da59c361e2d1d8
 SHA512 
61d7109f47c3a1d87d520d3228b0737073762e877b9b08d2716337de071bdf7f8419ae5285a72c5e29e4c5081403edb2cb729adf6755a9e898a662af30a7b92c
+DIST vdr-wirbelscan-2024.09.15.tgz 201823 BLAKE2B 
27ba0954ec789a6327bbeeb8558e96f591353c5749d94fd12bf95a5dd25910b380ef066302cad2fc8cf9b0e8d43711d461748ea31f6acefe0ddd6f7e252c6dc2
 SHA512 
4bcb5d3942aab383e9b15d26bd954af67f7df6542c970adafa9e3dfe80ba269d79872b7de2a5a04abb2d23d7464aa774117369c52bf3564ed14b957e8c0728c0

diff --git a/media-plugins/vdr-wirbelscan/files/vdr-wirbelscan_Makefile.patch 
b/media-plugins/vdr-wirbelscan/files/vdr-wirbelscan_Makefile.patch
new file mode 100644
index 000000000000..505f457f2578
--- /dev/null
+++ b/media-plugins/vdr-wirbelscan/files/vdr-wirbelscan_Makefile.patch
@@ -0,0 +1,18 @@
+--- a/Makefile
++++ b/Makefile
+@@ -8,12 +8,12 @@
+ 
#/******************************************************************************
+ # * if you prefer verbose non-coloured build messages, remove the '@' here:
+ # 
*****************************************************************************/
+-CC  = @gcc
+-CXX = @g++
++CC  ?= @gcc
++CXX ?= @g++
+ 
+           
+ PWD = $(shell pwd)
+-PLUGIN = $(shell basename $(PWD) | cut -d- -f1)
++PLUGIN = wirbelscan
+ CPPSRC = $(wildcard *.cpp)
+ OBJS   = $(CPPSRC:%.cpp=%.o)
+ LDFLAGS?=

diff --git a/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2024.09.15.ebuild 
b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2024.09.15.ebuild
new file mode 100644
index 000000000000..90b997975e19
--- /dev/null
+++ b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2024.09.15.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: Scan for channels on DVB-? and on PVR*-Cards"
+HOMEPAGE="https://www.gen2vdr.de/wirbel/wirbelscan/index2.html";
+SRC_URI="https://www.gen2vdr.de/wirbel/wirbelscan/vdr-wirbelscan-${PV}.tgz";
+S="${WORKDIR}/wirbelscan-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       dev-libs/librepfunc
+       >=media-video/vdr-2.4:="
+
+PATCHES=( "${FILESDIR}/vdr-wirbelscan_Makefile.patch" )
+
+src_prepare() {
+       # remove untranslated po files
+       rm 
"${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po
 || die
+
+       vdr-plugin-2_src_prepare
+
+       fix_vdr_libsi_include scanfilter.h
+       fix_vdr_libsi_include scanfilter.cpp
+       fix_vdr_libsi_include si_ext.h
+}

Reply via email to