blob: 8d3963d19de32e9afdb2d4850054df947e026830 (
plain)
1 # Description: Share mouse and keyboard between multiple computers
2 # URL: http://synergy-foss.org/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on: avahi cmake qt5 xorg-libxcb xorg-libxdmcp xorg-libxrender xorg-libxtst
5
6 name=synergy
7 version=1.13.0
8 release=1
9 source=(https://github.com/symless/synergy-core/archive/v${version}-stable/$name-$version.tar.gz
10 https://github.com/google/googletest/archive/2fe3bd994b3189899d93f1d5a881e725e046fdc2/googletest-2fe3bd9.zip)
11
12 build() {
13 # -D BUILD_TESTS=OFF has no freaking effect :|
14 mv googletest-*/* $name-core-$version-stable/ext/googletest
15 cmake -S $name-core-$version-stable -B build -G Ninja \
16 -D CMAKE_INSTALL_PREFIX=/usr \
17 -D CMAKE_BUILD_TYPE=Release \
18 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
19 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
20 -D BUILD_TESTS=OFF \
21 -D GIT_SUBMODULE=OFF \
22 -Wno-dev
23 cmake --build build
24 DESTDIR=$PKG cmake --install build
25 }
|