mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
sci-electronics/lxi-tools: add 2.3
Closes: https://bugs.gentoo.org/868924 Signed-off-by: Jan Henke <Jan.Henke@taujhe.de>
This commit is contained in:
parent
338e3b32d5
commit
ed36b31918
@ -1 +1,2 @@
|
|||||||
DIST lxi-tools-2.1.tar.gz 937946 BLAKE2B 25de9b879bd5db4e664aa2420598b22838477f10485247d6f435249dbc7c3d866c439362a99252c7fee329b7cf2a24c2bd72f523aac55a5cb70db914031daf0c SHA512 ddf54826aa3f50a575d2c5f6e62d6a1a813adde275530b19c4e7465e689f43fea290aab4c5762498e2437e67bade577ace4f12cd24ae41c99f811772c38ad307
|
DIST lxi-tools-2.1.tar.gz 937946 BLAKE2B 25de9b879bd5db4e664aa2420598b22838477f10485247d6f435249dbc7c3d866c439362a99252c7fee329b7cf2a24c2bd72f523aac55a5cb70db914031daf0c SHA512 ddf54826aa3f50a575d2c5f6e62d6a1a813adde275530b19c4e7465e689f43fea290aab4c5762498e2437e67bade577ace4f12cd24ae41c99f811772c38ad307
|
||||||
|
DIST lxi-tools-2.3.tar.gz 1001920 BLAKE2B 5fa8d24403e98366436270fba543dd3086f34a194c3995ce0b628b7ec1605d1319b4468b371d08ea88db1fd653311108d03b43a49533060472e6b1495072442a SHA512 3bf885d0d9b96b525809cd3fb5fbedb1ffc2728f523a31cc1bb8c45657d9e4eec7d954e085f752b89a3016cc01f021c773ddbd1d876a4af8a7b72719275dc4c7
|
||||||
|
62
sci-electronics/lxi-tools/lxi-tools-2.3.ebuild
Normal file
62
sci-electronics/lxi-tools/lxi-tools-2.3.ebuild
Normal file
@ -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_9,3_10,3_11} )
|
||||||
|
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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user