summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-12-18 13:36:35 -0500
committerRick Farina <zerochaos@gentoo.org>2020-12-18 14:41:22 -0500
commit20ccbfcd7697d728996f0142be351ff062c128f5 (patch)
tree4de7ab02d865d1df9fb5f93b38848e7c4b6053f1 /net-wireless
parentnet-wireless/liblms7002m: deps for libxtrx (diff)
downloadgentoo-20ccbfcd7697d728996f0142be351ff062c128f5.tar.gz
gentoo-20ccbfcd7697d728996f0142be351ff062c128f5.tar.bz2
gentoo-20ccbfcd7697d728996f0142be351ff062c128f5.zip
net-wireless/libusb3380: xtrx usb support
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/libusb3380/Manifest1
-rw-r--r--net-wireless/libusb3380/libusb3380-0.0_p20190125.ebuild25
-rw-r--r--net-wireless/libusb3380/libusb3380-9999.ebuild25
-rw-r--r--net-wireless/libusb3380/metadata.xml8
4 files changed, 59 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+</pkgmetadata>