media-plugins/vdr-pin: add 0.1.18

Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/39896
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Martin Dummer
2025-08-01 05:18:33 +01:00
committed by Sam James
parent 242348bd2a
commit 391f7224bb
3 changed files with 46 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST vdr-pin-0.1.18.tar.gz 46915 BLAKE2B f14b2dd6e99780e68e2c5440d7924abf50fa56616d3ac18c80fa9bb7b9ac7dccceb523719f314787a34578cda9279584a2ca2effd068397b7216e63d8ef660fd SHA512 c975d7d23ebf13ebdf0d0de826a7c220196faba93c3f58309ba36ab99342822d11fe8df35ca171a4e9a0676d948d0cb921ab7facba91596f1b75a7fc3cc8a663
DIST vdr-plugin-pin-9f8fb2260b73971d69691962df472c992d94b123.tar.bz2 43563 BLAKE2B 5154d21cea08a1f6ac982bbcd95e3ac080a46eb8c60b271234c41bdcaa1a2f6560ebf4547829f3078aeb1411ce40fd671626cb8ee44acc2b27ca8783db77acb8 SHA512 57d997ac34447c4fb1091ed7fb01d613c545b98bac564c05005eedc85f74c068f3ddaa9a0eb7bde170c50b08248ceadadbadd3d271aa1ed23b17b16ed0bae997
+3
View File
@@ -13,4 +13,7 @@
<email>vdr@gentoo.org</email>
<name>Gentoo VDR Project</name>
</maintainer>
<upstream>
<remote-id type="github">vdr-projects/vdr-plugin-pin</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,42 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit vdr-plugin-2
DESCRIPTION="VDR plugin: enable/disable parentalrating in records"
HOMEPAGE="https://github.com/vdr-projects/vdr-plugin-pin/"
SRC_URI="https://github.com/vdr-projects/vdr-plugin-pin/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/vdr-plugin-pin-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="media-video/vdr[pinplugin]"
RDEPEND="${DEPEND}"
src_prepare() {
vdr-plugin-2_src_prepare
sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile || die "sed failed"
# respect LDFLAGS, bug 770172
sed -i "s:\$(CXXFLAGS) \$(CMDOBJS):\$(CXXFLAGS) \$(LDFLAGS) \$(CMDOBJS):" Makefile || die "sed failed"
}
src_install() {
vdr-plugin-2_src_install
dobin fskcheck
insinto /usr/share/vdr/plugins/${VDRPLUGIN}
doins "${S}"/scripts/fskprotect.sh
insinto /usr/share/vdr/record
newins "${S}"/scripts/cut.sh 20-preserve-pin-after-cut.sh
insinto /etc/vdr/reccmds
doins "${FILESDIR}"/reccmds.pin.conf
}