From 0aaeae26f69be2e3e0586dbb6d7243e229239f25 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci Date: Tue, 18 Oct 2022 17:16:24 +0200 Subject: [PATCH] package/cutekeyboard: new package CuteKeyboard is a Qt virtual keyboard plugin for embedded applications Signed-off-by: Angelo Compagnucci Acked-by: Andrea Ricchi [Arnout: - add DEVELOPERS entry; - fixed the title in the .mk file; - use select instead of depends on; - with the above, add depends on QT5 and QT5_JSCORE. ] Signed-off-by: Arnout Vandecappelle --- DEVELOPERS | 1 + package/Config.in | 1 + package/cutekeyboard/Config.in | 21 +++++++++++++++++++++ package/cutekeyboard/cutekeyboard.hash | 3 +++ package/cutekeyboard/cutekeyboard.mk | 18 ++++++++++++++++++ 5 files changed, 44 insertions(+) create mode 100644 package/cutekeyboard/Config.in create mode 100644 package/cutekeyboard/cutekeyboard.hash create mode 100644 package/cutekeyboard/cutekeyboard.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3fffc4346ce1..01e9777be616 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -183,6 +183,7 @@ F: package/apparmor/ F: package/corkscrew/ F: package/cups/ F: package/cups-filters/ +F: package/cutekeyboard/ F: package/fail2ban/ F: package/grep/ F: package/htpdate/ diff --git a/package/Config.in b/package/Config.in index 009f7ba186ba..4e489c470674 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1589,6 +1589,7 @@ menu "Graphics" source "package/cairomm/Config.in" source "package/cairomm1_14/Config.in" source "package/chipmunk/Config.in" + source "package/cutekeyboard/Config.in" source "package/exempi/Config.in" source "package/exiv2/Config.in" source "package/fltk/Config.in" diff --git a/package/cutekeyboard/Config.in b/package/cutekeyboard/Config.in new file mode 100644 index 000000000000..bd661b0cd42e --- /dev/null +++ b/package/cutekeyboard/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_CUTEKEYBOARD + bool "cutekeyboard" + depends on BR2_PACKAGE_QT5 + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + select BR2_PACKAGE_QT5QUICKCONTROLS2 + help + CuteKeyboard is a Qt virtual keyboard plugin for + embedded applications. + + https://amarula.github.io/cutekeyboard/ + +if BR2_PACKAGE_CUTEKEYBOARD + +config BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES + bool "cutekeyboard examples" + help + Compile also application example + +endif diff --git a/package/cutekeyboard/cutekeyboard.hash b/package/cutekeyboard/cutekeyboard.hash new file mode 100644 index 000000000000..3d3ec2f85884 --- /dev/null +++ b/package/cutekeyboard/cutekeyboard.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8cbaddc5fbf479d5e20fc88228e9af5928fa5e588052ee496c2f2efbe2afc510 cutekeyboard-afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7.tar.gz +sha256 bdde6ec2ae2686623c0bb414bfb8bd731b314beff2264c602116ea60dd65964d LICENSE diff --git a/package/cutekeyboard/cutekeyboard.mk b/package/cutekeyboard/cutekeyboard.mk new file mode 100644 index 000000000000..a7b3ba7a1d0f --- /dev/null +++ b/package/cutekeyboard/cutekeyboard.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# cutekeyboard +# +################################################################################ + +CUTEKEYBOARD_VERSION = afacc3210b75d7e0de27dcc4c0f2bed0212cc4c7 +CUTEKEYBOARD_SITE = $(call github,amarula,cutekeyboard,$(CUTEKEYBOARD_VERSION)) +CUTEKEYBOARD_DEPENDENCIES = qt5declarative qt5quickcontrols2 +CUTEKEYBOARD_INSTALL_STAGING = YES +CUTEKEYBOARD_LICENSE = MIT +CUTEKEYBOARD_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_CUTEKEYBOARD_EXAMPLES),y) +CUTEKEYBOARD_CONF_OPTS += CONFIG+=BUILD_EXAMPLES +endif + +$(eval $(qmake-package))