summaryrefslogtreecommitdiff
blob: 87acc4c1bb8fc2eab521aa3144354b41172141ec (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Simple IVTV command line TV and radio player with support of LIRC"
HOMEPAGE="https://sourceforge.net/projects/ivtvplayer/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

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

RDEPEND="media-tv/v4l-utils
	 || ( media-video/mplayer[v4l]
		media-video/mplayer[dvb] )
	 media-sound/alsa-utils
	 dev-perl/XML-Simple
	 gtk? ( dev-perl/Gtk2 )
	 dev-perl/X-Osd
	 >=dev-perl/Lirc-Client-1.50"
DEPEND="${RDEPEND}"

src_install() {
	dobin bin/itv
	dobin bin/iradio
	use gtk && dobin bin/ictl
	dodoc doc/README doc/CHANGES
	dodoc -r conf
}

pkg_postinst() {
	einfo ""
	einfo "Example of itv, iradio and its LIRC configuration file is located in"
	einfo "directory /usr/share/doc/${PF}/."
	einfo ""
}