libmanette: update to 0.2.5

This commit is contained in:
q66 2021-04-03 21:38:02 +02:00
parent 0181e9c4a2
commit 1ff0b79b15
2 changed files with 2 additions and 15 deletions

View File

@ -1,13 +0,0 @@
--- src/manette-device.c 2019-03-11 10:04:16.000000000 +0100
+++ src/manette-device.c 2020-12-11 16:39:51.368792737 +0100
@@ -415,8 +415,8 @@
ManetteEvent manette_event;
manette_event.any.device = self;
- manette_event.any.time = evdev_event->time.tv_sec * 1000 +
- evdev_event->time.tv_usec / 1000;
+ manette_event.any.time = evdev_event->input_event_sec * 1000 +
+ evdev_event->input_event_usec / 1000;
manette_event.any.hardware_type = evdev_event->type;
manette_event.any.hardware_code = evdev_event->code;
manette_event.any.hardware_value = evdev_event->value;

View File

@ -1,6 +1,6 @@
# Template file for 'libmanette'
pkgname=libmanette
version=0.2.2
version=0.2.5
revision=1
build_helper="gir"
build_style=meson
@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/aplazas/libmanette"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8b1b9fbaf84f1e383141a5715a2494f507e62313721ad993c39a868fc5ccf7d2
checksum=8006e08480c0cbd4f749ec155827d100447cf23903fad8240a7c4c321aa09a2b
libmanette-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"