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.
gentoo-overlay/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.4.ebuild

46 lines
1.1 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.4.ebuild,v 1.3 2015/02/20 13:28:45 hd_brummy Exp $
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 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
}