diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-12-18 13:20:51 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-12-18 14:41:22 -0500 |
commit | eb85d374d053860c6c84b6a405fdbf9c58a52838 (patch) | |
tree | 84e335cc2870c022a5274c4aceaa377767dc1f96 /net-wireless | |
parent | net-wireless/libxtrxdsp: deps for libxtrx (diff) | |
download | gentoo-eb85d374d053860c6c84b6a405fdbf9c58a52838.tar.gz gentoo-eb85d374d053860c6c84b6a405fdbf9c58a52838.tar.bz2 gentoo-eb85d374d053860c6c84b6a405fdbf9c58a52838.zip |
net-wireless/liblms7002m: deps for libxtrx
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/liblms7002m/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/liblms7002m/liblms7002m-0.0_p20200518.ebuild | 35 | ||||
-rw-r--r-- | net-wireless/liblms7002m/liblms7002m-9999.ebuild | 35 | ||||
-rw-r--r-- | net-wireless/liblms7002m/metadata.xml | 8 |
4 files changed, 79 insertions, 0 deletions
diff --git a/net-wireless/liblms7002m/Manifest b/net-wireless/liblms7002m/Manifest new file mode 100644 index 000000000000..21974bf92c9b --- /dev/null +++ b/net-wireless/liblms7002m/Manifest @@ -0,0 +1 @@ +DIST liblms7002m-0.0_p20200518.tar.gz 31413 BLAKE2B 8365734a60bba43597a8337d186021d92685dce068049817800176801aacf50f2eea0bc2cec62d406eb33393fd2252b22789a6b5b38b88748a5ae94d28c9243a SHA512 c684dca2652680f25c6ac089f0283899976b7f1075cfa11ff230ac4b2307357c3ef66e601eb8c97de5315738e08ff14a6dbd345d8c50df91e91ded2bb41f8988 diff --git a/net-wireless/liblms7002m/liblms7002m-0.0_p20200518.ebuild b/net-wireless/liblms7002m/liblms7002m-0.0_p20200518.ebuild new file mode 100644 index 000000000000..cd7d613bfdbe --- /dev/null +++ b/net-wireless/liblms7002m/liblms7002m-0.0_p20200518.ebuild @@ -0,0 +1,35 @@ +# 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="Toolkit that provides signal processing blocks to implement software radios" +HOMEPAGE="https://www.gnuradio.org/" +LICENSE="GPL-3" +SLOT="0/${PV}" + +if [[ ${PV} =~ "9999" ]]; then + EGIT_REPO_URI="https://github.com/xtrx-sdr/liblms7002m.git" + inherit git-r3 +else + COMMIT="b07761b7386181f0e6a35158456b75bce14f2aca" + SRC_URI="https://github.com/xtrx-sdr/liblms7002m/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +IUSE="" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/cheetah3[${PYTHON_USEDEP}]')" +DEPEND="${RDEPEND}" + +src_configure() { + mycmakeargs=( + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} diff --git a/net-wireless/liblms7002m/liblms7002m-9999.ebuild b/net-wireless/liblms7002m/liblms7002m-9999.ebuild new file mode 100644 index 000000000000..cd7d613bfdbe --- /dev/null +++ b/net-wireless/liblms7002m/liblms7002m-9999.ebuild @@ -0,0 +1,35 @@ +# 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="Toolkit that provides signal processing blocks to implement software radios" +HOMEPAGE="https://www.gnuradio.org/" +LICENSE="GPL-3" +SLOT="0/${PV}" + +if [[ ${PV} =~ "9999" ]]; then + EGIT_REPO_URI="https://github.com/xtrx-sdr/liblms7002m.git" + inherit git-r3 +else + COMMIT="b07761b7386181f0e6a35158456b75bce14f2aca" + SRC_URI="https://github.com/xtrx-sdr/liblms7002m/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +IUSE="" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/cheetah3[${PYTHON_USEDEP}]')" +DEPEND="${RDEPEND}" + +src_configure() { + mycmakeargs=( + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} diff --git a/net-wireless/liblms7002m/metadata.xml b/net-wireless/liblms7002m/metadata.xml new file mode 100644 index 000000000000..1f2eaaafc142 --- /dev/null +++ b/net-wireless/liblms7002m/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> +</pkgmetadata> |