initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_SYNERGY
|
||||
bool "synergy"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXTST
|
||||
help
|
||||
Synergy lets you easily share a single mouse and
|
||||
keyboard between multiple computers with different
|
||||
operating systems, each with its own display,
|
||||
without special hardware.
|
||||
|
||||
https://github.com/symless/synergy-core/
|
||||
|
||||
comment "synergy needs a toolchain w/ C++, wchar, gcc >= 4.9"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \
|
||||
BR2_TOOLCHAIN_GCC_AT_LEAST_4_9)
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 06d1cb1d43251b0b624212652e9c0ab2657d124ac4f7e7d0c7f3e448c953c2a8 synergy-2.0.12-beta.tar.gz
|
||||
sha256 4921009cd76e7d38a8e873c362b25dbaf032c320bbb36a40dec775ddbdcbe1d8 LICENSE
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# synergy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SYNERGY_VERSION = 2.0.12-beta
|
||||
SYNERGY_SITE = $(call github,symless,synergy-core,v$(SYNERGY_VERSION))
|
||||
SYNERGY_LICENSE = GPL-2.0
|
||||
SYNERGY_LICENSE_FILES = LICENSE
|
||||
SYNERGY_CPE_ID_VENDOR = symless
|
||||
SYNERGY_DEPENDENCIES = xlib_libX11 xlib_libXtst
|
||||
|
||||
# Avoid using buildroot commit hash inside cmake/Version.cmake
|
||||
# by setting SYNERGY_VERSION_STAGE != snapshot
|
||||
SYNERGY_CONF_ENV += SYNERGY_VERSION_STAGE="beta"
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user