synergy: update to 1.8.2 + fix PIE
This commit is contained in:
parent
a93fc851b8
commit
49ec2e3435
|
@ -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'
|
# Template file for 'synergy'
|
||||||
pkgname=synergy
|
pkgname=synergy
|
||||||
version=1.7.6
|
version=1.8.2
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname}-${version}-stable"
|
wrksrc="${pkgname}-${version}-stable"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake unzip pkg-config"
|
hostmakedepends="cmake unzip pkg-config"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://synergy-foss.org/"
|
homepage="http://synergy-foss.org/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="https://github.com/symless/synergy/archive/v${version}-stable.tar.gz"
|
distfiles="https://github.com/symless/synergy/archive/v${version}-stable.tar.gz"
|
||||||
checksum=a453b880606edbdaec82576bcb74189a7ae564feeee126b125063802a778411d
|
checksum=2f84c718636f02acca4801fff30bd67f5bb2720304f7ab095f2112536da5a9fa
|
||||||
|
|
||||||
CXXFLAGS="-pthread"
|
CXXFLAGS="-pthread"
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
makedepends+=" qt5-devel"
|
makedepends+=" qt5-devel"
|
||||||
post_build() {
|
post_build() {
|
||||||
CXXFLAGS+=" $(pkg-config --cflags avahi-compat-libdns_sd)"
|
CXXFLAGS+=" $(pkg-config --cflags avahi-compat-libdns_sd)"
|
||||||
# qt4 gui
|
# qt5 gui
|
||||||
cd $wrksrc/src/gui
|
cd $wrksrc/src/gui
|
||||||
qmake
|
qmake QMAKE_CXXFLAGS="$CXXFLAGS" QMAKE_LFLAGS="$LDFLAGS"
|
||||||
make CXXFLAGS+="$CXXFLAGS -fPIC" ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
synergy-gui_package() {
|
synergy-gui_package() {
|
||||||
depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Reference in New Issue