synergy: update to 1.8.2 + fix PIE
This commit is contained in:
parent
a93fc851b8
commit
49ec2e3435
2 changed files with 6 additions and 16 deletions
|
@ -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 <QObject>
|
||||
#include <QStringList>
|
||||
|
||||
class CommandProcess : public QObject
|
|
@ -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 <xtraeme@voidlinux.eu>"
|
|||
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}"
|
||||
|
|
Loading…
Reference in a new issue