diff options
| author | Joshua Watt <jpewhacker@gmail.com> | 2020-02-18 18:44:43 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-19 21:28:06 +0000 |
| commit | 955996645e38133163cad29fccf57ee86503498c (patch) | |
| tree | 1c8767a72ee4d0dc23258f17f1881fd28fd09d91 /meta | |
| parent | 5a6e3b7fc474166ed2b39938f3246f5ab1e0e6ce (diff) | |
| download | poky-955996645e38133163cad29fccf57ee86503498c.tar.gz | |
jquery: Add recipe
Adds a recipe that packages jQuery in a manner borrowed from debian. The
primary purpose is to make the diffoscope output from the autobuilder
easier to navigate.
(From OE-Core rev: 9fdfff92e5f6b56657802c06c698ef37a95fd449)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/jquery/jquery_3.4.1.bb | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 4a267faabc..901d607f2e 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
| @@ -284,6 +284,7 @@ RECIPE_MAINTAINER_pn-iw = "Changhyeok Bae <changhyeok.bae@gmail.com>" | |||
| 284 | RECIPE_MAINTAINER_pn-libjpeg-turbo = "Anuj Mittal <anuj.mittal@intel.com>" | 284 | RECIPE_MAINTAINER_pn-libjpeg-turbo = "Anuj Mittal <anuj.mittal@intel.com>" |
| 285 | RECIPE_MAINTAINER_pn-json-c = "Yi Zhao <yi.zhao@windriver.com>" | 285 | RECIPE_MAINTAINER_pn-json-c = "Yi Zhao <yi.zhao@windriver.com>" |
| 286 | RECIPE_MAINTAINER_pn-json-glib = "Yi Zhao <yi.zhao@windriver.com>" | 286 | RECIPE_MAINTAINER_pn-json-glib = "Yi Zhao <yi.zhao@windriver.com>" |
| 287 | RECIPE_MAINTAINER_pn-jquery = "Joshua Watt <JPEWhacker@gmail.com>" | ||
| 287 | RECIPE_MAINTAINER_pn-kbd = "Alexander Kanavin <alex.kanavin@gmail.com>" | 288 | RECIPE_MAINTAINER_pn-kbd = "Alexander Kanavin <alex.kanavin@gmail.com>" |
| 288 | RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield <bruce.ashfield@gmail.com>" | 289 | RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield <bruce.ashfield@gmail.com>" |
| 289 | RECIPE_MAINTAINER_pn-kernel-devsrc = "Bruce Ashfield <bruce.ashfield@gmail.com>" | 290 | RECIPE_MAINTAINER_pn-kernel-devsrc = "Bruce Ashfield <bruce.ashfield@gmail.com>" |
diff --git a/meta/recipes-devtools/jquery/jquery_3.4.1.bb b/meta/recipes-devtools/jquery/jquery_3.4.1.bb new file mode 100644 index 0000000000..e1080aec1d --- /dev/null +++ b/meta/recipes-devtools/jquery/jquery_3.4.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "jQuery is a fast, small, and feature-rich JavaScript library" | ||
| 2 | HOMEPAGE = "https://jquery.com/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | SECTION = "devel" | ||
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}.js;startline=8;endline=10;md5=cdb86f5bda90caec023592d2e768357c" | ||
| 6 | |||
| 7 | SRC_URI = "\ | ||
| 8 | https://code.jquery.com/${BP}.js;name=js \ | ||
| 9 | https://code.jquery.com/${BP}.min.js;name=min \ | ||
| 10 | https://code.jquery.com/${BP}.min.map;name=map \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRC_URI[js.sha256sum] = "5a93a88493aa32aab228bf4571c01207d3b42b0002409a454d404b4d8395bd55" | ||
| 14 | SRC_URI[min.sha256sum] = "0925e8ad7bd971391a8b1e98be8e87a6971919eb5b60c196485941c3c1df089a" | ||
| 15 | SRC_URI[map.sha256sum] = "8da74aec0fcdd7678a2663b3cc9bafbaf009e6d6929b28bb3dd95bced18206f6" | ||
| 16 | |||
| 17 | inherit allarch | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -d ${D}${datadir}/javascript/${BPN}/ | ||
| 21 | install -m 644 ${WORKDIR}/${BP}.js ${D}${datadir}/javascript/${BPN}/${BPN}.js | ||
| 22 | install -m 644 ${WORKDIR}/${BP}.min.js ${D}${datadir}/javascript/${BPN}/${BPN}.min.js | ||
| 23 | install -m 644 ${WORKDIR}/${BP}.min.map ${D}${datadir}/javascript/${BPN}/${BPN}.min.map | ||
| 24 | } | ||
| 25 | |||
| 26 | PACKAGES = "${PN}" | ||
| 27 | FILES_${PN} = "${datadir}" | ||
| 28 | |||
| 29 | BBCLASSEXTEND += "native nativesdk" | ||
