aboutsummaryrefslogtreecommitdiff
path: root/network/synergy
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-06-12 16:05:42 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-12 21:58:00 +0700
commitc41ab22b05b45ccf51f9db0f1e155bd29a2192c9 (patch)
treead9dd696fbf082b236df87b40e1fea75ab368bc8 /network/synergy
parent10cc2042d58e64568c97fa5c7b66c9b2dd30b45b (diff)
network/synergy: Added patch for Avahi.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/synergy')
-rw-r--r--network/synergy/010_include_dns_sd.diff11
-rw-r--r--network/synergy/synergy.SlackBuild5
2 files changed, 15 insertions, 1 deletions
diff --git a/network/synergy/010_include_dns_sd.diff b/network/synergy/010_include_dns_sd.diff
new file mode 100644
index 000000000000..535acb9bceb0
--- /dev/null
+++ b/network/synergy/010_include_dns_sd.diff
@@ -0,0 +1,11 @@
+--- src/gui/gui.pro.orig 2015-05-27 01:56:21.000000000 +1000
++++ src/gui/gui.pro 2015-06-09 16:52:57.664552976 +1000
+@@ -4,6 +4,8 @@
+ TARGET = synergy
+ DEPENDPATH += . \
+ res
++CONFIG += link_pkgconfig
++PKGCONFIG += avahi-compat-libdns_sd
+ INCLUDEPATH += . \
+ src
+ FORMS += res/MainWindowBase.ui \
diff --git a/network/synergy/synergy.SlackBuild b/network/synergy/synergy.SlackBuild
index 2d65afc3554e..cc185f0fb47f 100644
--- a/network/synergy/synergy.SlackBuild
+++ b/network/synergy/synergy.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=synergy
VERSION=${VERSION:-1.7.3}
REV=${REV:-stable-efd0108}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,6 +72,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Thanks Christoph Willing
+patch -p0 < $CWD/010_include_dns_sd.diff
+
sh hm.sh configure --generator=1 --release
CXXFLAGS="$SLKCFLAGS" sh hm.sh build