summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2012-03-07 16:05:09 +0000
committerJeremy Olexa <darkside@gentoo.org>2012-03-07 16:05:09 +0000
commit6c1d5f2dc76d475db61cbe38147b491e2c35d773 (patch)
tree24314151ccec7e1d8a892b96dab0bcfa6ed037ef /x11-misc
parentAdjust X deps (bug #407273) (diff)
downloadgentoo-2-6c1d5f2dc76d475db61cbe38147b491e2c35d773.tar.gz
gentoo-2-6c1d5f2dc76d475db61cbe38147b491e2c35d773.tar.bz2
gentoo-2-6c1d5f2dc76d475db61cbe38147b491e2c35d773.zip
version bump from upstream with many bug fixes
(Portage version: 2.1.10.44/cvs/Linux i686)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/synergy/ChangeLog7
-rw-r--r--x11-misc/synergy/synergy-1.4.7.ebuild72
2 files changed, 78 insertions, 1 deletions
diff --git a/x11-misc/synergy/ChangeLog b/x11-misc/synergy/ChangeLog
index 455c9d002ab7..27e294b44962 100644
--- a/x11-misc/synergy/ChangeLog
+++ b/x11-misc/synergy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/synergy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v 1.76 2012/02/19 13:24:19 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v 1.77 2012/03/07 16:05:09 darkside Exp $
+
+*synergy-1.4.7 (07 Mar 2012)
+
+ 07 Mar 2012; Jeremy Olexa <darkside@gentoo.org> +synergy-1.4.7.ebuild:
+ version bump from upstream with many bug fixes
19 Feb 2012; Tobias Klausmann <klausman@gentoo.org> synergy-1.3.6.ebuild:
Stable on alpha, bug #391393
diff --git a/x11-misc/synergy/synergy-1.4.7.ebuild b/x11-misc/synergy/synergy-1.4.7.ebuild
new file mode 100644
index 000000000000..cef3a06f73b7
--- /dev/null
+++ b/x11-misc/synergy/synergy-1.4.7.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/synergy-1.4.7.ebuild,v 1.1 2012/03/07 16:05:09 darkside Exp $
+
+EAPI=4
+
+inherit eutils cmake-utils qt4-r2
+
+DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers."
+HOMEPAGE="http://synergy-foss.org/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}-Source.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="qt4"
+
+RDEPEND="x11-libs/libXtst
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama
+ qt4? ( x11-libs/qt-gui )
+ qt4? ( !x11-misc/qsynergy )"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-proto/kbproto
+ x11-proto/xineramaproto
+ x11-libs/libXt"
+
+S=${WORKDIR}/${P}-Source
+
+src_configure() {
+ # 1.4.4+ : http://synergy-foss.org/pm/issues/3016
+ append-ldflags $(no-as-needed)
+
+ cmake-utils_src_configure
+
+ if use qt4 ; then
+ cd src/gui
+ qt4-r2_src_configure
+ fi
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use qt4 ; then
+ cd src/gui
+ qt4-r2_src_compile
+ fi
+}
+
+src_install () {
+ dobin bin/${PN}{c,s}
+
+ if use qt4 ; then
+ newbin bin/${PN} qsynergy
+ # FIXME: convert the .ico file to a real png instead
+ newicon src/gui/res/win/QSynergy.ico q${PN}.png
+ make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility;
+ fi
+
+ insinto /etc
+ newins doc/synergy.conf.example synergy.conf
+
+ mv doc/${PN}c.man doc/${PN}c.1 || die
+ mv doc/${PN}s.man doc/${PN}s.1 || die
+ doman doc/${PN}{c,s}.1
+
+ dodoc README doc/synergy.conf.example*
+}