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/liblms7002m/liblms7002m-9999.ebuild | |
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/liblms7002m/liblms7002m-9999.ebuild')
-rw-r--r-- | net-wireless/liblms7002m/liblms7002m-9999.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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 +} |