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>
68 lines
2.1 KiB
Makefile
68 lines
2.1 KiB
Makefile
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=libinput
|
|
PKG_VERSION:=1.19.4
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=http://www.freedesktop.org/software/libinput
|
|
PKG_HASH:=ff33a570b5a936c81e6c08389a8581c2665311d026ce3d225c88d09c49f9b440
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/libinput
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=a library to handle input devices
|
|
URL:=http://freedesktop.org/wiki/Software/libinput/
|
|
DEPENDS:=+libevdev +mtdev +libudev
|
|
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
|
|
|
|
MESON_ARGS += \
|
|
-Depoll-dir=no \
|
|
-Dlibwacom=false \
|
|
-Ddebug-gui=false \
|
|
-Dtests=false \
|
|
-Dinstall-tests=false \
|
|
-Ddocumentation=false \
|
|
-Dcoverity=false \
|
|
-Dzshcompletiondir=no
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libinput.h $(1)/usr/include/
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libinput.so* $(1)/usr/lib/
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libinput.pc $(1)/usr/lib/pkgconfig/
|
|
endef
|
|
|
|
define Package/libinput/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/{udev,libinput.so.*} $(1)/usr/lib
|
|
$(INSTALL_DIR) $(1)/usr/libexec/libinput
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/libinput/* $(1)/usr/libexec/libinput
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(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
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libinput))
|