media-plugins/vdr-serial: fix EAPI 8

fix src_install
change maintainer
introduce subslot dependency on media-video/vdr

Closes: https://bugs.gentoo.org/925813
Closes: https://bugs.gentoo.org/925814
Closes: https://bugs.gentoo.org/925815
Closes: https://bugs.gentoo.org/925816
Closes: https://bugs.gentoo.org/945699
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/44238
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Martin Dummer 2025-10-18 20:14:22 +02:00 committed by Sam James
parent bfd5fd4c12
commit c1ccc2f5dc
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 22 additions and 14 deletions

View File

@ -1,8 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="project"> <maintainer type="person" proxied="yes">
<email>vdr@gentoo.org</email> <email>martin.dummer@gmx.net</email>
<name>Gentoo VDR Project</name> <name>Martin Dummer</name>
</maintainer> </maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="project">
<email>vdr@gentoo.org</email>
<name>Gentoo VDR Project</name>
</maintainer>
</pkgmetadata> </pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -13,20 +13,20 @@ LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
DEPEND=" DEPEND="media-video/vdr:="
media-video/vdr RDEPEND="${DEPEND}
" acct-user/vdr[serial]"
RDEPEND="
${DEPEND}
acct-user/vdr[serial]
"
src_prepare() { src_prepare() {
vdr-plugin-2_src_prepare vdr-plugin-2_src_prepare
sed -i serial.c -e "s:RegisterI18n://RegisterI18n:" sed -i serial.c -e "s:RegisterI18n://RegisterI18n:" || die
cd "${S}"/tools cd "${S}"/tools
emake clean emake clean
} }
src_install() {
local DOCS=( README circuit.jpg tools/Connector.txt )
vdr-plugin-2_src_install
}