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