synergy: 1.11.1 -> 1.12.0

This commit is contained in:
Tim Biermann 2020-11-08 13:40:46 +00:00
parent 9bdc626106
commit 9d0de99089
2 changed files with 18 additions and 11 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yOp24aBvHQ/fPaOf/zKjnZGlcF2NqNpsCXKau5zM/6cyPAActMnG6TWYXZoNUdIEwObAqa/pBS+CqokLmT+AA0=
SHA256 (Pkgfile) = a799a55ac0118303c05f6e0910f3fa14afe1f6e3c27f20c595289f058554d55a
RWSagIOpLGJF3zmgxZnMu0OhLIzWFZdRBpkK/nx5HmPvxeD5u5WNb1wiasmEyYhoJn7Y+sdo/ZfKV82Fcq4Q3TNnm9q8v8R5WQk=
SHA256 (Pkgfile) = 8e7a50a121b974abcdfecdf977e58656db0aa72446ffaa5381920cd17b065cda
SHA256 (.footprint) = bc82db54aefa88b2d5fb268ce5e0d5420c0b763983c5bdc6fdd5d008a237eca9
SHA256 (synergy-1.11.1.tar.gz) = 338e5fda0323f8c24259d8fc26e513bdc4f0f249bf66e9722953bb8e6311f88b
SHA256 (synergy-1.12.0.tar.gz) = ec9577816569a83250216373e0925571b7618f1cd0e6dd719bf7d86a2bb4b02e
SHA256 (googletest-2fe3bd9.zip) = 6aba02cc122d60f517cb6cd439a6a8fc49be0657855dd3ae96b09d438e5a59d8

View File

@ -4,16 +4,22 @@
# Depends on: avahi cmake qt5 xorg-libxcb xorg-libxdmcp xorg-libxrender xorg-libxtst
name=synergy
version=1.11.1
version=1.12.0
release=1
source=(https://github.com/symless/synergy-core/archive/v${version}-stable/$name-$version.tar.gz)
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)
build() {
cmake -S$name-core-$version-stable -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr
# -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
cmake --build build
install -d -m 755 $PKG/usr/bin
install -D -m 755 build/bin/synergy $PKG/usr/bin
install -D -m 755 build/bin/synergyc $PKG/usr/bin
install -D -m 755 build/bin/synergys $PKG/usr/bin
DESTDIR=$PKG cmake --install build
}