waltham-transmitter: modify receipe file 23/17223/1
authorWataru Mizuno <wmizuno@jp.adit-jv.com>
Mon, 15 Oct 2018 10:03:20 +0000 (19:03 +0900)
committerWataru Mizuno <wmizuno@jp.adit-jv.com>
Mon, 15 Oct 2018 10:09:40 +0000 (19:09 +0900)
Change-Id: Ieb4c55a64350e7825231e789b1daf296d90fcc08
Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com>
meta-agl-profile-graphical/recipes-graphics/wayland/waltham-renderer_git.bb [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/waltham-transmitter_git.bb
meta-agl-profile-graphical/recipes-graphics/wayland/waltham_git.bb

diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/waltham-renderer_git.bb b/meta-agl-profile-graphical/recipes-graphics/wayland/waltham-renderer_git.bb
new file mode 100644 (file)
index 0000000..579ae92
--- /dev/null
@@ -0,0 +1,33 @@
+DESCRIPTION = "Waltham is a network IPC library designed to resemble Wayland both protocol and protocol-API wise"
+HOMEPAGE = "https://github.com/waltham/waltham"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://waltham-transmitter/COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70"
+
+SRC_URI[md5sum] = "f1e84f6901f355113fb9328433faef15"
+SRC_URI[sha256sum] = "ba68233c4cf16cebbfa31399ee9dfcf183de36f5183677cfb26fa7e360634b33"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/weston-ivi-plugins.git;protocol=https;branch=${AGL_BRANCH};subpath=waltham-transmitter/waltham-renderer"
+SRCREV = "<insert sha1>"
+
+inherit autotools pkgconfig
+inherit cmake
+
+DEPENDS += "libdrm virtual/kernel wayland waltham weston gstreamer1.0 gstreamer"
+
+WALTHAM_PIPELINE ?= "pipeline_example_general.cfg"
+WALTHAM_RECIEVER_IP ?= "192.168.1.2" 
+WALTHAM_RECEIVER_PORT ?= "3440"
+
+do_install_append () {
+   install -d ${D}/etc/xdg/weston/
+   install ${S}/${WALTHAM_PIPELINE} ${D}/etc/xdg/weston/pipeline.cfg
+   sed -i -e "s#YOUR_RECIEVER_IP#${WALTHAM_RECEIVER_IP}#g" ${D}/etc/xdg/weston/pipeline.cfg 
+   sed -i -e "s#YOUR_RECIEVER_PORT#${WALTHAM_RECEIVER_PORT}#g" ${D}/etc/xdg/weston/pipeline.cfg 
+
+}
+
+FILES_${PN} += "/etc/xdg/weston/*.cfg"S = "${WORKDIR}/git"
+
+FILES_${PN}-dbg += "${libdir}/weston/.dbg/*"
+FILES_${PN}-dbg += "{libdir}/libweston-2/.dbg/*"
\ No newline at end of file
index f5a72dd..1727e40 100644 (file)
@@ -2,11 +2,10 @@ DESCRIPTION = "Waltham is a network IPC library designed to resemble Wayland bot
 HOMEPAGE = "https://github.com/waltham/waltham"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://waltham-transmitter/COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70"
+LIC_FILES_CHKSUM = "file://waltham-transmitter/COPYING;md5=f21c9af4de068fb53b83f0b37d262ec3"
 
-SRCREV = "${AUTOREV}"
-SRC_URI = "ssh://wmizuno@gerrit.automotivelinux.org:29418/src/weston-ivi-plugins.git \
-          "
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/src/weston-ivi-plugins.git;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "d38b138897558aa5ddd3baf654c4511d3c135428"
 
 S = "${WORKDIR}/git"
 
@@ -18,6 +17,21 @@ inherit cmake
 
 DEPENDS += "libdrm virtual/kernel wayland waltham weston gstreamer1.0 gstreamer"
 
+WALTHAM_PIPELINE ?= "waltham-transmitter/waltham-renderer/pipeline_example_general.cfg"
+WALTHAM_RECIEVER_IP ?= "192.168.1.2" 
+WALTHAM_RECEIVER_PORT ?= "3440"
+
+do_install_append () {
+   install -d ${D}/etc/xdg/weston/
+   install ${S}/${WALTHAM_PIPELINE} ${D}/etc/xdg/weston/pipeline.cfg
+
+   sed -i -e "s/YOUR_RECIEVER_IP/${WALTHAM_RECIEVER_IP}/g" ${D}/etc/xdg/weston/pipeline.cfg 
+   sed -i -e "s/YOUR_RECIEVER_PORT/${WALTHAM_RECEIVER_PORT}/g" ${D}/etc/xdg/weston/pipeline.cfg 
+
+}
+
+FILES_${PN} += "/etc/xdg/weston/*.cfg"S = "${WORKDIR}/git"
+
 FILES_${PN} += "*"
 
 FILES_${PN}-dbg += "${libdir}/weston/.dbg/*"
index 55123e9..01023a1 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = " \
   file://LICENSE;md5=e8ad01a5182f2c1b3a2640e9ea268264 \
 "
-SRCREV = "${AUTOREV}"
+SRCREV = "1de58c3ff746ddaba7584d760c5454243723d3ca"
 SRC_URI = "git://github.com/wmizuno/waltham.git \
           "
 S = "${WORKDIR}/git"