Skip to contentSkip to conversation

screenshot: Add screenshot application

PATCH New Franklin S. Cooper Jr 1 participant 2 messages Nov 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 screenshot: Add screenshot application

* Add screenshot application used to take a screenshot of the framebuffer and save it to a bmp file.

---
 .../recipes-graphics/screenshot/screenshot_1.0.bb  |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb
meta-arago-extras/recipes-graphics/screenshot/screenshot_1.0.bb new file +26 -0
new file mode 100644
index 0000000..b9439ac
@@ -0,0 +1,26 @@
+DESCRIPTION = "Screenshot"
+HOMEPAGE = "https://gitorious.org/screenshot"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5cad16cc3f514a15adb1d710b82d5fc4"
+SECTION = "graphics"
+
+PR = "r0"
+
+BRANCH ?= "master"
+SRCREV = "1f11a23be4386c2ee0387cd12c1a9569c703a3bb" 
+
+SRC_URI = "git://gitorious.org/screenshot/screenshot.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	export ARCH=${ARMPKGARCH}
+	# build the release version
+	make release
+}
+
+do_install() {
+	export ARCH=${ARMPKGARCH}
+	make DESTDIR=${D} install
+}
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 task-arago-tisdk-amsdk: Add screenshoot

* Add screenshot to the list of applications installed in the SDK

---
 .../recipes-core/tasks/task-arago-tisdk-amsdk.bb   |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-amsdk.bb +6 -1
index 1351030..d0a07a0 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Task to install additional packages only used in the Arago SDK"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r0"
+PR = "r1"
 
 inherit task
 
@@ -16,6 +16,11 @@ OOBE_ti33x += "\
     parse-ip \
 "
 
+EXTRA_APPLICATIONS = "\
+    screenshot \
+"
+
 RDEPENDS_${PN} = "\
     ${OOBE} \
+    ${EXTRA_APPLICATIONS} \
 "
Signature · 1 line
1.7.0.4