From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../meta-oe/recipes-support/synergy/synergy_git.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-openembedded/meta-oe/recipes-support/synergy/synergy_git.bb (limited to 'meta-openembedded/meta-oe/recipes-support/synergy/synergy_git.bb') diff --git a/meta-openembedded/meta-oe/recipes-support/synergy/synergy_git.bb b/meta-openembedded/meta-oe/recipes-support/synergy/synergy_git.bb new file mode 100644 index 000000000..68f0387ba --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-support/synergy/synergy_git.bb @@ -0,0 +1,35 @@ +SUMMARY = "Synergy - control multiple computers with one keyboard and mouse" +HOMEPAGE = "http://synergy-project.org" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2ba51ca68e055566aade24662f9eb41" +LICENSE = "GPL-2.0-with-OpenSSL-exception" +SECTION = "x11/utils" + +DEPENDS = "virtual/libx11 libxtst libxinerama curl openssl" +do_unpack_extra[depends] = "unzip-native:do_populate_sysroot" + +# depends on virtual/libx11 +REQUIRED_DISTRO_FEATURES = "x11" + +SRC_URI = "git://github.com/symless/synergy.git;protocol=http" + +# Version 1.8.8-stable +SRCREV ?= "c30301e23424db1125664da17deb8c3aa6aec52d" +PV = "1.8.8+${SRCPV}" + +S = "${WORKDIR}/git" + +inherit cmake distro_features_check + +do_unpack_extra() { + cd ${S}/ext + for file in *.zip; do + fname="${file##*/}" + unzip $file -d ${fname%.*} + done +} +addtask unpack_extra after do_unpack before do_patch + +do_install() { + install -d ${D}/usr/bin + install -m 0755 ${S}/bin/synergy* ${D}/usr/bin/ +} -- cgit v1.2.3