2013-05-31 22:39:17 +02:00
|
|
|
# Description: Share mouse and keyboard between multiple computers
|
|
|
|
# URL: http://synergy-foss.org/
|
2020-05-24 15:18:55 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2020-05-28 17:50:35 +02:00
|
|
|
# Depends on: avahi cmake qt5 xorg-libxcb xorg-libxdmcp xorg-libxrender xorg-libxtst
|
2013-05-31 22:39:17 +02:00
|
|
|
|
|
|
|
name=synergy
|
2020-11-08 14:40:46 +01:00
|
|
|
version=1.12.0
|
2013-05-31 22:39:17 +02:00
|
|
|
release=1
|
2020-11-08 14:40:46 +01:00
|
|
|
source=(https://github.com/symless/synergy-core/archive/v${version}-stable/$name-$version.tar.gz
|
|
|
|
https://github.com/google/googletest/archive/2fe3bd994b3189899d93f1d5a881e725e046fdc2/googletest-2fe3bd9.zip)
|
2013-05-31 22:39:17 +02:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 14:40:46 +01:00
|
|
|
# -D BUILD_TESTS=OFF has no freaking effect :|
|
|
|
|
mv googletest-*/* $name-core-$version-stable/ext/googletest
|
|
|
|
cmake -S $name-core-$version-stable -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
|
|
|
-D BUILD_TESTS=OFF \
|
|
|
|
-D GIT_SUBMODULE=OFF \
|
|
|
|
-Wno-dev
|
2020-05-24 15:18:55 +02:00
|
|
|
cmake --build build
|
2020-11-08 14:40:46 +01:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2013-05-31 22:39:17 +02:00
|
|
|
}
|