package/unclutter-xfixes: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - Fix incorrect "select"
 - Simplify the build command, to allow the package Makefile to use
   pkg-config, so added host-pkgconf
 - Use a full destination path for the installation step
 - Use the Github macro]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Joseph Kogut 2020-06-23 14:41:54 -07:00 committed by Thomas Petazzoni
parent 826587fa48
commit 97424d147f
5 changed files with 40 additions and 0 deletions

View File

@ -1377,6 +1377,7 @@ F: package/python-schedule/
F: package/python-sentry-sdk/
F: package/python-websockets/
F: package/python-xlib/
F: package/unclutter-xfixes/
N: Joshua Henderson <joshua.henderson@microchip.com>
F: package/qt5/qt5wayland/

View File

@ -1464,6 +1464,7 @@ menu "Graphics"
source "package/poppler/Config.in"
source "package/powervr/Config.in"
source "package/tiff/Config.in"
source "package/unclutter-xfixes/Config.in"
source "package/waffle/Config.in"
source "package/wayland/Config.in"
source "package/wayland-protocols/Config.in"

View File

@ -0,0 +1,13 @@
config BR2_PACKAGE_UNCLUTTER_XFIXES
bool "unclutter-xfixes"
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBEV
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXFIXES
select BR2_PACKAGE_XLIB_LIBXI
help
Remove idle cursor image from screen.
A rewrite of unclutter using the x11-xfixes extension.
https://github.com/Airblader/unclutter-xfixes

View File

@ -0,0 +1,3 @@
# locally calculated
sha256 35c75ad24be989dd6708db1d9ce9b2a2f814b80638c0633cdb075c6df090ed11 unclutter-xfixes-1.5.tar.gz
sha256 33e94693849b57fdb34987c95fd0076b4aa4b70fcd9a3152313d00b86a3f7bf7 LICENSE

View File

@ -0,0 +1,22 @@
################################################################################
#
# unclutter-xfixes
#
################################################################################
UNCLUTTER_XFIXES_VERSION = 1.5
UNCLUTTER_XFIXES_SITE = $(call github,Airblader,unclutter-xfixes,v$(UNCLUTTER_XFIXES_VERSION))
UNCLUTTER_XFIXES_LICENSE = MIT
UNCLUTTER_XFIXES_LICENSE_FILES = LICENSE
UNCLUTTER_XFIXES_DEPENDENCIES = libev xlib_libX11 xlib_libXfixes xlib_libXi host-pkgconf
define UNCLUTTER_XFIXES_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(@D) unclutter CC="$(TARGET_CC)"
endef
define UNCLUTTER_XFIXES_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/unclutter $(TARGET_DIR)/usr/bin/unclutter
endef
$(eval $(generic-package))