From 816ee9da5fb4b2dd1a823aab8695be7313646ccb Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 27 Mar 2017 09:47:57 +0200 Subject: x11-misc/synergy: Version bump. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- x11-misc/synergy/Manifest | 1 + x11-misc/synergy/synergy-1.8.8.ebuild | 112 ++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 x11-misc/synergy/synergy-1.8.8.ebuild (limited to 'x11-misc/synergy') diff --git a/x11-misc/synergy/Manifest b/x11-misc/synergy/Manifest index c273be9bbf34..4a65319d8720 100644 --- a/x11-misc/synergy/Manifest +++ b/x11-misc/synergy/Manifest @@ -1,3 +1,4 @@ DIST synergy-1.6.3.tar.gz 4405517 SHA256 93b1965b8e0cfc55cc654aab7053a58b9e730d09e68bbc520be32353a01dce1a SHA512 de67b0663c5ef411570f163208b2a295a8f16537dcc37a41a31039a2d01de083410c023b7f255664eb0c84f0290473690b638934082c2276ddce594126861165 WHIRLPOOL cb8737f0fe75105c9f5c8c371a5aef55c5eb8f1c419b3a7315ed66880e79c379efc6d7bced20c0d046bc281be935322def54f98d67e383d7236620a948ae1c14 DIST synergy-1.8.6.tar.gz 13497043 SHA256 76b27c6e90961ee6bdad429904a2d5743854d0d027c067941d2411565d64352b SHA512 e0816c280c77d4a865f4b7d4a9081963032a156bfb6da51e6b67a6fc41f8f18b097d3fc7c96218db268c36d0148021f9ddba95fe56daff8bfc54219dbdfe14a5 WHIRLPOOL c12a0038f931963afee8190799dd74dcb300cbb79c2870d1a8a2e33238a86cc0ef30e5b577fdda05d7880e488d3c03da6a48c6a22095b2f4b312fc851325376a +DIST synergy-1.8.8.tar.gz 13498599 SHA256 85c388f93881d741981ce3c675e840a52a76883cb2cea1da306c0c453c5d7d9b SHA512 b4909930af7da10d877297e674df4c042ec54333eed585334da4a8c834c0ca3ad7c93fd2436c7d8d2f0e9e039d7bd385bb9e8a8c706750cbab3c3664a9b16bc6 WHIRLPOOL 1e03d6b4463d924477637170a57acfe9238f2b3d5d099cad8b3e65eb473fc7407075afc9859e05d5a818bd27a9723d64bf8cf0d99d950282de490d63f745ab56 DIST synergy.png 26910 SHA256 c7e6cbaea549a189daed46c7170477772d932144ca20c9ea0db6859bd896f08c SHA512 0b5a1813c71fd2923adca4cf7b0f840fc37c73a2f18ad68f8bb2fd2ea312d9a884e2e2bcd78f6dd0f13d1f31ea3991379e141ec62d970a18c3a9c46b26720c5d WHIRLPOOL 7b3e7f9b05462fb536de0ca8d2257ea8abc0b2f17f0335d7eee73322f79a9ecccf729b992e58cd0965a9c9842f48020b6588cd4af47ea0f6d2b2cd7793c64e3a diff --git a/x11-misc/synergy/synergy-1.8.8.ebuild b/x11-misc/synergy/synergy-1.8.8.ebuild new file mode 100644 index 000000000000..331f31656127 --- /dev/null +++ b/x11-misc/synergy/synergy-1.8.8.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic gnome2-utils cmake-utils qt4-r2 + +DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers" +HOMEPAGE="http://synergy-project.org/ https://github.com/symless/synergy" +SRC_URI=" + https://github.com/symless/${PN}/archive/v${PV}-stable.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~jer/${PN}.png +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="libressl qt4" +RESTRICT="test" + +S=${WORKDIR}/${P}-stable + +COMMON_DEPEND=" + !libressl? ( dev-libs/openssl:* ) + libressl? ( dev-libs/libressl ) + net-misc/curl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXtst + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + net-dns/avahi[mdnsresponder-compat] + ) +" +DEPEND=" + ${COMMON_DEPEND} + x11-proto/kbproto + x11-proto/randrproto + x11-proto/xextproto + x11-proto/xineramaproto + x11-proto/xproto +" +RDEPEND=" + ${COMMON_DEPEND} + qt4? ( !x11-misc/qsynergy ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.16_p1969-pthread.patch + "${FILESDIR}"/${PN}-1.7.5-gentoo.patch + "${FILESDIR}"/${PN}-1.8.1-internal-gmock-gtest.patch + "${FILESDIR}"/${PN}-1.8.5-gtest.patch +) + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + append-cxxflags ${mycmakeargs} + + cmake-utils_src_configure + + if use qt4 ; then + cd src/gui || die + qt4-r2_src_configure + fi +} + +src_compile() { + cmake-utils_src_compile + + if use qt4 ; then + cd src/gui || die + qt4-r2_src_compile + fi +} + +src_install () { + dobin bin/${PN}{c,s} bin/syntool + + if use qt4 ; then + newbin bin/${PN} qsynergy + newicon -s 256 "${DISTDIR}"/${PN}.png q${PN}.png + make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility; + fi + + insinto /etc + newins doc/synergy.conf.example synergy.conf + + newman doc/${PN}c.man ${PN}c.1 + newman doc/${PN}s.man ${PN}s.1 + + dodoc README doc/synergy.conf.example* ChangeLog +} + +pkg_preinst() { + use qt4 && gnome2_icon_savelist +} + +pkg_postinst() { + use qt4 && gnome2_icon_cache_update +} + +pkg_postrm() { + use qt4 && gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad