2011-06-19 15:33:05 +00:00
|
|
|
# Template file for 'sed'
|
|
|
|
pkgname=synergy
|
2013-10-26 08:47:40 +00:00
|
|
|
version=1.4.15
|
2014-02-16 17:57:50 +00:00
|
|
|
revision=2
|
2011-06-19 17:34:59 +00:00
|
|
|
wrksrc=${pkgname}-${version}-Source
|
2013-06-06 05:50:37 +00:00
|
|
|
hostmakedepends="cmake unzip"
|
|
|
|
makedepends="qt-devel libSM-devel libXext-devel libXtst-devel>=1.2.1_2 libXinerama-devel"
|
2011-06-19 15:33:05 +00:00
|
|
|
short_desc="Share a single mouse and keyboard between multiple computers"
|
2011-10-16 14:21:59 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-19 17:39:40 +00:00
|
|
|
homepage="http://synergy-foss.org/"
|
|
|
|
license="GPL-2"
|
2012-08-10 05:22:05 +00:00
|
|
|
distfiles="http://synergy.googlecode.com/files/$pkgname-$version-Source.tar.gz"
|
2013-10-26 08:47:40 +00:00
|
|
|
checksum=643745888ec6150e74cb6da9813f8c7572f2f87cf35f0bd4f64cc1e467ef3550
|
2011-06-19 15:33:05 +00:00
|
|
|
|
|
|
|
do_build() {
|
2013-06-06 05:50:37 +00:00
|
|
|
unset LDFLAGS
|
|
|
|
|
|
|
|
# Unzip the crypto library
|
|
|
|
unzip -d tools/cryptopp562 tools/cryptopp562.zip
|
|
|
|
|
2011-10-24 13:08:19 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
2011-06-19 17:34:59 +00:00
|
|
|
make ${makejobs}
|
2013-06-06 05:50:37 +00:00
|
|
|
|
|
|
|
# qt4 gui
|
|
|
|
cd src/gui
|
|
|
|
qmake
|
|
|
|
make ${makejobs}
|
2011-06-19 15:33:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-06-06 05:50:37 +00:00
|
|
|
vinstall bin/synergy 755 usr/bin
|
2012-08-10 05:22:05 +00:00
|
|
|
vinstall bin/synergyc 755 usr/bin
|
|
|
|
vinstall bin/synergys 755 usr/bin
|
2013-06-06 05:50:37 +00:00
|
|
|
|
2012-08-10 05:22:05 +00:00
|
|
|
vmkdir usr/share/examples/${pkgname}
|
|
|
|
install -m644 doc/synergy.conf.example* \
|
|
|
|
${DESTDIR}/usr/share/examples/${pkgname}
|
2013-06-06 05:50:37 +00:00
|
|
|
|
|
|
|
vinstall ${FILESDIR}/synergy.png 644 usr/share/pixmaps
|
|
|
|
vinstall ${FILESDIR}/synergy.desktop 644 usr/share/applications
|
2011-06-19 15:33:05 +00:00
|
|
|
}
|
2013-04-14 10:31:59 +00:00
|
|
|
|
2013-06-06 06:10:50 +00:00
|
|
|
synergy-gui_package() {
|
2014-02-16 17:57:50 +00:00
|
|
|
depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
2013-06-06 06:10:50 +00:00
|
|
|
replaces="synergy<1.4.12_2"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/synergy
|
|
|
|
vmove usr/share/pixmaps
|
|
|
|
vmove usr/share/applications
|
|
|
|
}
|
|
|
|
}
|