From: Rick Farina Date: Thu, 26 Mar 2020 19:58:22 +0000 (-0400) Subject: net-wireless/gr-ntsc-rc: initial ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0b92b9fdf82c37b193917b1462ee0987c8521db2;p=gentoo.git net-wireless/gr-ntsc-rc: initial ebuild Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Rick Farina --- diff --git a/net-wireless/gr-ntsc-rc/gr-ntsc-rc-9999.ebuild b/net-wireless/gr-ntsc-rc/gr-ntsc-rc-9999.ebuild new file mode 100644 index 000000000000..b95038c76a30 --- /dev/null +++ b/net-wireless/gr-ntsc-rc/gr-ntsc-rc-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="NTSC receiver and transmitter for 5 GHz drones" +HOMEPAGE="https://github.com/lscardoso/gr-ntsc-rc" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/lscardoso/gr-ntsc-rc.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/lscardoso/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + >=net-wireless/gnuradio-3.7.0:=" + +DEPEND="${RDEPEND} + dev-libs/boost:= + !net-wireless/gr-ntsc" + +src_install() { + cmake-utils_src_install + dodir /usr/share/doc/${PF} + mv "${ED}"/usr/share/doc/gr-NTSC/* "${ED}/usr/share/doc/${PF}" + rm -rf "${ED}"/usr/share/doc/gr-NTSC +} diff --git a/net-wireless/gr-ntsc-rc/metadata.xml b/net-wireless/gr-ntsc-rc/metadata.xml new file mode 100644 index 000000000000..52c0f7d49939 --- /dev/null +++ b/net-wireless/gr-ntsc-rc/metadata.xml @@ -0,0 +1,15 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + radio@gentoo.org + Radio + + + lscardoso/gr-ntsc-rc + +