linamh/app-misc/g13gui/g13gui-0.1.0.ebuild

49 lines
989 B
Bash
Raw Permalink Normal View History

2024-07-09 12:26:02 +02:00
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson xdg-utils udev
DESCRIPTION="This is a stand-alone companion application and user space driver for configuring a Logitech G13 game board"
HOMEPAGE="https://github.com/jtgans/g13gui"
SRC_URI="https://github.com/jtgans/g13gui/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
IUSE=""
DEPEND="dev-python/pillow
dev-python/pygobject
dev-python/appdirs
dev-python/cffi
dev-python/dbus-python
dev-python/evdev
dev-python/psutil
dev-python/pyusb
"
RDEPEND="${DEPEND}"
RESTRICT=""
#src_configure() {
# local emesonargs=(
# $(meson_use test-suite install_tests)
# )
# meson_src_configure
#}
pkg_postinst() {
udev_reload
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
udev_reload
xdg_desktop_database_update
xdg_mimeinfo_database_update
}