diff options
author | 2020-10-06 15:20:01 -0400 | |
---|---|---|
committer | 2020-10-07 16:26:13 -0400 | |
commit | dfd79505911b3143adb0b5f567f92de88e4af71b (patch) | |
tree | 766e331dcce870e0e514c75d35b504bda466d2c6 /net-wireless/gr-scopy | |
parent | dev-util/spirv-headers: Stabilize 1.5.3 arm, #738238 (diff) | |
download | gentoo-dfd79505911b3143adb0b5f567f92de88e4af71b.tar.gz gentoo-dfd79505911b3143adb0b5f567f92de88e4af71b.tar.bz2 gentoo-dfd79505911b3143adb0b5f567f92de88e4af71b.zip |
net-wireless/gr-scopy: initial ebuild
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/gr-scopy')
-rw-r--r-- | net-wireless/gr-scopy/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild | 34 | ||||
-rw-r--r-- | net-wireless/gr-scopy/gr-scopy-9999.ebuild | 34 | ||||
-rw-r--r-- | net-wireless/gr-scopy/metadata.xml | 15 |
4 files changed, 84 insertions, 0 deletions
diff --git a/net-wireless/gr-scopy/Manifest b/net-wireless/gr-scopy/Manifest new file mode 100644 index 000000000000..bac2b331b822 --- /dev/null +++ b/net-wireless/gr-scopy/Manifest @@ -0,0 +1 @@ +DIST gr-scopy-0.0_p20201005.tar.gz 204034 BLAKE2B 17d797822c7920186a6d875119d582fda7b74f9c23248d9821ba172f59b1df1433520e723e4dc6b1eca1f08fb7256893767794b584d7c0bd53aa2ede80cd2b92 SHA512 12c0e76008b0a7570a85707afe28a102541e02f10a55346c76cb7984e8435e20281e6406c86ee22e8b4fbe0211bb6657f88f36bdf6b3b76d4e24b2a3f12e6350 diff --git a/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild b/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild new file mode 100644 index 000000000000..f695c1501bb3 --- /dev/null +++ b/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit cmake python-single-r1 + +DESCRIPTION="Scopy IIO blocks for GNU Radio" +HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git" + inherit git-r3 +else + COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3" + SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + =net-wireless/gnuradio-3.8*:= + sci-libs/volk:= + " +DEPEND="${RDEPEND}" + +src_install() { + cmake_src_install + python_optimize +} diff --git a/net-wireless/gr-scopy/gr-scopy-9999.ebuild b/net-wireless/gr-scopy/gr-scopy-9999.ebuild new file mode 100644 index 000000000000..f695c1501bb3 --- /dev/null +++ b/net-wireless/gr-scopy/gr-scopy-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit cmake python-single-r1 + +DESCRIPTION="Scopy IIO blocks for GNU Radio" +HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git" + inherit git-r3 +else + COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3" + SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + =net-wireless/gnuradio-3.8*:= + sci-libs/volk:= + " +DEPEND="${RDEPEND}" + +src_install() { + cmake_src_install + python_optimize +} diff --git a/net-wireless/gr-scopy/metadata.xml b/net-wireless/gr-scopy/metadata.xml new file mode 100644 index 000000000000..5424315fd975 --- /dev/null +++ b/net-wireless/gr-scopy/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">analogdevicesinc/gr-scopy</remote-id> + </upstream> +</pkgmetadata> |