LimeSDR stuff.

master
root 2017-04-06 23:28:51 +01:00
parent ee4db224cb
commit 789ce71c10
4 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST gr-osmosdr-0.1.4_p20150730.tar.xz 1148596 SHA256 b94e597d8042717d70f5f8c358fb8446ef64a91fa6ab2b362e0e7d37457bd961 SHA512 7e6847eba0d4e217ea71bb4b8105290b329bf8840a7193df013b3a0cd9c9ef57f3686252da48cb0df239288b5794c75178a8bb45ff2a2dd8b605f63fec2426d9 WHIRLPOOL db2df16796ab5974d22d4f606bd73aaec53693933fcc5c12e5126f14e4d3d2eadacd7cf2e28cb18a951caf9a16440c72f54177acfd3af16512febd97d6e0072c
EBUILD gr-osmosdr-0.1.4_p20150730.ebuild 1952 SHA256 b47b7f034a0fd002a9b9fb86b1104c65fac202c81f37a89deff15716c9d2354d SHA512 b08c86d63b75c24d5c346fb8c1370bfb969505ea94a1303d6a5de0a8627f6aa035f195c3620fb72e65039fae12de0c9c87476e6c3a50fa9599531763215b8e6a WHIRLPOOL 539ee6a495cf26ad86f51b018a8649140a72054ccdae048d97237053ee040eacf57c7e75e908b67475b01ede2bf7a14b490ed74a83bae41a2cbfe1f5eb8596fd

View File

@ -0,0 +1,74 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit cmake-utils python-single-r1
DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf"
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
KEYWORDS=""
else
#git clone git://git.osmocom.org/gr-osmosdr.git
#cd gr-osmosdr
#git archive --format=tar --prefix=gr-osmosdr-${PV}/ v${PV} | xz > ../gr-osmosdr-${PV}.tar.xz
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/gr-osmosdr-${PV}.tar.xz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-3"
SLOT="0/${PV}"
IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr uhd soapysdr"
RDEPEND="${PYTHON_DEPS}
dev-libs/boost:=
>=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}]
bladerf? ( net-wireless/bladerf:= )
hackrf? ( net-libs/libhackrf:= )
iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] )
mirisdr? ( net-libs/libmirisdr:= )
rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= )
soapysdr? ( net-wireless/soapy-sdr:= )
uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
dev-python/cheetah"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
epatch_user
}
src_configure() {
local mycmakeargs=(
-DENABLE_DEFAULT=OFF
-DPYTHON_EXECUTABLE="${PYTHON}"
-DENABLE_FILE=ON
$(cmake-utils_use_enable bladerf)
$(cmake-utils_use_enable fcd)
$(cmake-utils_use_enable hackrf)
$(cmake-utils_use_enable iqbalance)
$(cmake-utils_use_enable mirisdr MIRI)
$(cmake-utils_use_enable python)
$(cmake-utils_use_enable rtlsdr RTL)
$(cmake-utils_use_enable rtlsdr RTL_TCP)
$(cmake-utils_use_enable uhd)
$(cmake-utils_use_enable soapysdr SOAPY)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
if use python; then
python_fix_shebang "${ED}"/usr/bin
fi
}

View File

@ -0,0 +1,2 @@
DIST soapy-sdr-0.5.4.tar.gz 106605 SHA256 b8e32f6046cb7b9a49e377a9271b5e1e6ac6d93f5e67dd39c253d91c7e4d3519 SHA512 7cf3d0360165be7ab5be3619dfaf980961a897e40ab1c6f1bc934e67b02b4afe53c2656adcec8d43ecf4ce28e97d18a9c544d972cc0f67addae447d86e633aaa WHIRLPOOL afb53103bc8892d8142b7ffd32137f2d4bd356791088d52214c9f6f5d7ea5bbf304cc08d0cc630d55b9e7f113f7d438075c940bb8c29adf0d680c3fbc194e4f0
EBUILD soapy-sdr-0.5.4.ebuild 840 SHA256 84ba8b9318efaa366db612262dea3f6caa386e9a378653190bc947b13e81e509 SHA512 bed7efdedaf16978d2cc239680912356d6f0b5abcaa178dde34e7a6657c40b56af4a417d59522de002982a17d534ec1835fc5c97d639c60b68ae85bda8242b56 WHIRLPOOL 8fb83b0f3b8520c0ef6d9a530afe1f7f2e125b6b49be20cfc2ab46305073cbf80efe61e0fb5ce4f7964669fa3fd10e191d5ad5c955fd090c5947a432a6beed72

View File

@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_5 )
inherit cmake-utils python-r1
DESCRIPTION="A fresh and clean vendor neutral and platform independent SDR support library"
HOMEPAGE="https://github.com/pothosware/SoapySDR/wiki"
SRC_URI="https://github.com/pothosware/SoapySDR/archive/${P}.tar.gz"
S="${WORKDIR}/SoapySDR-${P}"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="python"
RESTRICT="test"
RDEPEND="python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
python? ( ${PYTHON_DEPS} )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
pkg_setup() {
python_setup
}
src_prepare() {
eapply_user
cmake-utils_src_prepare
}
src_configure() {
python_setup
cmake-utils_src_configure
}