1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 VERSION="1379" # every bump, new version
10 DESCRIPTION="VDR plugin: enable/disable parentalrating in records"
11 HOMEPAGE="https://projects.vdr-developer.org/projects/plg-pin"
12 SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
13 KEYWORDS="~amd64 ~x86"
19 DEPEND=">=media-video/vdr-2.0.2-r1[pinplugin]"
23 vdr-plugin-2_src_prepare
25 sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile
29 vdr-plugin-2_src_install
33 insinto /usr/share/vdr/plugins/${VDRPLUGIN}
34 doins "${S}"/scripts/fskprotect.sh
36 insinto /usr/share/vdr/record
37 newins "${S}"/scripts/cut.sh 20-preserve-pin-after-cut.sh
39 insinto /etc/vdr/reccmds
40 doins "${FILESDIR}"/reccmds.pin.conf