network/synergy: Updated for version 1.14.6.19

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2023-12-31 16:45:58 +10:00 committed by Willy Sudiarto Raharjo
parent 3ebca605cd
commit 0dedead518
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 15 additions and 21 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for "synergy".
# Copyright 2013-2016 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2020 Christoph Willing Brisbane, Australia
# Copyright 2020-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=synergy
SRCNAM=synergy-core
VERSION=${VERSION:-1.14.3.5}
VERSION=${VERSION:-1.14.6.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -94,34 +94,25 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DBUILD_TESTS=false \
-DSYNERGY_VERSION_STAGE:STRING=stable \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
install -s -m 0755 bin/synergyd $PKG/usr/bin/
cd ..
# installation not implemented
mkdir -p $PKG/usr/bin $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1 \
$PKG/usr/share/icons/hicolor/256x256 $PKG/usr/share/applications
#for file in synergy synergyc synergyd synergys syntool usynergy ; do
# install -s -m 0755 $TMP/$SRCNAM-$VERSION-stable/bin/$file $PKG/usr/bin
#done
for file in synergy.conf.example synergy.conf.example-advanced synergy.conf.example-basic ; do
install -m 0644 $TMP/$SRCNAM-$VERSION-stable/doc/$file $PKG/usr/doc/$PRGNAM-$VERSION
done
#for file in synergy.conf.example synergy.conf.example-advanced synergy.conf.example-basic ; do
# install -m 0644 $TMP/$SRCNAM-$VERSION-stable/doc/$file $PKG/usr/doc/$PRGNAM-$VERSION
#done
#for file in COMPILE ChangeLog INSTALL LICENSE README ; do
# install -m 0644 $TMP/$SRCNAM-$VERSION-stable/$file $PKG/usr/doc/$PRGNAM-$VERSION
#done
#for file in synergyc.man synergys.man ; do
# install -m 0644 $TMP/$SRCNAM-$VERSION-stable/doc/$file $PKG/usr/man/man1
#done
for file in synergyc.man synergys.man ; do
install -m 0644 $TMP/$SRCNAM-$VERSION-stable/doc/$file $PKG/usr/man/man1
done
find $PKG/usr/man/man1 -type f -name "*.man" -exec rename '.man' '.1' {} \;
find $PKG/usr/man/man1 -type f -name "*.?" -exec gzip -9f {} \;
@ -131,6 +122,9 @@ $PKG/usr/share/icons/hicolor/256x256
install -D -m 0644 $TMP/$SRCNAM-$VERSION-stable/res/synergy.desktop \
$PKG/usr/share/applications
for file in ChangeLog LICENSE README.md ; do
install -m 0644 $TMP/$SRCNAM-$VERSION-stable/$file $PKG/usr/doc/$PRGNAM-$VERSION
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="synergy"
VERSION="1.14.3.5"
VERSION="1.14.6.19"
HOMEPAGE="http://synergy-project.org/"
DOWNLOAD="https://github.com/symless/synergy-core/archive/1.14.3.5-stable/synergy-core-1.14.3.5-stable.tar.gz"
MD5SUM="ec05db383439cf406a57ab5d18b5d444"
DOWNLOAD="https://github.com/symless/synergy-core/archive/1.14.6.19-stable/synergy-core-1.14.6.19-stable.tar.gz"
MD5SUM="7a992527f20c874a3c73fec20feace28"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avahi pugixml"