add ebuild for soapy-sdrplay3

This commit is contained in:
Petre Rodan 2023-06-08 22:31:57 +03:00
parent 7ffae13081
commit 03a2aaaa04
No known key found for this signature in database
GPG key ID: C2540BC77ADA0964
4 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST soapy-sdrplay3-20230421.tar.gz 21718 BLAKE2B 58a145daeb73fb4bf30d274de6138c1959c5e0bdbbb7dfe47627c0cee5a5375730f381067a781e8dcc5f2d43c6e557c05cdbc4591c08d4c7902bd4bfb1da8d4c SHA512 ced39ca680d5052743900f02d803628fe6b67e1c35d00be3217ec9d9842a242da3d206d31094bf49983cbdc100f9fabda1376374eabe03352eea4802e58fa461

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>petre.rodan@gmail.com</email>
<name>Petre Rodan</name>
</maintainer>
<use>
</use>
<upstream>
<remote-id type="github">pothosware/SoapySDRPlay3</remote-id>
</upstream>
</pkgmetadata>

View file

@ -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
}

View file

@ -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
}