meta-tizen: Add file weston.target to weston
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 22 May 2014 16:15:34 +0000 (18:15 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:20:05 +0000 (09:20 -0800)
Change-Id: I5c34284f3832ec79027395806df7dbc9626ae7c9
(From meta-tizen rev: fa8316eb0caee94523da1648de8e776ee76ccdf4)

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/recipes-graphics/wayland/weston/weston.target [new file with mode: 0644]
meta-tizen/recipes-graphics/wayland/weston_1.4.0.bbappend

diff --git a/meta-tizen/recipes-graphics/wayland/weston/weston.target b/meta-tizen/recipes-graphics/wayland/weston/weston.target
new file mode 100644 (file)
index 0000000..2717047
--- /dev/null
@@ -0,0 +1,5 @@
+
+[Unit]
+Description=Weston Compositor
+Requires=dbus.socket
+AllowIsolate=true
index e495b9a..a8667cb 100644 (file)
@@ -1,6 +1,7 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/weston"
 
-SRC_URI += "file://0001-Update-to-1.4.0.patch \
+SRC_URI += "file://weston.target \
+            file://0001-Update-to-1.4.0.patch \
             file://0002-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch \
             file://0003-compositor-implement-xdg_surface_set_minimized.patch \
             file://0004-compositor-use-Mod-Tab-to-show-raise-minimized-surfa.patch \
@@ -12,4 +13,12 @@ SRC_URI += "file://0001-Update-to-1.4.0.patch \
             file://0010-packaging-fix-obs-build.patch \
             file://0011-shell-make-panel-optional-panel-false-in-weston.ini.patch \
             file://0012-shell-1.4.0-Hack-to-allow-selecting-a-default-output.patch \
-            file://0013-allow-to-start-weston-with-system-user.patch"
+            file://0013-allow-to-start-weston-with-system-user.patch \
+            "
+
+do_install_append() {
+    install -d ${D}/usr/lib/systemd/user
+    install -m 644 ${WORKDIR}/weston.target ${D}/usr/lib/systemd/user/weston.target
+}
+
+FILES_${PN} += " ${prefix}/lib/systemd/user/weston.target"
\ No newline at end of file