1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit cmake-utils python-single-r1
10 DESCRIPTION="RTL2832U NTSC viewer"
11 HOMEPAGE="https://github.com/kik/sdr-tv"
12 if [ "${PV}" = "9999" ]; then
13 EGIT_REPO_URI="https://github.com/kik/sdr-tv.git"
17 SRC_URI="https://github.com/kik/sdr-tv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
22 REQUIRED_USE=${PYTHON_REQUIRED_USE}
24 RDEPEND="${PYTHON_DEPS}
25 >=net-wireless/gnuradio-3.7.0:="
30 S="${WORKDIR}/${PF}/gr-ntsc"
33 cmake-utils_src_install
34 dodir /usr/share/doc/${PF}
35 mv "${ED}"/usr/share/doc/gr-ntsc/* "${ED}/usr/share/doc/${PF}"
36 rm -rf "${ED}"/usr/share/doc/gr-ntsc