public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/lxi-tools/
Date: Sat,  8 Jun 2024 20:06:22 +0000 (UTC)	[thread overview]
Message-ID: <1717872225.80c0936cbadd90f7ec2b01fe0581dd27e8d4f749.julien@gentoo> (raw)

commit:     80c0936cbadd90f7ec2b01fe0581dd27e8d4f749
Author:     Jan Henke <Jan.Henke <AT> taujhe <DOT> de>
AuthorDate: Sat Jun  8 18:43:45 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun  8 18:43:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80c0936c

sci-electronics/lxi-tools: add 2.7

Closes: https://bugs.gentoo.org/931474
Signed-off-by: Jan Henke <Jan.Henke <AT> taujhe.de>

 sci-electronics/lxi-tools/Manifest             |  1 +
 sci-electronics/lxi-tools/lxi-tools-2.7.ebuild | 62 ++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/sci-electronics/lxi-tools/Manifest b/sci-electronics/lxi-tools/Manifest
index a0c21dc0c..002c827a7 100644
--- a/sci-electronics/lxi-tools/Manifest
+++ b/sci-electronics/lxi-tools/Manifest
@@ -1,2 +1,3 @@
 DIST lxi-tools-2.1.tar.gz 937946 BLAKE2B 25de9b879bd5db4e664aa2420598b22838477f10485247d6f435249dbc7c3d866c439362a99252c7fee329b7cf2a24c2bd72f523aac55a5cb70db914031daf0c SHA512 ddf54826aa3f50a575d2c5f6e62d6a1a813adde275530b19c4e7465e689f43fea290aab4c5762498e2437e67bade577ace4f12cd24ae41c99f811772c38ad307
 DIST lxi-tools-2.3.tar.gz 1001920 BLAKE2B 5fa8d24403e98366436270fba543dd3086f34a194c3995ce0b628b7ec1605d1319b4468b371d08ea88db1fd653311108d03b43a49533060472e6b1495072442a SHA512 3bf885d0d9b96b525809cd3fb5fbedb1ffc2728f523a31cc1bb8c45657d9e4eec7d954e085f752b89a3016cc01f021c773ddbd1d876a4af8a7b72719275dc4c7
+DIST lxi-tools-2.7.tar.gz 1007967 BLAKE2B d29da7d1be3ba2809a390ab501077f7711a3fa9d1d93eb67fb43c302841bbdcc0c3cf64aa90e6d0789aabf714c6d7ea204ec8318861d69317d80118c16127df2 SHA512 de295f4ba04e5c119929c413112373faa6b019b48e4afee47001cbe145ed3e5dbf30700ce219af9deec0d6a68b169fe7493c65569b99ca1324a0cffcc7463f0d

diff --git a/sci-electronics/lxi-tools/lxi-tools-2.7.ebuild b/sci-electronics/lxi-tools/lxi-tools-2.7.ebuild
new file mode 100644
index 000000000..682708e0b
--- /dev/null
+++ b/sci-electronics/lxi-tools/lxi-tools-2.7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python{3_12,3_13} )
+LUA_COMPAT=( lua5-{1..4} )
+inherit meson python-any-r1 lua-single gnome2-utils xdg-utils
+
+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"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RDEPEND="
+	bash-completion? ( >=app-shells/bash-completion-2.11 )
+	>=sys-libs/readline-8.1_p2
+	${LUA_DEPS}
+	>=sci-electronics/liblxi-1.13
+	gui? (
+		>=dev-libs/glib-2.70
+		>=gui-libs/gtk-4.6.0
+		>=gui-libs/gtksourceview-5.4.0
+		>=gui-libs/libadwaita-1.2
+		>=dev-libs/json-glib-1.4
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	python-any-r1_pkg_setup
+	lua-single_pkg_setup
+}
+
+src_configure() {
+	# fix lua dependency string in meson-build
+	sed -i 's/lua-/lua/g' ${S}/src/meson.build || die
+
+	local emesonargs=(
+		$(meson_use gui)
+	)
+	meson_src_configure
+}
+
+pkg_postinst() {
+	gnome2_schemas_update
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_schemas_update
+	xdg_icon_cache_update
+}


             reply	other threads:[~2024-06-08 20:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-08 20:06 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-09 18:28 [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/lxi-tools/ Julien Roy
2024-06-09 18:28 Julien Roy
2024-06-08 20:06 Julien Roy
2024-06-08 20:06 Julien Roy
2024-06-08 20:06 Julien Roy
2022-09-08 10:24 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-09-08 10:24 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-08-12 22:13 Haelwenn Monnier
2022-08-12 22:13 Haelwenn Monnier
2022-08-11 13:45 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717872225.80c0936cbadd90f7ec2b01fe0581dd27e8d4f749.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox