mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 13:52:40 +01:00
40 lines
727 B
Bash
40 lines
727 B
Bash
# Copyright 2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
PYTHON_COMPAT=( python{3_6,3_7} )
|
|
|
|
inherit meson python-r1
|
|
|
|
DESCRIPTION="GTK application to configure gaming mice"
|
|
HOMEPAGE="https://github.com/libratbag/piper"
|
|
SRC_URI="https://github.com/libratbag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
virtual/pkgconfig
|
|
dev-python/pygobject:3
|
|
>=x11-libs/gtk+-3.22:3[introspection]
|
|
"
|
|
RDEPEND="
|
|
>=dev-libs/libratbag-0.10
|
|
dev-python/python-evdev[${PYTHON_USEDEP}]
|
|
"
|
|
src_prepare() {
|
|
python_setup
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
python_optimize "${D}"
|
|
}
|