summaryrefslogtreecommitdiff
blob: 9e263b16a5ef828f0c1f16857ef57ac4d156c477 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrcd/vdr-vdrcd-0.0.10.1-r1.ebuild,v 1.1 2006/01/29 21:36:07 hd_brummy Exp $

inherit vdr-plugin

DESCRIPTION="Video Disk Recorder Media Detection Plugin"
HOMEPAGE="http://www.magoa.net/linux"
SRC_URI="http://www.magoa.net/linux/files/${P}.tgz"

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

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

src_unpack() {

	vdr-plugin_src_unpack

	epatch ${FILESDIR}/${P}-mp3ng.diff
}

src_install() {

	vdr-plugin_src_install

	insinto /etc/vdr/commands/
	doins "${FILESDIR}/commands.${VDRPLUGIN}.conf"

	dobin ${FILESDIR}/mount-vdrcd.sh
}


pkg_postinst() {

	vdr-plugin_pkg_postinst

	if ! has_version ">media-plugins/vdr-mp3ng-0.9.12"; then
		echo
		einfo "For full mp3 support 'emerge media-plugins/vdr-mp3ng -pv'"
	fi
}