synergy: update to 1.7.5
- Bumps version to 1.7.5 - Adds patches to fix build using Qt>=5.5 - Install service files
This commit is contained in:
parent
a9d03407d6
commit
3fefc5af7e
6 changed files with 35 additions and 4 deletions
5
srcpkgs/synergy/files/synergyc/run
Executable file
5
srcpkgs/synergy/files/synergyc/run
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
[ -r ./conf ] && . ./conf
|
||||
[ -z $SERVER_ADDR ] && exit 0
|
||||
[ -z $SKIP_X11_TEST ] && ! ps -C Xorg >/dev/null 2>&1 && exit 0
|
||||
exec synergyc --no-daemon ${OPTS:=--restart} $SERVER_ADDR
|
4
srcpkgs/synergy/files/synergys/run
Executable file
4
srcpkgs/synergy/files/synergys/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r ./conf ] && . ./conf
|
||||
[ -z $SKIP_X11_TEST ] && ! ps -C Xorg >/dev/null 2>&1 && exit 0
|
||||
exec synergys --no-daemon ${OPTS:=--restart}
|
10
srcpkgs/synergy/patches/qt5-build-musl.patch
Normal file
10
srcpkgs/synergy/patches/qt5-build-musl.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/gui/src/ZeroconfService.h
|
||||
+++ src/gui/src/ZeroconfService.h
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "ZeroconfServer.h"
|
||||
#include "ZeroconfRecord.h"
|
||||
|
||||
+#include <stdint.h>
|
||||
#include <QtCore/QObject>
|
||||
|
||||
typedef int32_t DNSServiceErrorType;
|
10
srcpkgs/synergy/patches/qt5-build.patch
Normal file
10
srcpkgs/synergy/patches/qt5-build.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/gui/src/CommandProcess.h
|
||||
+++ src/gui/src/CommandProcess.h
|
||||
@@ -18,6 +18,7 @@
|
||||
#ifndef COMMANDTHREAD_H
|
||||
#define COMMANDTHREAD_H
|
||||
|
||||
+#include <QObject>
|
||||
#include <QStringList>
|
||||
|
||||
class CommandProcess : public QObject
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'synergy'
|
||||
pkgname=synergy
|
||||
version=1.7.3
|
||||
version=1.7.5
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${version}-stable"
|
||||
build_style=cmake
|
||||
|
@ -11,8 +11,8 @@ short_desc="Share a single mouse and keyboard between multiple computers"
|
|||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://synergy-foss.org/"
|
||||
license="GPL-2"
|
||||
distfiles="https://github.com/synergy/synergy/archive/v${version}-stable.tar.gz"
|
||||
checksum=a4effc3ddb0ef6de95f83fa62b5290e2909f8b76729b1bde89c5061e5d381e25
|
||||
distfiles="https://github.com/symless/synergy/archive/v${version}-stable.tar.gz"
|
||||
checksum=b50c79f5c8aca2048cb0e11ba37f75722d1acdda23b0352e25ad66aff999f192
|
||||
|
||||
CXXFLAGS="-pthread"
|
||||
|
||||
|
@ -51,5 +51,8 @@ do_install() {
|
|||
|
||||
vinstall ${FILESDIR}/synergy.png 644 usr/share/pixmaps
|
||||
vinstall ${FILESDIR}/synergy.desktop 644 usr/share/applications
|
||||
|
||||
vsv synergys
|
||||
vsv synergyc
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
site=https://github.com/symless/synergy/tags
|
||||
pattern="v\K[\d.]+(?=-stable)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue