summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-05-31 11:33:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-04 15:53:46 +0100
commit04234dfc2bc4c1bc4f3840fa9a162b25ba6ba049 (patch)
tree9437e19e96b902a667958bc1f91df7c9b63e77e1 /meta/recipes-graphics
parent18d88072f1392bbd98036f877c46c213af5b9722 (diff)
downloadopenembedded-core-04234dfc2bc4c1bc4f3840fa9a162b25ba6ba049.tar.gz
openembedded-core-04234dfc2bc4c1bc4f3840fa9a162b25ba6ba049.tar.bz2
openembedded-core-04234dfc2bc4c1bc4f3840fa9a162b25ba6ba049.zip
weston: install the examples into weston-examples
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/wayland/weston/install-examples.patch18
-rw-r--r--meta/recipes-graphics/wayland/weston_1.0.6.bb6
2 files changed, 23 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/weston/install-examples.patch b/meta/recipes-graphics/wayland/weston/install-examples.patch
new file mode 100644
index 0000000000..3e2852ccfb
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston/install-examples.patch
@@ -0,0 +1,18 @@
+Install the examples so we can package them.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton <ross.burton@intel.com>
+
+diff --git a/clients/Makefile.am b/clients/Makefile.am
+index 621c7c3..749ef20 100644
+--- a/clients/Makefile.am
++++ b/clients/Makefile.am
+@@ -2,7 +2,7 @@ bin_PROGRAMS = \
+ weston-info \
+ $(terminal)
+
+-noinst_PROGRAMS = \
++bin_PROGRAMS += \
+ $(clients_programs) \
+ $(poppler_programs) \
+ $(simple_clients_programs) \
diff --git a/meta/recipes-graphics/wayland/weston_1.0.6.bb b/meta/recipes-graphics/wayland/weston_1.0.6.bb
index cb41e05c46..dd17c03ad1 100644
--- a/meta/recipes-graphics/wayland/weston_1.0.6.bb
+++ b/meta/recipes-graphics/wayland/weston_1.0.6.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \
file://src/compositor.c;endline=23;md5=aa98a8db03480fe7d500d0b1f4b8850c"
SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+ file://install-examples.patch \
file://weston.png \
file://weston.desktop"
SRC_URI[md5sum] = "63202129d66d5514e572814da5dfa1f7"
@@ -49,7 +50,10 @@ do_install_append() {
done
}
-FILES_${PN} += "${datadir}/applications ${datadir}/icons"
+PACKAGES += "${PN}-examples"
+
+FILES_${PN} = "${bindir}/weston* ${bindir}/wcap-decode ${libexecdir} ${datadir}"
+FILES_${PN}-examples = "${bindir}/*"
RDEPENDS_${PN} += "xkeyboard-config"
RRECOMMENDS_${PN} = "liberation-fonts"