2015-06-10 18:12:44 +02:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libinput
|
2024-02-07 10:22:07 +01:00
|
|
|
PKG_VERSION:=1.25.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 18:32:27 +02:00
|
|
|
PKG_RELEASE:=1
|
2015-06-10 18:12:44 +02:00
|
|
|
|
2024-02-07 10:22:07 +01:00
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/libinput/libinput.git
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
2024-04-06 12:47:54 +02:00
|
|
|
PKG_MIRROR_HASH:=e2c4a46292a17d2e037ba4eb439c135e9834041993ac641e23c71fd5ddfceb72
|
2015-06-10 18:12:44 +02:00
|
|
|
|
2020-04-18 10:34:48 +02:00
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
2015-06-10 18:12:44 +02:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2024-01-25 22:25:23 +01:00
|
|
|
PKG_CPE_ID:=cpe:/a:freedesktop:libinput
|
2015-06-10 18:12:44 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-09-08 00:24:45 +02:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2016-03-09 09:30:41 +01:00
|
|
|
|
2015-06-10 18:12:44 +02:00
|
|
|
define Package/libinput
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=a library to handle input devices
|
2024-02-07 10:22:07 +01:00
|
|
|
URL:=https://freedesktop.org/wiki/Software/libinput/
|
2020-10-20 00:36:08 +02:00
|
|
|
DEPENDS:=+libevdev +mtdev +libudev
|
2015-06-10 18:12:44 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libinput/description
|
|
|
|
libinput is a library to handle input devices in Wayland compositors
|
|
|
|
and to provide a generic X.Org input driver. It provides device
|
|
|
|
detection, device handling, input device event processing and
|
|
|
|
abstraction so minimize the amount of custom input code compositors
|
|
|
|
need to provide the common set of functionality that users expect.
|
|
|
|
endef
|
|
|
|
|
2020-04-18 10:34:48 +02:00
|
|
|
MESON_ARGS += \
|
|
|
|
-Depoll-dir=no \
|
|
|
|
-Dlibwacom=false \
|
|
|
|
-Ddebug-gui=false \
|
|
|
|
-Dtests=false \
|
|
|
|
-Dzshcompletiondir=no
|
|
|
|
|
2015-06-10 18:12:44 +02:00
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2020-09-03 01:37:07 +02:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libinput.h $(1)/usr/include/
|
2015-06-10 18:12:44 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2020-09-03 01:37:07 +02:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libinput.so* $(1)/usr/lib/
|
2015-06-10 18:12:44 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
2020-09-03 01:37:07 +02:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libinput.pc $(1)/usr/lib/pkgconfig/
|
2015-06-10 18:12:44 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libinput/install
|
2016-01-14 01:11:17 +01:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2020-09-03 01:37:07 +02:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/{udev,libinput.so.*} $(1)/usr/lib
|
2021-08-21 19:37:34 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/libexec/libinput
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/libinput/* $(1)/usr/libexec/libinput
|
2016-01-14 01:11:17 +01:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2021-08-21 19:37:34 +02:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libinput $(1)/usr/bin
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/libinput
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/libinput/* $(1)/usr/share/libinput
|
2015-06-10 18:12:44 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libinput))
|