2015-06-10 16:12:20 +00:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libevdev
|
2022-09-07 18:33:14 +00:00
|
|
|
PKG_VERSION:=1.13.0
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 16:32:27 +00:00
|
|
|
PKG_RELEASE:=1
|
2015-06-10 16:12:20 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2018-07-30 23:32:19 +00:00
|
|
|
PKG_SOURCE_URL:=https://www.freedesktop.org/software/libevdev/
|
2022-09-07 18:33:14 +00:00
|
|
|
PKG_HASH:=9edf2006cc86a5055279647c38ec923d11a821ee4dc2c3033e8d20e8ee237cd9
|
2015-06-10 16:12:20 +00:00
|
|
|
|
2020-04-18 06:41:51 +00:00
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
2015-06-10 16:12:20 +00:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-09-07 22:24:45 +00:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2015-06-10 16:12:20 +00:00
|
|
|
|
|
|
|
define Package/libevdev
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=a wrapper library for evdev devices
|
2018-07-30 23:32:19 +00:00
|
|
|
URL:=https://www.freedesktop.org/wiki/Software/libevdev/
|
2015-06-10 16:12:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libevdev/description
|
|
|
|
libevdev is a wrapper library for evdev devices. it moves the common
|
|
|
|
tasks when dealing with evdev devices into a library and provides a
|
|
|
|
library interface to the callers, thus avoiding erroneous ioctls, etc.
|
|
|
|
|
|
|
|
The eventual goal is that libevdev wraps all ioctls available to
|
|
|
|
evdev devices, thus making direct access unnecessary.
|
|
|
|
endef
|
|
|
|
|
2020-04-18 06:41:51 +00:00
|
|
|
MESON_ARGS += \
|
|
|
|
-Dtests=disabled \
|
|
|
|
-Ddocumentation=disabled \
|
|
|
|
-Dcoverity=false
|
|
|
|
|
2015-06-10 16:12:20 +00:00
|
|
|
define Build/InstallDev
|
2020-09-02 23:08:11 +00:00
|
|
|
$(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
|
2015-06-10 16:12:20 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2020-09-02 23:08:11 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libevdev.so* $(1)/usr/lib/
|
2015-06-10 16:12:20 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
2020-09-02 23:08:11 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libevdev.pc $(1)/usr/lib/pkgconfig/
|
2015-06-10 16:12:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libevdev/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2020-09-02 23:08:11 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libevdev.so.* $(1)/usr/lib/
|
2015-06-10 16:12:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libevdev))
|