49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
# Template file for 'sed'
|
|
pkgname=synergy
|
|
version=1.4.17
|
|
revision=1
|
|
wrksrc="${pkgname}-${version}-Source"
|
|
build_style=cmake
|
|
hostmakedepends="cmake unzip"
|
|
makedepends="libcurl-devel crypto++-devel libSM-devel libXext-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://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() {
|
|
vinstall ${wrksrc}/bin/synergy 755 usr/bin
|
|
vmove usr/share/pixmaps
|
|
vmove usr/share/applications
|
|
}
|
|
}
|
|
fi
|
|
|
|
do_install() {
|
|
vinstall bin/synergyc 755 usr/bin
|
|
vinstall bin/synergys 755 usr/bin
|
|
|
|
vmkdir usr/share/examples/${pkgname}
|
|
install -m644 doc/synergy.conf.example* \
|
|
${DESTDIR}/usr/share/examples/${pkgname}
|
|
|
|
vinstall ${FILESDIR}/synergy.png 644 usr/share/pixmaps
|
|
vinstall ${FILESDIR}/synergy.desktop 644 usr/share/applications
|
|
}
|
|
|