public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-m2k/
@ 2020-10-07 20:26 Rick Farina
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Farina @ 2020-10-07 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     43aea490071739f96c7b05f5b440d84062e9c5e1
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  6 20:17:51 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 20:26:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43aea490

net-wireless/gr-m2k: initial ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/gr-m2k/gr-m2k-9999.ebuild | 46 ++++++++++++++++++++++++++++++++++
 net-wireless/gr-m2k/metadata.xml       | 15 +++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-wireless/gr-m2k/gr-m2k-9999.ebuild b/net-wireless/gr-m2k/gr-m2k-9999.ebuild
new file mode 100644
index 00000000000..5ba99f4abc9
--- /dev/null
+++ b/net-wireless/gr-m2k/gr-m2k-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="A C++ library for interfacing with the ADALM2000"
+HOMEPAGE="https://github.com/analogdevicesinc/gr-m2k"
+if [ "${PV}" = "9999" ]; then
+	EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-m2k.git"
+	inherit git-r3
+else
+	COMMIT="f98dfa42134d2dff458c7832842d1f51c3131aa4"
+	SRC_URI="https://github.com/analogdevicesinc/gr-m2k/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${COMMIT}"
+	KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+	dev-libs/boost:=
+	=net-wireless/gnuradio-3.8*:=
+	net-libs/libiio
+	net-wireless/libm2k
+	"
+DEPEND="${RDEPEND}
+	dev-lang/swig
+"
+
+src_configure() {
+	mycmakeargs=(
+		-DCMAKE_SKIP_BUILD_RPATH=TRUE
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	#this seems to not compile things
+	python_optimize
+}

diff --git a/net-wireless/gr-m2k/metadata.xml b/net-wireless/gr-m2k/metadata.xml
new file mode 100644
index 00000000000..683b3dae68f
--- /dev/null
+++ b/net-wireless/gr-m2k/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+		<name>Rick Farina</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>radio@gentoo.org</email>
+		<name>Radio</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">analogdevicesinc/gr-m2k</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-m2k/
@ 2021-02-15  3:18 Rick Farina
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Farina @ 2021-02-15  3:18 UTC (permalink / raw
  To: gentoo-commits

commit:     02dd78d6d92534bc1b21c2b2b770e06e772c4356
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 15 03:09:58 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 03:18:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02dd78d6

net-wireless/gr-m2k: python bump

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/gr-m2k/gr-m2k-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/gr-m2k/gr-m2k-9999.ebuild b/net-wireless/gr-m2k/gr-m2k-9999.ebuild
index bb25c7af194..da37a557cf4 100644
--- a/net-wireless/gr-m2k/gr-m2k-9999.ebuild
+++ b/net-wireless/gr-m2k/gr-m2k-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit cmake python-single-r1
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-15  3:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-07 20:26 [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-m2k/ Rick Farina
  -- strict thread matches above, loose matches on Subject: below --
2021-02-15  3:18 Rick Farina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox