diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-03-26 15:58:22 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-03-26 16:07:56 -0400 |
commit | 0b92b9fdf82c37b193917b1462ee0987c8521db2 (patch) | |
tree | 786474f12bf75a630b183494221086bc900dba38 /net-wireless | |
parent | dev-ada/libadalang: fix usage of pyyaml load (diff) | |
download | gentoo-0b92b9fdf82c37b193917b1462ee0987c8521db2.tar.gz gentoo-0b92b9fdf82c37b193917b1462ee0987c8521db2.tar.bz2 gentoo-0b92b9fdf82c37b193917b1462ee0987c8521db2.zip |
net-wireless/gr-ntsc-rc: initial ebuild
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gr-ntsc-rc/gr-ntsc-rc-9999.ebuild | 36 | ||||
-rw-r--r-- | net-wireless/gr-ntsc-rc/metadata.xml | 15 |
2 files changed, 51 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> + <upstream> + <remote-id type="github">lscardoso/gr-ntsc-rc</remote-id> + </upstream> +</pkgmetadata> |