Browse Source

Merge pull request #11876 from neheb/evsd

libevdev: update to 2.9.0
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
e36b946b0a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 19 deletions
  1. +11
    -5
      libs/libevdev/Makefile
  2. +0
    -14
      libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch

+ 11
- 5
libs/libevdev/Makefile View File

@ -5,21 +5,22 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libevdev PKG_NAME:=libevdev
PKG_VERSION:=1.6.0
PKG_VERSION:=1.9.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.freedesktop.org/software/libevdev/ PKG_SOURCE_URL:=https://www.freedesktop.org/software/libevdev/
PKG_HASH:=f5005c865987d980cc1279b9ec6131b06a89fd9892f649f2a68262b8786ef814
PKG_HASH:=e7e18a64264f2dea19b6c50a481f8c062529d42919ccda0bc861495bce28eb9e
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=meson/host
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../../devel/meson/meson.mk
define Package/libevdev define Package/libevdev
SECTION:=libs SECTION:=libs
@ -37,11 +38,16 @@ define Package/libevdev/description
evdev devices, thus making direct access unnecessary. evdev devices, thus making direct access unnecessary.
endef endef
MESON_ARGS += \
-Dtests=disabled \
-Ddocumentation=disabled \
-Dcoverity=false
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
endef endef


+ 0
- 14
libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch View File

@ -1,14 +0,0 @@
--- a/test/test-libevdev-init.c
+++ b/test/test-libevdev-init.c
@@ -32,6 +32,11 @@
#include <libevdev/libevdev-uinput.h>
#include "test-common.h"
+/* work-around CLOCK_MONOTONIC_RAW definition missing in uClibc */
+#ifndef CLOCK_MONOTONIC_RAW
+#define CLOCK_MONOTONIC_RAW 4
+#endif
+
START_TEST(test_new_device)
{
struct libevdev *dev;

Loading…
Cancel
Save