2011-06-19 17:33:05 +02:00
|
|
|
# Template file for 'sed'
|
|
|
|
pkgname=synergy
|
2014-04-17 09:22:30 +02:00
|
|
|
version=1.4.17
|
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${version}-Source"
|
|
|
|
build_style=cmake
|
2013-06-06 07:50:37 +02:00
|
|
|
hostmakedepends="cmake unzip"
|
2014-04-17 09:22:30 +02:00
|
|
|
makedepends="libcurl-devel crypto++-devel libSM-devel libXext-devel libXtst-devel>=1.2.1_2 libXinerama-devel"
|
2011-06-19 17:33:05 +02:00
|
|
|
short_desc="Share a single mouse and keyboard between multiple computers"
|
2011-10-16 16:21:59 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-19 19:39:40 +02:00
|
|
|
homepage="http://synergy-foss.org/"
|
|
|
|
license="GPL-2"
|
2014-04-17 09:22:30 +02:00
|
|
|
distfiles="http://fossfiles.com/synergy/synergy-${version}-r2055-Source.tar.gz"
|
|
|
|
checksum=95c7e40d0ba249f91866d433f3f2407771c3d9f72e257c5b0655ef84f7558ad7
|
|
|
|
|
|
|
|
CXXFLAGS="-pthread"
|
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
makedepends+=" qt-devel"
|
|
|
|
post_build() {
|
|
|
|
# qt4 gui
|
|
|
|
cd src/gui
|
|
|
|
qmake
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
synergy-gui_package() {
|
|
|
|
depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
|
|
|
replaces="synergy<1.4.12_2"
|
|
|
|
pkg_install() {
|
2014-04-17 09:26:45 +02:00
|
|
|
vinstall ${wrksrc}/bin/synergy 755 usr/bin
|
2014-04-17 09:22:30 +02:00
|
|
|
vmove usr/share/pixmaps
|
|
|
|
vmove usr/share/applications
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fi
|
2011-06-19 17:33:05 +02:00
|
|
|
|
|
|
|
do_install() {
|
2012-08-10 07:22:05 +02:00
|
|
|
vinstall bin/synergyc 755 usr/bin
|
|
|
|
vinstall bin/synergys 755 usr/bin
|
2013-06-06 07:50:37 +02:00
|
|
|
|
2012-08-10 07:22:05 +02:00
|
|
|
vmkdir usr/share/examples/${pkgname}
|
|
|
|
install -m644 doc/synergy.conf.example* \
|
|
|
|
${DESTDIR}/usr/share/examples/${pkgname}
|
2013-06-06 07:50:37 +02:00
|
|
|
|
|
|
|
vinstall ${FILESDIR}/synergy.png 644 usr/share/pixmaps
|
|
|
|
vinstall ${FILESDIR}/synergy.desktop 644 usr/share/applications
|
2011-06-19 17:33:05 +02:00
|
|
|
}
|
2013-04-14 12:31:59 +02:00
|
|
|
|