diff options
| -rw-r--r-- | meta-oe/recipes-support/synergy/synergy_1.3.8.bb | 24 | ||||
| -rw-r--r-- | meta-oe/recipes-support/synergy/synergy_git.bb | 34 |
2 files changed, 34 insertions, 24 deletions
diff --git a/meta-oe/recipes-support/synergy/synergy_1.3.8.bb b/meta-oe/recipes-support/synergy/synergy_1.3.8.bb deleted file mode 100644 index 545f9fa1a0..0000000000 --- a/meta-oe/recipes-support/synergy/synergy_1.3.8.bb +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | SUMMARY = "Synergy - control multiple computers with one keyboard and mouse" | ||
| 2 | HOMEPAGE = "http://synergy.googlecode.com" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=9772a11e3569985855e2ce450e56f991" | ||
| 4 | LICENSE = "GPL-2.0" | ||
| 5 | SECTION = "x11/utils" | ||
| 6 | |||
| 7 | DEPENDS = "virtual/libx11 libxtst libxinerama" | ||
| 8 | |||
| 9 | SRC_URI = "http://synergy.googlecode.com/files/synergy-${PV}-Source.tar.gz" | ||
| 10 | |||
| 11 | SRC_URI[md5sum] = "3534c65ecfa6e47d7899c57975442f03" | ||
| 12 | SRC_URI[sha256sum] = "0afc83e4ed0b46ed497d4229b2b2854e8d3c581a112f4da05110943edbfacc03" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/${BP}-Source" | ||
| 15 | |||
| 16 | inherit cmake distro_features_check | ||
| 17 | # depends on virtual/libx11 | ||
| 18 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 19 | |||
| 20 | do_install() { | ||
| 21 | install -d ${D}/usr/bin | ||
| 22 | install -m 0755 ${S}/bin/synergy* ${D}/usr/bin/ | ||
| 23 | } | ||
| 24 | |||
diff --git a/meta-oe/recipes-support/synergy/synergy_git.bb b/meta-oe/recipes-support/synergy/synergy_git.bb new file mode 100644 index 0000000000..cb842c80b3 --- /dev/null +++ b/meta-oe/recipes-support/synergy/synergy_git.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "Synergy - control multiple computers with one keyboard and mouse" | ||
| 2 | HOMEPAGE = "http://synergy-project.org" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0f366945b209c5523e39889f636af00a" | ||
| 4 | LICENSE = "GPL-2.0" | ||
| 5 | SECTION = "x11/utils" | ||
| 6 | |||
| 7 | DEPENDS = "virtual/libx11 libxtst libxinerama" | ||
| 8 | |||
| 9 | # depends on virtual/libx11 | ||
| 10 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/synergy/synergy.git;protocol=http" | ||
| 13 | |||
| 14 | # Version 1.7.4-rc8 | ||
| 15 | SRCREV ?= "588fb4b805dd452556d05dbc03fe29ea5b4e43c0" | ||
| 16 | PV = "1.7.3+1.7.4-rc8+${SRCPV}" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit cmake distro_features_check | ||
| 21 | |||
| 22 | do_unpack_extra() { | ||
| 23 | cd ${S}/ext | ||
| 24 | for file in *.zip; do | ||
| 25 | fname="${file##*/}" | ||
| 26 | unzip $file -d ${fname%.*} | ||
| 27 | done | ||
| 28 | } | ||
| 29 | addtask unpack_extra after do_unpack before do_patch | ||
| 30 | |||
| 31 | do_install() { | ||
| 32 | install -d ${D}/usr/bin | ||
| 33 | install -m 0755 ${S}/bin/synergy* ${D}/usr/bin/ | ||
| 34 | } | ||
