diff --git a/net-wireless/soapy-sdrplay3/Manifest b/net-wireless/soapy-sdrplay3/Manifest new file mode 100644 index 000000000..3004b706a --- /dev/null +++ b/net-wireless/soapy-sdrplay3/Manifest @@ -0,0 +1 @@ +DIST soapy-sdrplay3-20230421.tar.gz 21718 BLAKE2B 58a145daeb73fb4bf30d274de6138c1959c5e0bdbbb7dfe47627c0cee5a5375730f381067a781e8dcc5f2d43c6e557c05cdbc4591c08d4c7902bd4bfb1da8d4c SHA512 ced39ca680d5052743900f02d803628fe6b67e1c35d00be3217ec9d9842a242da3d206d31094bf49983cbdc100f9fabda1376374eabe03352eea4802e58fa461 diff --git a/net-wireless/soapy-sdrplay3/metadata.xml b/net-wireless/soapy-sdrplay3/metadata.xml new file mode 100644 index 000000000..974c8e5ef --- /dev/null +++ b/net-wireless/soapy-sdrplay3/metadata.xml @@ -0,0 +1,13 @@ + + + + + petre.rodan@gmail.com + Petre Rodan + + + + + pothosware/SoapySDRPlay3 + + diff --git a/net-wireless/soapy-sdrplay3/soapy-sdrplay3-20230421.ebuild b/net-wireless/soapy-sdrplay3/soapy-sdrplay3-20230421.ebuild new file mode 100644 index 000000000..5993ca673 --- /dev/null +++ b/net-wireless/soapy-sdrplay3/soapy-sdrplay3-20230421.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Soapy SDR module for SRDPlay API v3" +HOMEPAGE="https://github.com/pothosware/SoapySDRPlay3" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pothosware/SoapySDRPlay3.git" +else + HASH_COMMIT="c4bb9afd17fd6ff2da23317f1fc98cfff3806a1d" + SRC_URI="https://github.com/pothosware/SoapySDRPlay3/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/SoapySDRPlay3-${HASH_COMMIT}" + KEYWORDS="~amd64 ~arm ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="" + +RDEPEND="net-wireless/soapysdr" +DEPEND="${RDEPEND}" + +BDEPEND="" + +REQUIRED_USE="" + +src_configure() { + cmake_src_configure +} + +src_install() { + cmake_src_install +} diff --git a/net-wireless/soapy-sdrplay3/soapy-sdrplay3-9999.ebuild b/net-wireless/soapy-sdrplay3/soapy-sdrplay3-9999.ebuild new file mode 100644 index 000000000..5993ca673 --- /dev/null +++ b/net-wireless/soapy-sdrplay3/soapy-sdrplay3-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Soapy SDR module for SRDPlay API v3" +HOMEPAGE="https://github.com/pothosware/SoapySDRPlay3" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pothosware/SoapySDRPlay3.git" +else + HASH_COMMIT="c4bb9afd17fd6ff2da23317f1fc98cfff3806a1d" + SRC_URI="https://github.com/pothosware/SoapySDRPlay3/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/SoapySDRPlay3-${HASH_COMMIT}" + KEYWORDS="~amd64 ~arm ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="" + +RDEPEND="net-wireless/soapysdr" +DEPEND="${RDEPEND}" + +BDEPEND="" + +REQUIRED_USE="" + +src_configure() { + cmake_src_configure +} + +src_install() { + cmake_src_install +}