public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-pin/
Date: Fri, 01 Aug 2025 04:19:29 +0000 (UTC)	[thread overview]
Message-ID: <1754021913.391f7224bb4ba09085eef0d503e75889f5a23d5f.sam@gentoo> (raw)

commit:     391f7224bb4ba09085eef0d503e75889f5a23d5f
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sun Dec 29 13:45:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  1 04:18:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391f7224

media-plugins/vdr-pin: add 0.1.18

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

 media-plugins/vdr-pin/Manifest              |  1 +
 media-plugins/vdr-pin/metadata.xml          |  3 +++
 media-plugins/vdr-pin/vdr-pin-0.1.18.ebuild | 42 +++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/media-plugins/vdr-pin/Manifest b/media-plugins/vdr-pin/Manifest
index f3eea92f8512..78c2f7c69a87 100644
--- a/media-plugins/vdr-pin/Manifest
+++ b/media-plugins/vdr-pin/Manifest
@@ -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

diff --git a/media-plugins/vdr-pin/metadata.xml b/media-plugins/vdr-pin/metadata.xml
index c08751971fb3..927f08e9f88f 100644
--- a/media-plugins/vdr-pin/metadata.xml
+++ b/media-plugins/vdr-pin/metadata.xml
@@ -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>

diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.18.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.18.ebuild
new file mode 100644
index 000000000000..cc85d164ee86
--- /dev/null
+++ b/media-plugins/vdr-pin/vdr-pin-0.1.18.ebuild
@@ -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
+}


             reply	other threads:[~2025-08-01  4:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01  4:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-20 19:40 [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-pin/ Andreas K. Hüttel
2021-02-12 12:46 Jörg Bornkessel
2021-02-12 11:56 Jörg Bornkessel
2021-02-11 21:43 Jörg Bornkessel
2020-02-14 21:51 Jörg Bornkessel
2018-03-26 19:18 Aaron Bauman
2017-11-26 23:06 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1754021913.391f7224bb4ba09085eef0d503e75889f5a23d5f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox