64 lines
1.8 KiB
Bash
64 lines
1.8 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_13 )
|
|
inherit meson python-single-r1 git-r3
|
|
|
|
DESCRIPTION="GUI client to control a Meshtastic device over Serial, Bluetooth, or TCP/IP"
|
|
HOMEPAGE="https://gitlab.com/kop316/gtk-meshtastic-client/"
|
|
EGIT_REPO_URI="https://gitlab.com/kop316/gtk-meshtastic-client.git"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86 arm64"
|
|
IUSE=""
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
DEPEND="
|
|
${PYTHON_DEPS}
|
|
dev-libs/gobject-introspection
|
|
gui-libs/libadwaita[introspection]
|
|
>=gui-libs/gtk-4.10:4[introspection]
|
|
x11-libs/pango[introspection]
|
|
media-libs/libshumate[introspection]
|
|
$(python_gen_cond_dep '
|
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
|
media-radio/meshtastic[${PYTHON_USEDEP}]
|
|
dev-python/dotmap[${PYTHON_USEDEP}]
|
|
dev-python/pyqrcode[${PYTHON_USEDEP}]
|
|
')
|
|
dev-util/desktop-file-utils
|
|
"
|
|
RDEPEND="
|
|
${PYTHON_DEPS}
|
|
dev-libs/glib:2
|
|
x11-libs/gdk-pixbuf:2
|
|
dev-libs/gobject-introspection
|
|
gui-libs/libadwaita[introspection]
|
|
>=gui-libs/gtk-4.10:4[introspection]
|
|
>=x11-libs/pango-1.44.0[introspection]
|
|
media-libs/libshumate[introspection]
|
|
$(python_gen_cond_dep '
|
|
>=dev-python/pygobject-3.36[${PYTHON_USEDEP},cairo]
|
|
media-radio/meshtastic[${PYTHON_USEDEP}]
|
|
dev-python/dotmap[${PYTHON_USEDEP}]
|
|
')
|
|
"
|
|
BDEPEND="
|
|
${PYTHON_DEPS}
|
|
$(python_gen_cond_dep '
|
|
dev-python/meson-python[${PYTHON_USEDEP}]
|
|
')
|
|
dev-util/desktop-file-utils
|
|
"
|
|
|
|
src_configure() {
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
python_optimiz
|