1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 22:32:37 +01:00

dev-libs/libratbag: Bump to 0.10

This commit is contained in:
2019-08-11 18:06:20 +02:00
parent 95c8f2d9fa
commit 90840dbdc1
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
inherit meson udev python-r1
DESCRIPTION="Library to configure gaming mice"
HOMEPAGE="https://github.com/libratbag/libratbag"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc systemd test"
DEPEND="
virtual/pkgconfig
dev-lang/swig
doc? ( app-doc/doxygen )
!systemd? ( sys-auth/elogind )
test? ( dev-util/valgrind )
"
RDEPEND="
dev-libs/libevdev
virtual/libudev
"
src_prepare() {
python_setup
default
}
src_configure() {
local emesonargs=(
-Ddocumentation=$(usex doc true false)
-Dtests=$(usex test true false)
-Dudev-dir=$(get_udevdir)
)
meson_src_configure
}