-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chromium: Add chrome-virtual-keyboard recipe
chrome-virtual-keyboard is an extension to chromium that has a javascript on-screen keyboard that allow users to use chromium without a physical keyboard. According to chrome webstore, there are over 700K users. limitations: * upstream hasn't maintained this extension for a long time * not all textbox will work, notably iframes leveraging the chromium flag: --extension-load="" to load a local unpacked extension. Signed-off-by: Yi Fan Yu <[email protected]>
- Loading branch information
Yi Fan Yu
committed
Sep 19, 2021
1 parent
ee752be
commit 48e97d5
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# class for defining extension dir for chromium | ||
CHROMIUM_EXTENSION_DIR = "${datadir}/chromium/extensions" |
27 changes: 27 additions & 0 deletions
27
meta-chromium/recipes-browser/chromium-extensions/chrome-virtual-keyboard_git.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
SUMMARY = "Chromium Virtual Keyboard" | ||
DESCRIPTION = "Virtual Keyboard Extension for Chromium/Chrome" | ||
HOMEPAGE = "https://apps.xontab.com/VirtualKeyboard" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a8366463bacd4f2ec5edd419e8a113ff" | ||
|
||
SRC_URI = " \ | ||
git://github.com/xontab/${BPN}.git \ | ||
" | ||
SRCREV = "e2b9adf4885cc4ed600cd9bccb77e0df8ff549aa" | ||
S = "${WORKDIR}/git" | ||
PV = "1.11.3+git${SRCPV}" | ||
|
||
inherit allarch chromium-extension-package | ||
|
||
do_compile[noexec] = "1" | ||
|
||
do_install() { | ||
install -d ${D}${CHROMIUM_EXTENSION_DIR}/ | ||
cp -r ${S} ${D}${CHROMIUM_EXTENSION_DIR}/${BPN} | ||
|
||
# remove unecessary artifacts | ||
rm -f ${D}${CHROMIUM_EXTENSION_DIR}/${BPN}/_config.yml | ||
rm -rf ${D}${CHROMIUM_EXTENSION_DIR}/${BPN}/.git/ | ||
} | ||
|
||
FILES_${PN} += "${CHROMIUM_EXTENSION_DIR}/${BPN}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters