summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-pin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /media-plugins/vdr-pin
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'media-plugins/vdr-pin')
-rw-r--r--media-plugins/vdr-pin/Manifest2
-rw-r--r--media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/media-plugins/vdr-pin/Manifest b/media-plugins/vdr-pin/Manifest
index c82e2454847b..f6657b941fa1 100644
--- a/media-plugins/vdr-pin/Manifest
+++ b/media-plugins/vdr-pin/Manifest
@@ -1,4 +1,6 @@
AUX reccmds.pin.conf 192 BLAKE2B fe3527abde1c2a06c330899c15f201559adef5d5824b12884d310f660f78d7ecd7cc8989a7818c411e6938113c4f63e409fff9b791a624036ee86966157925cc SHA512 86f30889fc1574a2de58c152b988640bedfc7337a3e702b86669ae3d4871fe4666b8f237ee3ca3ea86a26f4dcb27bc4633348bd3b4005dc04ec6014a285d7381
DIST vdr-pin-0.1.14.tgz 48771 BLAKE2B 70458adbb55aa7ed989fed9592b68da94033edb09f8cd28c106964151c8bb8999936d6a7a83c6d29ba9e2723b35f0a24f98c166e956f79eaa6643545a84867ac SHA512 0eb2f6f7587ec6e3d5731e48b5b37687900d8698f698c745ccacf2e41fc59c71277e020c195db77342ca997331fbf0c629bd178db734e45098844529b9e5430a
+DIST vdr-plugin-pin-9f8fb2260b73971d69691962df472c992d94b123.tar.bz2 43563 BLAKE2B 5154d21cea08a1f6ac982bbcd95e3ac080a46eb8c60b271234c41bdcaa1a2f6560ebf4547829f3078aeb1411ce40fd671626cb8ee44acc2b27ca8783db77acb8 SHA512 57d997ac34447c4fb1091ed7fb01d613c545b98bac564c05005eedc85f74c068f3ddaa9a0eb7bde170c50b08248ceadadbadd3d271aa1ed23b17b16ed0bae997
EBUILD vdr-pin-0.1.14.ebuild 1042 BLAKE2B ea3b0f707a55d1d6840e9aa46e44c1e26651952ae85a7073ad5ad2c7b8a52fc2d7a82266054b25a175f2db2d4281074f3caac8fec615dda615a9ce168af0abb5 SHA512 0bc20a5fc1bb0eed068579e148af705e58887829fc265da729f75c4c3757b36bece6616a6bfece4e9ca966428808d7d4c11fea6d7f0cde18bc4efa4e42b5bf5a
+EBUILD vdr-pin-0.1.17-r1.ebuild 1176 BLAKE2B b41a75c4dc784ab93793ba17d517744ddd51067f3961594c9c8844551c80e84cd49f911423f1b747d1deaced9f246c6631e063b682b9ecd92e2b0a30d90d3616 SHA512 42f6c7a21a3fbb2e37199dde8125dacbfc9174c9ae1164307d318151fd407210808b7baf71901823d8e5db4c6eac0a7039fda3745894763469b30e41d0f05abd
MISC metadata.xml 249 BLAKE2B d4dad5b7d4d1bbb3887888fd8519955b5e1262b2f3af04802d69aef6d836bf8d87d0316d9d3527d3a98c8c8ff98cf61d474bdc4ddbb3873592bae7fbfd9f4551 SHA512 b6440069f895b4d5360dec283faef3b6d3b3d65e7b895d8f8bcc2c7106d19db75ebede53ca8e0e67adf63af73ed54ca4efbc1c58b317dbfa27ed2050e175bde3
diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild
new file mode 100644
index 000000000000..ac2a86c16029
--- /dev/null
+++ b/media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild
@@ -0,0 +1,46 @@
+# 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 || 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
+}