synergy: update to 1.6.2.

This commit is contained in:
Juan RP 2014-12-12 13:00:58 +01:00
parent f4f3e3dc49
commit cfd5b3bbc1
1 changed files with 11 additions and 11 deletions

View File

@ -1,27 +1,27 @@
# Template file for 'sed'
pkgname=synergy
version=1.5.1
version=1.6.2
revision=1
wrksrc="${pkgname}-${version}-Source"
build_style=cmake
hostmakedepends="cmake unzip"
makedepends="libcurl-devel crypto++-devel libSM-devel libXext-devel libXrandr-devel libXtst-devel>=1.2.1_2 libXinerama-devel"
hostmakedepends="cmake unzip pkg-config"
makedepends="avahi-libs-devel libcurl-devel crypto++-devel libSM-devel libXext-devel libXrandr-devel libXtst-devel>=1.2.1_2 libXinerama-devel"
short_desc="Share a single mouse and keyboard between multiple computers"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://synergy-foss.org/"
license="GPL-2"
distfiles="http://synergy-project.org/files/packages/${pkgname}-${version}-r2398-Source.tar.gz"
checksum=c70cc5bbec47ea22bdc34107a1788cc37143c0fd8d8c4affba4f0257c26408a7
distfiles="https://github.com/synergy/synergy/archive/${version}.tar.gz"
checksum=36c0a2c9ea1c3a13a6134ce1e76ad8dd2f442100dd6075c53f31b399d2543ba3
CXXFLAGS="-pthread"
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" qt-devel"
makedepends+=" qt5-devel"
post_build() {
CXXFLAGS+=" $(pkg-config --cflags avahi-compat-libdns_sd)"
# qt4 gui
cd src/gui
cd $wrksrc/src/gui
qmake
make CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
make CXXFLAGS+="$CXXFLAGS -fPIC" ${makejobs}
}
synergy-gui_package() {
depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}"
@ -34,8 +34,8 @@ if [ -z "$CROSS_BUILD" ]; then
fi
do_install() {
vinstall bin/synergyc 755 usr/bin
vinstall bin/synergys 755 usr/bin
vbin bin/synergyc
vbin bin/synergys
vmkdir usr/share/examples/${pkgname}
install -m644 doc/synergy.conf.example* \