![Thomas Petazzoni](/assets/img/avatar_default.png)
The Github repository at https://github.com/symless/synergy no longer exists, it has apparently been moved to https://github.com/symless/synergy-core. Fixes: http://autobuild.buildroot.net/results/77f43b5937f102822a5b4644551222fda62fa129/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
930 B
Makefile
35 lines
930 B
Makefile
################################################################################
|
|
#
|
|
# synergy
|
|
#
|
|
################################################################################
|
|
|
|
SYNERGY_VERSION = v2.0.12-beta
|
|
SYNERGY_SITE = $(call github,symless,synergy-core,$(SYNERGY_VERSION))
|
|
SYNERGY_LICENSE = GPL-2.0
|
|
SYNERGY_LICENSE_FILES = LICENSE
|
|
SYNERGY_DEPENDENCIES = xlib_libX11 xlib_libXtst
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXext
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXi
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXinerama
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
|
SYNERGY_DEPENDENCIES += xlib_libXrandr
|
|
endif
|
|
|
|
define SYNERGY_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/synergyc $(TARGET_DIR)/usr/bin/synergyc
|
|
$(INSTALL) -D -m 0755 $(@D)/bin/synergys $(TARGET_DIR)/usr/bin/synergys
|
|
endef
|
|
|
|
$(eval $(cmake-package))
|