Files
Martin Jansa 1dc4c0a2a7 synergy: add dependency on openssl
* otherwise fails with:
  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/git/src/lib/plugin/ns/SecureSocket.cpp:26:25:
  fatal error: openssl/ssl.h: No such file or directory
  compilation terminated.
  make[2]: *** [src/lib/plugin/ns/CMakeFiles/ns.dir/SecureSocket.cpp.o]
  Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-14 12:15:40 +01:00

35 lines
885 B
BlitzBasic

SUMMARY = "Synergy - control multiple computers with one keyboard and mouse"
HOMEPAGE = "http://synergy-project.org"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0f366945b209c5523e39889f636af00a"
LICENSE = "GPL-2.0"
SECTION = "x11/utils"
DEPENDS = "virtual/libx11 libxtst libxinerama unzip-native curl openssl"
# depends on virtual/libx11
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI = "git://github.com/synergy/synergy.git;protocol=http"
# Version 1.7.4-rc8
SRCREV ?= "588fb4b805dd452556d05dbc03fe29ea5b4e43c0"
PV = "1.7.3+1.7.4-rc8+${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/
}