From e2ac8c324cdbae0fe56e13e7dc49886e5b6ae9f2 Mon Sep 17 00:00:00 2001 From: wchang kim Date: Wed, 23 Dec 2015 19:12:49 +0900 Subject: [PATCH] meta-tizen: Description:Adding the v4l2grab utility and wpa_cli package. The recipe of v42lgrab is from 'https://github.com/alext-mkrs/meta-alext-edison/tree/master/recipes-addfeatures'. This utility is used to take a picture via usb camera supported v4l2. wpa_cli is added to tizen micro image. nodejs-npm, openssh-sftp-server and userland are removed from tizen micro image. Change-Id: Ibe109b4f57809abdd637240916295f604f077498 (From meta-tizen rev:6618e9345341c3f70dbb7f2121b6dddc34d6ac51) Signed-off-by: wchang kim --- .../raspberrypi2/rpi-hwup-image-tizen-micro.bb | 11 +++++------ .../recipes-multimedia/v4l2grab/README.md | 1 + .../recipes-multimedia/v4l2grab/v4l2grab_git.bb | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100755 meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/README.md create mode 100755 meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/v4l2grab_git.bb diff --git a/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb b/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb index 6f130aa..004ec78 100755 --- a/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb +++ b/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb @@ -1,13 +1,12 @@ # Base this image on rpi-hwup-image -include recipes-core/images/rpi-hwup-image.bb +include recipes-core/images/rpi-hwup-image.bb CORE_IMAGE_EXTRA_INSTALL += "nodejs" -CORE_IMAGE_EXTRA_INSTALL += "nodejs-npm" CORE_IMAGE_EXTRA_INSTALL += "nginx" -CORE_IMAGE_EXTRA_INSTALL += "wpa-supplicant" -CORE_IMAGE_EXTRA_INSTALL += "openssh openssh-sftp-server" -CORE_IMAGE_EXTRA_INSTALL += "systemd-serialgetty util-linux-agetty procps" -CORE_IMAGE_EXTRA_INSTALL += "userland" +CORE_IMAGE_EXTRA_INSTALL += "wpa-supplicant wpa-supplicant-cli" +CORE_IMAGE_EXTRA_INSTALL += "openssh" +CORE_IMAGE_EXTRA_INSTALL += "systemd-serialgetty util-linux-agetty procps" +CORE_IMAGE_EXTRA_INSTALL += "v4l2grab" # Set root password to "root" ROOTFS_POSTPROCESS_COMMAND += "set_root_passwd;" diff --git a/meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/README.md b/meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/README.md new file mode 100755 index 0000000..9b97f0b --- /dev/null +++ b/meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/README.md @@ -0,0 +1 @@ +This recipe builds a package for v4l2grab utility diff --git a/meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/v4l2grab_git.bb b/meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/v4l2grab_git.bb new file mode 100755 index 0000000..5470527 --- /dev/null +++ b/meta-tizen/meta-tizen-micro/recipes-multimedia/v4l2grab/v4l2grab_git.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Small command line utility for grabbing JPEGs form V4L2 devices (e.g. USB webcams)" +HOMEPAGE = "http://www.twam.info/linux/v4l2grab-grabbing-jpegs-from-v4l2-devices" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1a689deca649cde4b83b2327802f9d68" + +# As long as master branch is now beyond the latest tag, let's just use the date +PV = "20141109" +PR = "r0" + +DEPENDS = "jpeg v4l-utils" + +SRC_URI = "git://github.com/twam/v4l2grab.git;protocol=https;branch=master" +# This is the latest commit as of 09 Nov 2014 +SRCREV = "bb4358911b9581dcf8937962c1355a1c225a2bd7" + +S = "${WORKDIR}/git" + +inherit autotools gettext + +PACKAGES = "${PN} ${PN}-dbg" -- 2.7.4