From 49ec2e3435358751877b355f3878cacfee22bcc5 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Sat, 10 Sep 2016 23:32:47 +0200 Subject: [PATCH] synergy: update to 1.8.2 + fix PIE --- srcpkgs/synergy/patches/qt5-build.patch | 10 ---------- srcpkgs/synergy/template | 12 ++++++------ 2 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 srcpkgs/synergy/patches/qt5-build.patch diff --git a/srcpkgs/synergy/patches/qt5-build.patch b/srcpkgs/synergy/patches/qt5-build.patch deleted file mode 100644 index a10ceb6830..0000000000 --- a/srcpkgs/synergy/patches/qt5-build.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/gui/src/CommandProcess.h -+++ src/gui/src/CommandProcess.h -@@ -18,6 +18,7 @@ - #ifndef COMMANDTHREAD_H - #define COMMANDTHREAD_H - -+#include - #include - - class CommandProcess : public QObject diff --git a/srcpkgs/synergy/template b/srcpkgs/synergy/template index b6c2241d89..459d019909 100644 --- a/srcpkgs/synergy/template +++ b/srcpkgs/synergy/template @@ -1,7 +1,7 @@ # Template file for 'synergy' pkgname=synergy -version=1.7.6 -revision=2 +version=1.8.2 +revision=1 wrksrc="${pkgname}-${version}-stable" build_style=cmake hostmakedepends="cmake unzip pkg-config" @@ -12,7 +12,7 @@ maintainer="Juan RP " homepage="http://synergy-foss.org/" license="GPL-2" distfiles="https://github.com/symless/synergy/archive/v${version}-stable.tar.gz" -checksum=a453b880606edbdaec82576bcb74189a7ae564feeee126b125063802a778411d +checksum=2f84c718636f02acca4801fff30bd67f5bb2720304f7ab095f2112536da5a9fa CXXFLAGS="-pthread" @@ -26,10 +26,10 @@ if [ -z "$CROSS_BUILD" ]; then makedepends+=" qt5-devel" post_build() { CXXFLAGS+=" $(pkg-config --cflags avahi-compat-libdns_sd)" - # qt4 gui + # qt5 gui cd $wrksrc/src/gui - qmake - make CXXFLAGS+="$CXXFLAGS -fPIC" ${makejobs} + qmake QMAKE_CXXFLAGS="$CXXFLAGS" QMAKE_LFLAGS="$LDFLAGS" + make ${makejobs} } synergy-gui_package() { depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}"