You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
971 B
45 lines
971 B
# Copyright 1999-2018 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="https://projects.vdr-developer.org/projects/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
|
|
}
|