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 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vdr-plugin-2
GIT_VERSION="77d10faec3c7b0abe25ba3b161dc3b4e2cad042b"
DVDARCHIVE="dvdarchive-2.3-beta.sh"
DESCRIPTION="VDR Plugin: Extended recordings menu"
HOMEPAGE="https://projects.vdr-developer.org/projects/plg-extrecmenu"
SRC_URI="https://projects.vdr-developer.org/git/vdr-plugin-extrecmenu.git/snapshot/vdr-plugin-extrecmenu-${GIT_VERSION}.tar.gz -> ${PF}.tar.gz
mirror://gentoo/${DVDARCHIVE}.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
DEPEND="media-video/vdr"
S="${WORKDIR}/vdr-plugin-extrecmenu-${GIT_VERSION}"
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 || die
eapply "${FILESDIR}/${P}_c++11.patch"
cd "${WORKDIR}" || die
eapply -p0 "${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
}
|