commit:     67e61e629e803ad277bce25315978f6ef7b9e7af
Author:     Jan Henke <Jan.Henke <AT> taujhe <DOT> de>
AuthorDate: Sun Aug  7 14:26:09 2022 +0000
Commit:     Jan Henke <gentoo <AT> taujhe <DOT> de>
CommitDate: Sun Aug  7 14:26:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67e61e62

sci-electronics/lxi-tools: new package, add 2.1

Signed-off-by: Jan Henke <Jan.Henke <AT> taujhe.de>

 sci-electronics/lxi-tools/Manifest             |  1 +
 sci-electronics/lxi-tools/lxi-tools-2.1.ebuild | 36 ++++++++++++++++++++++++++
 sci-electronics/lxi-tools/metadata.xml         | 21 +++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/sci-electronics/lxi-tools/Manifest 
b/sci-electronics/lxi-tools/Manifest
new file mode 100644
index 000000000..3f3137ef9
--- /dev/null
+++ b/sci-electronics/lxi-tools/Manifest
@@ -0,0 +1 @@
+DIST lxi-tools-2.1.tar.gz 937946 BLAKE2B 
25de9b879bd5db4e664aa2420598b22838477f10485247d6f435249dbc7c3d866c439362a99252c7fee329b7cf2a24c2bd72f523aac55a5cb70db914031daf0c
 SHA512 
ddf54826aa3f50a575d2c5f6e62d6a1a813adde275530b19c4e7465e689f43fea290aab4c5762498e2437e67bade577ace4f12cd24ae41c99f811772c38ad307

diff --git a/sci-electronics/lxi-tools/lxi-tools-2.1.ebuild 
b/sci-electronics/lxi-tools/lxi-tools-2.1.ebuild
new file mode 100644
index 000000000..f069b84ec
--- /dev/null
+++ b/sci-electronics/lxi-tools/lxi-tools-2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Tools to access devices with LXI"
+HOMEPAGE="https://github.com/lxi-tools/lxi-tools";
+SRC_URI="https://github.com/lxi-tools/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="bash-completion +gui"
+
+RDEPEND="
+       bash-completion? ( >=app-shells/bash-completion-2.11 )
+       >=sys-libs/readline-8.1_p2
+       >=dev-lang/lua-5.3.6-r2:5.3
+       >=sci-electronics/liblxi-1.13
+       gui? (
+               >=dev-libs/glib-2.70
+               >=gui-libs/gtk-4.5.0
+               >=gui-libs/gtksourceview-5.3.3
+               >=gui-libs/libadwaita-1.0.1
+       )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use gui)
+       )
+       meson_src_configure
+}

diff --git a/sci-electronics/lxi-tools/metadata.xml 
b/sci-electronics/lxi-tools/metadata.xml
new file mode 100644
index 000000000..4b1b4bbc3
--- /dev/null
+++ b/sci-electronics/lxi-tools/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Jan Henke</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">lxi-tools/lxi-tools</remote-id>
+  </upstream>
+  <longdescription>
+       lxi-tools are open source software tools for managing network attached 
LXI 
+       compatible test instruments such as modern oscilloscopes, power 
supplies, 
+       spectrum analyzers etc.
+
+       Features include automatic discovery of test instruments, sending SCPI 
+       commands, grabbing screenshots from supported instruments, benchmarking 
+       SCPI message performance, and powerful scripting for test automation. 
Both 
+       a commandline tool and a GUI tool are available.
+  </longdescription>
+</pkgmetadata>

Reply via email to