diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-12-18 14:17:59 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-12-18 14:41:23 -0500 |
commit | effa2a6f22c07ff0a6a4316568fc41123281e16e (patch) | |
tree | 0bfc650bcec846108964c52e866aaefd2926bc17 /net-wireless/libxtrx/libxtrx-9999.ebuild | |
parent | net-wireless/liblms7002m: fix copypasta (diff) | |
download | gentoo-effa2a6f22c07ff0a6a4316568fc41123281e16e.tar.gz gentoo-effa2a6f22c07ff0a6a4316568fc41123281e16e.tar.bz2 gentoo-effa2a6f22c07ff0a6a4316568fc41123281e16e.zip |
net-wireless/libxtrx: xtrx support
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/libxtrx/libxtrx-9999.ebuild')
-rw-r--r-- | net-wireless/libxtrx/libxtrx-9999.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-wireless/libxtrx/libxtrx-9999.ebuild b/net-wireless/libxtrx/libxtrx-9999.ebuild new file mode 100644 index 000000000000..5277ce0e5d1f --- /dev/null +++ b/net-wireless/libxtrx/libxtrx-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="High-level XTRX API library" +HOMEPAGE="https://github.com/xtrx-sdr/libxtrx" +LICENSE="LGPL-2.1" +SLOT="0/${PV}" + +if [[ ${PV} =~ "9999" ]]; then + EGIT_REPO_URI="https://github.com/xtrx-sdr/libxtrx.git" + inherit git-r3 +else + COMMIT="acb0b1cf7ab92744034767a04c1d4b4c281b840f" + SRC_URI="https://github.com/xtrx-sdr/libxtrx/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +IUSE="" + +RDEPEND=" + net-wireless/libxtrxll:= + net-wireless/libxtrxdsp:= + net-wireless/liblms7002m:= +" +# soapy? ( net-wireless/soapysdr ) +DEPEND="${RDEPEND}" + +src_configure() { + #fails to build, not sure why + #-DENABLE_SOAPY="$(usex soapy ON OFF)" + mycmakeargs=( + -DENABLE_SOAPY=OFF + ) + cmake_src_configure +} |