From 20ccbfcd7697d728996f0142be351ff062c128f5 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Fri, 18 Dec 2020 13:36:35 -0500 Subject: net-wireless/libusb3380: xtrx usb support Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Rick Farina --- net-wireless/libusb3380/Manifest | 1 + .../libusb3380/libusb3380-0.0_p20190125.ebuild | 25 ++++++++++++++++++++++ net-wireless/libusb3380/libusb3380-9999.ebuild | 25 ++++++++++++++++++++++ net-wireless/libusb3380/metadata.xml | 8 +++++++ 4 files changed, 59 insertions(+) create mode 100644 net-wireless/libusb3380/Manifest create mode 100644 net-wireless/libusb3380/libusb3380-0.0_p20190125.ebuild create mode 100644 net-wireless/libusb3380/libusb3380-9999.ebuild create mode 100644 net-wireless/libusb3380/metadata.xml (limited to 'net-wireless/libusb3380') diff --git a/net-wireless/libusb3380/Manifest b/net-wireless/libusb3380/Manifest new file mode 100644 index 000000000000..9d2c19a0290d --- /dev/null +++ b/net-wireless/libusb3380/Manifest @@ -0,0 +1 @@ +DIST libusb3380-0.0_p20190125.tar.gz 30572 BLAKE2B 95da2e1e9355f781293a01b2ee4535df931d9cbdc67c204c6ba3bc4f66c7a3dc9d9b8f1883ce92a35e350ea881a4e855926837ab4aa211c1fecd63721386b963 SHA512 e433d40b4176fe5e884035e9364d1a52b40f8495a34034f68f196bbad48d344eff1674f45f7e5afbd3045bf50285c8c0dd021e405ff764b638a4b3640d29fd9a diff --git a/net-wireless/libusb3380/libusb3380-0.0_p20190125.ebuild b/net-wireless/libusb3380/libusb3380-0.0_p20190125.ebuild new file mode 100644 index 000000000000..938bde8c3140 --- /dev/null +++ b/net-wireless/libusb3380/libusb3380-0.0_p20190125.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake + +DESCRIPTION="USB3380 abstraction layer for libusb" +HOMEPAGE="https://github.com/xtrx-sdr/libusb3380" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xtrx-sdr/libusb3380.git" +else + COMMIT="c83d1e93eb3a5b8b6a9db41c2613b206f344f825" + SRC_URI="https://github.com/xtrx-sdr/libusb3380/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" +BDEPEND="" diff --git a/net-wireless/libusb3380/libusb3380-9999.ebuild b/net-wireless/libusb3380/libusb3380-9999.ebuild new file mode 100644 index 000000000000..938bde8c3140 --- /dev/null +++ b/net-wireless/libusb3380/libusb3380-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake + +DESCRIPTION="USB3380 abstraction layer for libusb" +HOMEPAGE="https://github.com/xtrx-sdr/libusb3380" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xtrx-sdr/libusb3380.git" +else + COMMIT="c83d1e93eb3a5b8b6a9db41c2613b206f344f825" + SRC_URI="https://github.com/xtrx-sdr/libusb3380/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" +BDEPEND="" diff --git a/net-wireless/libusb3380/metadata.xml b/net-wireless/libusb3380/metadata.xml new file mode 100644 index 000000000000..1f2eaaafc142 --- /dev/null +++ b/net-wireless/libusb3380/metadata.xml @@ -0,0 +1,8 @@ + + + + + radio@gentoo.org + Radio + + -- cgit v1.2.3-65-gdbad