-
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 How to use: Enable through chromium PACKAGECONFIG vkeyboard-extension. 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
Apr 22, 2021
1 parent
1bff166
commit 7524659
Showing
3 changed files
with
45 additions
and
3 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,5 @@ | ||
# class for defining extension dir for chromium | ||
|
||
CHROMIUM_EXTENSION_DIR = "${datadir}/chromium-extension" | ||
|
||
VIRTUAL_KEYBOARD_DIR = "${CHROMIUM_EXTENSION_DIR}/chrome-virtual-keyboard" |
28 changes: 28 additions & 0 deletions
28
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,28 @@ | ||
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() { | ||
: | ||
} | ||
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