From: Kévin THIERRY Date: Thu, 22 May 2014 16:15:34 +0000 (+0200) Subject: meta-tizen: Add file weston.target to weston X-Git-Tag: rev_ivi_2015_02_04~633 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=779a02cd0a07e99d50c3c791495687408eff4694;p=scm%2Fbb%2Ftizen-distro.git meta-tizen: Add file weston.target to weston Change-Id: I5c34284f3832ec79027395806df7dbc9626ae7c9 (From meta-tizen rev: fa8316eb0caee94523da1648de8e776ee76ccdf4) Signed-off-by: Kévin THIERRY Signed-off-by: Patrick Ohly --- diff --git a/meta-tizen/recipes-graphics/wayland/weston/weston.target b/meta-tizen/recipes-graphics/wayland/weston/weston.target new file mode 100644 index 0000000..2717047 --- /dev/null +++ b/meta-tizen/recipes-graphics/wayland/weston/weston.target @@ -0,0 +1,5 @@ + +[Unit] +Description=Weston Compositor +Requires=dbus.socket +AllowIsolate=true diff --git a/meta-tizen/recipes-graphics/wayland/weston_1.4.0.bbappend b/meta-tizen/recipes-graphics/wayland/weston_1.4.0.bbappend index e495b9a..a8667cb 100644 --- a/meta-tizen/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/meta-tizen/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -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