summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/sato-screenshot
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/sato-screenshot')
-rw-r--r--meta/recipes-sato/sato-screenshot/files/fix_ldadd_order.patch15
-rw-r--r--meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb23
2 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-sato/sato-screenshot/files/fix_ldadd_order.patch b/meta/recipes-sato/sato-screenshot/files/fix_ldadd_order.patch
new file mode 100644
index 0000000..7d9689e
--- /dev/null
+++ b/meta/recipes-sato/sato-screenshot/files/fix_ldadd_order.patch
@@ -0,0 +1,15 @@
1Fix the ordering of LDADD options to fix a compilation failure.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4
5Upstream-Status: Inappropriate [configuration]
6
7diff -urN screenshot.orig//Makefile.am screenshot/Makefile.am
8--- screenshot.orig//Makefile.am 2010-06-29 11:55:00.000000000 -0700
9+++ screenshot/Makefile.am 2011-03-01 11:09:01.215813968 -0800
10@@ -23,4 +23,4 @@
11 # A standalone tool for running from a terminal and scripts
12 bin_PROGRAMS = screenshot
13 screenshot_SOURCES = main.c
14-screenshot_LDADD = $(GTK_LIBS) libshot.la
15+screenshot_LDADD = libshot.la $(GTK_LIBS)
diff --git a/meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb b/meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb
new file mode 100644
index 0000000..5e51d3d
--- /dev/null
+++ b/meta/recipes-sato/sato-screenshot/sato-screenshot_git.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "An ultra-simple screen capture utility, aimed at handheld devices"
2HOMEPAGE = "http://www.o-hand.com"
3BUGTRACKER = "http://bugzilla.openedhand.com/"
4
5LICENSE = "GPLv2 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://main.c;endline=9;md5=023e14d6404d0a961eb97cbd011fc141 \
8 file://screenshot-ui.h;endline=9;md5=638d9ffa83e9325a36df224166ed6ad0"
9
10DEPENDS = "matchbox-panel-2"
11SRCREV = "c792e4edc758bab21e0b01814979eacf0b1af945"
12PV = "0.1+git${SRCPV}"
13PR = "r0"
14
15SRC_URI = "git://git.yoctoproject.org/screenshot;protocol=git \
16 file://fix_ldadd_order.patch"
17
18S = "${WORKDIR}/git"
19
20inherit autotools pkgconfig
21
22FILES_${PN} += "${libdir}/matchbox-panel/*.so"
23FILES_${PN}-dbg += "${libdir}/matchbox-panel/.debug"