summaryrefslogtreecommitdiff
blob: e9b7c7f3910fe704ad37b1226742d4e7e44a4fcb (plain)
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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xxvautotimer/vdr-xxvautotimer-0.1.2-r1.ebuild,v 1.3 2009/07/25 21:24:06 halcy0n Exp $

inherit vdr-plugin

DESCRIPTION="VDR plugin: edit Autotimers of XXV via VDR on-screen-display"
HOMEPAGE="http://www.vdrtools.de/vdrxxvautotimer.html"
SRC_URI="http://www.vdrtools.de/download/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=">=media-video/vdr-1.3.0"

RDEPEND=">=www-misc/xxv-0.30"

PATCHES=("${FILESDIR}/vdr-1.5.7-gettext.diff"
		"${FILESDIR}/${P}_gcc-4.3.x.diff"
		"${FILESDIR}/${P}_compile-warn.diff"
		"${FILESDIR}/${P}-makefile-fix.diff"
		"${FILESDIR}/${P}_gcc-4.4.diff")

src_unpack() {
	vdr-plugin_src_unpack

	sed -i "s:CFLAGS =:CFLAGS ?=:" "${S}"/mysqlwrapped-1.4/Makefile
}