From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1232446-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5535A1382C5 for <garchives@archives.gentoo.org>; Fri, 18 Dec 2020 19:41:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEBD9E09C7; Fri, 18 Dec 2020 19:41:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF200E09C7 for <gentoo-commits@lists.gentoo.org>; Fri, 18 Dec 2020 19:41:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C8A5340D41 for <gentoo-commits@lists.gentoo.org>; Fri, 18 Dec 2020 19:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A66D83BD for <gentoo-commits@lists.gentoo.org>; Fri, 18 Dec 2020 19:41:36 +0000 (UTC) From: "Rick Farina" <zerochaos@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" <zerochaos@gentoo.org> Message-ID: <1608320482.33658e50f87aa15ee8f2e8b69a28e75fae4cda9e.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/libxtrxll/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/libxtrxll/Manifest net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild net-wireless/libxtrxll/libxtrxll-9999.ebuild net-wireless/libxtrxll/metadata.xml X-VCS-Directories: net-wireless/libxtrxll/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 33658e50f87aa15ee8f2e8b69a28e75fae4cda9e X-VCS-Branch: master Date: Fri, 18 Dec 2020 19:41:36 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 116dac74-802d-41c1-81ea-619ca5b8a263 X-Archives-Hash: ceac42791ceeefa3828a3165ba5c4ec9 commit: 33658e50f87aa15ee8f2e8b69a28e75fae4cda9e Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> AuthorDate: Fri Dec 18 18:55:28 2020 +0000 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Fri Dec 18 19:41:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33658e50 net-wireless/libxtrxll: xtrx hardware support Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> net-wireless/libxtrxll/Manifest | 1 + .../libxtrxll/libxtrxll-0.0_p20201202.ebuild | 34 ++++++++++++++++++++++ net-wireless/libxtrxll/libxtrxll-9999.ebuild | 34 ++++++++++++++++++++++ net-wireless/libxtrxll/metadata.xml | 11 +++++++ 4 files changed, 80 insertions(+) diff --git a/net-wireless/libxtrxll/Manifest b/net-wireless/libxtrxll/Manifest new file mode 100644 index 00000000000..3bf81a89103 --- /dev/null +++ b/net-wireless/libxtrxll/Manifest @@ -0,0 +1 @@ +DIST libxtrxll-0.0_p20201202.tar.gz 68732 BLAKE2B f1eeeb3cd9368224a512ade5389cd5f289613e47736f2577cf9a3a7266ee6a8159e60b1523414277fb8dbdcc206d2a8b53b6a72a591af54d40f3175f2192c139 SHA512 b9c32db32e7782db5831b73ea34d801f2b09cc42773db0ea3504f500717c11303083e1b9808ef9d0c6efd19ce0dab2f97f79ef20e9b892fa15a42c52cdeb4db1 diff --git a/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild new file mode 100644 index 00000000000..6e0b7183d22 --- /dev/null +++ b/net-wireless/libxtrxll/libxtrxll-0.0_p20201202.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Low-level XTRX hardware abstraction library" +HOMEPAGE="https://github.com/xtrx-sdr/libxtrxll" +LICENSE="LGPL-2.1" +SLOT="0/${PV}" + +if [[ ${PV} =~ "9999" ]]; then + EGIT_REPO_URI="https://github.com/xtrx-sdr/libxtrxll.git" + inherit git-r3 +else + COMMIT="1b6eddfbedc700efb6f7e3c3594e43ac6ff29ea4" + SRC_URI="https://github.com/xtrx-sdr/libxtrxll/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +IUSE="usb3380" + +RDEPEND="usb3380? ( net-wireless/libusb3380 )" +DEPEND="${RDEPEND}" + +src_configure() { + mycmakeargs=( + -DENABLE_PCIE=ON + -DENABLE_USB3380="$(usex usb3380 ON OFF)" + ) + cmake_src_configure +} diff --git a/net-wireless/libxtrxll/libxtrxll-9999.ebuild b/net-wireless/libxtrxll/libxtrxll-9999.ebuild new file mode 100644 index 00000000000..6e0b7183d22 --- /dev/null +++ b/net-wireless/libxtrxll/libxtrxll-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Low-level XTRX hardware abstraction library" +HOMEPAGE="https://github.com/xtrx-sdr/libxtrxll" +LICENSE="LGPL-2.1" +SLOT="0/${PV}" + +if [[ ${PV} =~ "9999" ]]; then + EGIT_REPO_URI="https://github.com/xtrx-sdr/libxtrxll.git" + inherit git-r3 +else + COMMIT="1b6eddfbedc700efb6f7e3c3594e43ac6ff29ea4" + SRC_URI="https://github.com/xtrx-sdr/libxtrxll/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +IUSE="usb3380" + +RDEPEND="usb3380? ( net-wireless/libusb3380 )" +DEPEND="${RDEPEND}" + +src_configure() { + mycmakeargs=( + -DENABLE_PCIE=ON + -DENABLE_USB3380="$(usex usb3380 ON OFF)" + ) + cmake_src_configure +} diff --git a/net-wireless/libxtrxll/metadata.xml b/net-wireless/libxtrxll/metadata.xml new file mode 100644 index 00000000000..e711f2c752d --- /dev/null +++ b/net-wireless/libxtrxll/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <use> + <flag name="usb3380">support xtrx usb model</flag> + </use> +</pkgmetadata>