diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-11-20 19:17:21 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-11-20 19:17:21 +0000 |
commit | e3d8cd8b08f8c962e0388246d65ec615e34cba2a (patch) | |
tree | f7d20444f4db688e7bbc96169b3f4e6c8a6d964d /media-plugins/vdr-extrecmenu | |
parent | fixed build w/ automake-1.12 - bug #424717 (diff) | |
download | gentoo-2-e3d8cd8b08f8c962e0388246d65ec615e34cba2a.tar.gz gentoo-2-e3d8cd8b08f8c962e0388246d65ec615e34cba2a.tar.bz2 gentoo-2-e3d8cd8b08f8c962e0388246d65ec615e34cba2a.zip |
changes in cutter part for >=vdr-1.7.32
(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 34C2808A)
Diffstat (limited to 'media-plugins/vdr-extrecmenu')
-rw-r--r-- | media-plugins/vdr-extrecmenu/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r1.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/media-plugins/vdr-extrecmenu/ChangeLog b/media-plugins/vdr-extrecmenu/ChangeLog index 2f1dd4cecc9b..0a7f18632b3e 100644 --- a/media-plugins/vdr-extrecmenu/ChangeLog +++ b/media-plugins/vdr-extrecmenu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/vdr-extrecmenu # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.37 2012/06/05 19:25:56 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.38 2012/11/20 19:17:21 hd_brummy Exp $ + +*vdr-extrecmenu-1.2.2-r1 (20 Nov 2012) + + 20 Nov 2012; Joerg Bornkessel <hd_brummy@gentoo.org> + +vdr-extrecmenu-1.2.2-r1.ebuild: + changes in cutter part for >=vdr-1.7.32 05 Jun 2012; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-extrecmenu-1.2.1.ebuild, vdr-extrecmenu-1.2.2.ebuild: diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r1.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r1.ebuild new file mode 100644 index 000000000000..454a21e0dd2f --- /dev/null +++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.2-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 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.2-r1.ebuild,v 1.1 2012/11/20 19:17:21 hd_brummy Exp $ + +EAPI="4" + +inherit vdr-plugin-2 + +VERSION="936" #every bump, new version + +DVDARCHIVE="dvdarchive-2.3-beta.sh" + +DESCRIPTION="Video Disk Recorder - Extended recordings menu Plugin" +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-1.6.0" +RDEPEND="${DEPEND}" + +src_prepare() { + + cd "${WORKDIR}" + epatch "${FILESDIR}/${DVDARCHIVE%.sh}-configfile.patch" + + cd "${S}" + if grep -q fskProtection /usr/include/vdr/timers.h; then + einfo "Enabling parentalrating option" + sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile + fi + + vdr-plugin-2_src_prepare + + if has_version ">=media-video/vdr-1.7.28"; then + sed -i "s:SetRecording(recording->FileName(),recording->Title:SetRecording(recording->FileName:" mymenurecordings.c + fi + + if has_version ">=media-video/vdr-1.7.32"; then + export EXTRECMENU_USE_VDR_CUTTER=1 + einfo "disabled plugin cutter" + einfo "plugin use now the vdr included cutter" + fi +} + +src_install() { + vdr-plugin-2_src_install + + cd "${WORKDIR}" + newbin ${DVDARCHIVE} dvdarchive.sh + + insinto /etc/vdr + doins "${FILESDIR}"/dvdarchive.conf +} |