summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/gr-iio/gr-iio-0.3_p20191029.ebuild')
-rw-r--r--net-wireless/gr-iio/gr-iio-0.3_p20191029.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-wireless/gr-iio/gr-iio-0.3_p20191029.ebuild b/net-wireless/gr-iio/gr-iio-0.3_p20191029.ebuild
new file mode 100644
index 000000000000..3ebe5b6600a4
--- /dev/null
+++ b/net-wireless/gr-iio/gr-iio-0.3_p20191029.ebuild
@@ -0,0 +1,36 @@
+# 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-utils python-single-r1
+
+DESCRIPTION="GNU Radio IIO Blocks"
+HOMEPAGE="https://github.com/analogdevicesinc/gr-iio"
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-iio"
+ inherit git-r3
+ KEYWORDS=""
+else
+ COMMIT="8196f3de5b2fdf384801748166cc4ad86a4a9338"
+ SRC_URI="https://github.com/analogdevicesinc/gr-iio/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*:=
+ dev-libs/boost:=
+ net-libs/libiio:=
+ net-libs/libad9361-iio:="
+
+DEPEND="${RDEPEND}
+ sys-devel/flex:=
+ sys-devel/bison:=
+ dev-util/cppunit:=
+ dev-lang/swig:0"