Makefile 1.2 KB

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= xf86-input-libinput
  5. PKG_VERSION:= 1.5.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 2524c35f196554ea11aef3bba1cf324759454e1d49f98ac026ace2f6003580e6
  8. PKG_DESCR:= x11 driver for libinput
  9. PKG_SECTION:= x11/drivers
  10. PKG_DEPENDS:= xorg-server libudev libevdev mtdev libinput
  11. PKG_BUILDDEP:= xorg-server eudev libevdev mtdev libinput
  12. PKG_SITES:= https://www.x.org/releases/individual/driver/
  13. PKG_CFLINE_XF86_INPUT_LIBINPUT:= depends on ADK_TARGET_WITH_INPUT || ADK_TARGET_QEMU
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,XF86_INPUT_LIBINPUT,xf86-input-libinput,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. xf86-input-libinput-install:
  17. ${INSTALL_DIR} ${IDIR_XF86_INPUT_LIBINPUT}/usr/lib/xorg/modules/input
  18. ${CP} ${WRKINST}/usr/lib/xorg/modules/input/*.so \
  19. ${IDIR_XF86_INPUT_LIBINPUT}/usr/lib/xorg/modules/input/
  20. ${INSTALL_DIR} ${IDIR_XF86_INPUT_LIBINPUT}/usr/share/X11/xorg.conf.d
  21. ${CP} ${WRKINST}/usr/share/X11/xorg.conf.d/40-libinput.conf \
  22. ${IDIR_XF86_INPUT_LIBINPUT}/usr/share/X11/xorg.conf.d
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk