diff options
Diffstat (limited to 'net-wireless/gr-m2k')
-rw-r--r-- | net-wireless/gr-m2k/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/gr-m2k/gr-m2k-9999.ebuild | 46 | ||||
-rw-r--r-- | net-wireless/gr-m2k/metadata.xml | 15 |
3 files changed, 63 insertions, 0 deletions
diff --git a/net-wireless/gr-m2k/Manifest b/net-wireless/gr-m2k/Manifest new file mode 100644 index 000000000000..f20c65541b2e --- /dev/null +++ b/net-wireless/gr-m2k/Manifest @@ -0,0 +1,2 @@ +EBUILD gr-m2k-9999.ebuild 1011 BLAKE2B 2e93b4657199ec0300a674c9e1d72fd4c085134d45b99a96fed1e732635d5aef44f0987beb6bc2023259304652ebd2f1a1a5a2a74f2a2628fba481509741ede4 SHA512 0c04bc5c65a1b9d1c806fe3a2b3fb3ca3201d24fdca8058d4d0c20ae3bd5c9b2e69efb9d3783480499204ef31c7eafbee3e2b787df4aabb1bfc3a87ce78b0c42 +MISC metadata.xml 434 BLAKE2B 31c5fd25b051d7792a76722799e422e424352855c41bca00abcd91b7bfbc048ed639fe35e7583b47a2989b938bfe3711c15c8e3504d295872f56cbb4e3440788 SHA512 1ed58dcd37fd1916d7f817252dfdf5e17574aaaa2e9f2601f35d892b81d10e9b5e67536b943966519c0a3e3bd9d96a5490de8998a9a311862a0ac58246de0965 diff --git a/net-wireless/gr-m2k/gr-m2k-9999.ebuild b/net-wireless/gr-m2k/gr-m2k-9999.ebuild new file mode 100644 index 000000000000..5ba99f4abc99 --- /dev/null +++ b/net-wireless/gr-m2k/gr-m2k-9999.ebuild @@ -0,0 +1,46 @@ +# 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="A C++ library for interfacing with the ADALM2000" +HOMEPAGE="https://github.com/analogdevicesinc/gr-m2k" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-m2k.git" + inherit git-r3 +else + COMMIT="f98dfa42134d2dff458c7832842d1f51c3131aa4" + SRC_URI="https://github.com/analogdevicesinc/gr-m2k/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} + dev-libs/boost:= + =net-wireless/gnuradio-3.8*:= + net-libs/libiio + net-wireless/libm2k + " +DEPEND="${RDEPEND} + dev-lang/swig +" + +src_configure() { + mycmakeargs=( + -DCMAKE_SKIP_BUILD_RPATH=TRUE + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + #this seems to not compile things + python_optimize +} diff --git a/net-wireless/gr-m2k/metadata.xml b/net-wireless/gr-m2k/metadata.xml new file mode 100644 index 000000000000..683b3dae68f4 --- /dev/null +++ b/net-wireless/gr-m2k/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-m2k</remote-id> + </upstream> +</pkgmetadata> |