Merge pull request #3790 from jaagr/synergy

synergy: update to 1.7.5 and install service files
This commit is contained in:
Juan RP 2016-03-10 07:40:47 +01:00
commit c571181454
6 changed files with 35 additions and 4 deletions

View 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

View 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}

View 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;

View 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

View file

@ -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
}

View file

@ -1,3 +1,2 @@
site=https://github.com/symless/synergy/tags
pattern="v\K[\d.]+(?=-stable)"