libevdev: update to 1.9.1 13306/head
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Sep 2020 23:08:11 +0000 (16:08 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 4 Sep 2020 23:28:32 +0000 (16:28 -0700)
Clean up Install section to be more explicit about what gets installed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libevdev/Makefile

index 6014d11d857f2904c2aac5f397a4e0b701cc3f60..bb340e0253afb8aff124a6f534707399d3080326 100644 (file)
@@ -5,12 +5,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libevdev
-PKG_VERSION:=1.9.0
-PKG_RELEASE:=2
+PKG_VERSION:=1.9.1
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.freedesktop.org/software/libevdev/
-PKG_HASH:=e7e18a64264f2dea19b6c50a481f8c062529d42919ccda0bc861495bce28eb9e
+PKG_HASH:=f5603c48c5afd76b14df7a5124e0a94a102f8da0d45826192325069d1bbc7acb
 
 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=MIT
@@ -44,17 +44,17 @@ MESON_ARGS += \
        -Dcoverity=false
 
 define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/include
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
+       $(INSTALL_DIR) $(1)/usr/include/libevdev-1.0/libevdev
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/libevdev-1.0/libevdev/*.h $(1)/usr/include/libevdev-1.0/libevdev
        $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevdev.so* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libevdev.pc $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libevdev/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevdev.so.* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,libevdev))