1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit vdr-plugin-2
VERSION="1783" #every bump, new version
DVDARCHIVE="dvdarchive-2.3-beta.sh"
DESCRIPTION="VDR Plugin: Extended recordings menu"
HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-extrecmenu"
SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz
mirror://gentoo/${DVDARCHIVE}.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
DEPEND=">=media-video/vdr-2"
RDEPEND="${DEPEND}"
src_prepare() {
rm "${S}"/po/{ca_ES,da_DK,el_GR,et_EE,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po
cp "${FILESDIR}"/extrecmenu.mk "${S}"/Makefile
cd "${WORKDIR}"
epatch "${FILESDIR}/${DVDARCHIVE%.sh}-configfile.patch"
vdr-plugin-2_src_prepare
}
src_install() {
vdr-plugin-2_src_install
cd "${WORKDIR}"
newbin ${DVDARCHIVE} dvdarchive.sh
insinto /etc/vdr
doins "${FILESDIR}"/dvdarchive.conf
}
|