summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-10-06 17:12:08 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-10-06 17:12:08 +0000
commit61ba86f3394a7e5297bd8f7e5cce136bd0359734 (patch)
tree67610c6a72d415b59316aa69999323bf04cac853 /media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild
parentRemoved alternative dependency on Qt metapackage (diff)
downloadgentoo-2-61ba86f3394a7e5297bd8f7e5cce136bd0359734.tar.gz
gentoo-2-61ba86f3394a7e5297bd8f7e5cce136bd0359734.tar.bz2
gentoo-2-61ba86f3394a7e5297bd8f7e5cce136bd0359734.zip
Install latest dvdarchive script with an added config file, suggested by Rudi Lippert <Rudi@lyrikpage.de>.
(Portage version: 2.2_rc43/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild')
-rw-r--r--media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild
new file mode 100644
index 000000000000..b9d43160a404
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 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_pre1-r1.ebuild,v 1.1 2009/10/06 17:12:08 zzam Exp $
+
+EAPI="2"
+
+inherit vdr-plugin eutils
+
+MY_P="${PN}-${PV/_pre/-test}"
+
+S=${WORKDIR}/${PN#vdr-}-1.2
+
+DVDARCHIVE="dvdarchive-2.3-beta.sh"
+
+DESCRIPTION="Video Disk Recorder - Extended recordings menu Plugin"
+HOMEPAGE="http://martins-kabuff.de/extrecmenu.html"
+SRC_URI="http://martins-kabuff.de/download/${MY_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() {
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+ epatch "${FILESDIR}/${P}-gcc44.patch"
+
+ 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_src_prepare
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ cd "${WORKDIR}"
+ newbin ${DVDARCHIVE} dvdarchive.sh
+
+ insinto /etc/vdr
+ doins "${FILESDIR}"/dvdarchive.conf
+}