summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-pin')
-rw-r--r--media-plugins/vdr-pin/Manifest1
-rw-r--r--media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/media-plugins/vdr-pin/Manifest b/media-plugins/vdr-pin/Manifest
index ffa289ec45fd..ddc06bb2bdfc 100644
--- a/media-plugins/vdr-pin/Manifest
+++ b/media-plugins/vdr-pin/Manifest
@@ -1 +1,2 @@
DIST vdr-pin-0.1.14.tgz 48771 BLAKE2B 70458adbb55aa7ed989fed9592b68da94033edb09f8cd28c106964151c8bb8999936d6a7a83c6d29ba9e2723b35f0a24f98c166e956f79eaa6643545a84867ac SHA512 0eb2f6f7587ec6e3d5731e48b5b37687900d8698f698c745ccacf2e41fc59c71277e020c195db77342ca997331fbf0c629bd178db734e45098844529b9e5430a
+DIST vdr-plugin-pin-9f8fb2260b73971d69691962df472c992d94b123.tar.bz2 43563 BLAKE2B 5154d21cea08a1f6ac982bbcd95e3ac080a46eb8c60b271234c41bdcaa1a2f6560ebf4547829f3078aeb1411ce40fd671626cb8ee44acc2b27ca8783db77acb8 SHA512 57d997ac34447c4fb1091ed7fb01d613c545b98bac564c05005eedc85f74c068f3ddaa9a0eb7bde170c50b08248ceadadbadd3d271aa1ed23b17b16ed0bae997
diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild
new file mode 100644
index 000000000000..4f7da428172e
--- /dev/null
+++ b/media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vdr-plugin-2
+
+VERSION_GIT="9f8fb2260b73971d69691962df472c992d94b123"
+
+DESCRIPTION="VDR plugin: enable/disable parentalrating in records"
+HOMEPAGE="https://projects.vdr-developer.org/projects/plg-pin"
+SRC_URI="https://projects.vdr-developer.org/git/vdr-plugin-pin.git/snapshot/vdr-plugin-pin-${VERSION_GIT}.tar.bz2"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="media-video/vdr[pinplugin]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/vdr-plugin-pin-${VERSION_GIT}"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile
+}
+
+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
+}