[WIP] Add qmltermwidget packages (not installed as of yet)

- Need to figure out the best way to patch the install method.
  it is not behaving well in the buildroot x-compile system
This commit is contained in:
j1nx 2022-06-08 08:11:31 +02:00
parent 621d387ef6
commit e3a2fcd6d1
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_QMLTERMWIDGET
bool "qmltermwidget"
help
QML port of qtermwidget
https://github.com/Swordfish90/qmltermwidget

View File

@ -0,0 +1,2 @@
# Locally computed
sha256 672eea03da5c2617c88ece349bd8d253d790be2e3d5429c0e5e2d682529518dd qmltermwidget-63228027e1f97c24abb907550b22ee91836929c5.tar.gz

View File

@ -0,0 +1,28 @@
################################################################################
#
# qmltermwidget
#
################################################################################
QMLTERMWIDGET_VERSION = 63228027e1f97c24abb907550b22ee91836929c5
QMLTERMWIDGET_SITE = $(call github,Swordfish90,qmltermwidget,$(QMLTERMWIDGET_VERSION))
QMLTERMWIDGET_LICENSE = GPL-2.0
QMLTERMWIDGET_LICENSE_FILES = LICENSE
#QMLTERMWIDGET_INSTALL_STAGING = YES
QMLTERMWIDGET_POST_CONFIGURE_HOOKS = QMLTERMWIDGET_QML_SETUP
define QMLTERMWIDGET_QML_SETUP
cp -r $(@D)/src/qmldir \
$(@D)/lib/kb-layouts \
$(@D)/lib/color-schemes \
$(@D)/src/QMLTermScrollbar.qml \
$(TARGET_DIR)/usr/qml/QMLTermWidget
endef
define QMLTERMWIDGET_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install INSTALL_ROOT=$(TARGET_DIR)
rm -Rf $(TARGET_DIR)/usr/mkspecs
endef
$(eval $(qmake-package))