blob: 1b482b61008e9e563cfadc216f0c412b50a418ec (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdplayer/vdr-cdplayer-1.2.1.ebuild,v 1.1 2013/06/30 12:38:40 hd_brummy Exp $
EAPI="5"
inherit vdr-plugin-2
DESCRIPTION="VDR Plugin: CD-PLAYER"
HOMEPAGE="http://www.uli-eckhardt.de/vdr/cdplayer.en.shtml"
SRC_URI="http://www.uli-eckhardt.de/vdr/download/${P}.tgz"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="cdparanoia"
DEPEND=">=media-video/vdr-1.6
>=dev-libs/libcdio-0.8.0
>=media-libs/libcddb-1.3.0
cdparanoia? ( >=dev-libs/libcdio-paranoia-0.90 )"
RDEPEND="${DEPEND}"
src_prepare() {
if has_version "<media-video/vdr-1.7.27"; then
cp Makefile.old Makefile
fi
vdr-plugin-2_src_prepare
use cdparanoia || BUILD_PARAMS="NOPARANOIA=1"
}
src_install() {
vdr-plugin-2_src_install
if has_version "<media-video/vdr-1.7.27"; then
insinto /etc/vdr/plugins/"${VDRPLUGIN}"
doins "${S}"/contrib/cd.mpg
fi
}
|