From e748ba9741f6540f4675c23e3e37b73e822c13a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 May 2021 20:59:14 +0100 Subject: gentoo resync : 31.05.2021 --- x11-misc/synergy/Manifest | 2 + x11-misc/synergy/synergy-1.14.0.1_rc.ebuild | 114 ++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 x11-misc/synergy/synergy-1.14.0.1_rc.ebuild (limited to 'x11-misc/synergy') diff --git a/x11-misc/synergy/Manifest b/x11-misc/synergy/Manifest index 2df8dc745be3..ae6242634627 100644 --- a/x11-misc/synergy/Manifest +++ b/x11-misc/synergy/Manifest @@ -1,5 +1,7 @@ DIST googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6.tar.gz 876756 BLAKE2B f51050e656a449e7d8b7d4d920439825dc5857a8fac637b96191bbf668b6353b0e83c5221395f761ca8d1d29a20596ced4d8b4e08b3ce364a866cf7bcc977e4c SHA512 f77c747218dc5ae4858b2b4c58a401eb895493adf470a331d6bac32cd20542533ff3a77081db653bbc18b9f55f6864be04e1739ef4afaed7db39d7c698abf880 DIST synergy-1.12.0.png 31383 BLAKE2B 228487058d09ee4fe7d3c909a3aee567b63c0d1aeaecf0e724a7bc9c59e48abecac71f8074902fd4f02ff9347fe8f6488b0554fb78a253339b04fe8d2e958d24 SHA512 7044395b41a0d2e49d308c599710fa32398d11584e70da32d4a1ccb292b02437c09860ed14f7bdd113a646daf696988fd3c0b80f3ab52ebbcaddf4c846cdd7ab DIST synergy-core-1.13.1.41-stable.tar.gz 8663717 BLAKE2B 13d0722b183080361492382d3dd489b911cfe2384390c7b614d17df7f681dfbd8be94fa79cc4088602ea3d431fee793aaebc07f1d976cdd9c22493fba2212392 SHA512 3743ea4ccf8734928d021d414c2f10839056cdac64768f2e3e89b73392969b392030a0d9250041a1c2c21db06659088c8ca66d952c07395baada154df0311b87 +DIST synergy-core-1.14.0.1-rc.tar.gz 8835075 BLAKE2B 45752196811736ca5790f098bd6d6dce2323b29f21c9c566549ded9fe1cc132b4dc29564a3df8417ed949382c2cef5252579be526a8054c3bb694c4dc530cd8d SHA512 dd8b01dbe07be879814d1ed90fab03280de552f6c87f470721bd2608ed372f5b7c0cb013249910436b8e0b2a5a024d402afa64a2ae7bb85a320cb37260cfc615 EBUILD synergy-1.13.1.41.ebuild 2465 BLAKE2B 4c841e8b2643d6098a99f6ca929d4dc0e40dfddc797c27920a440c8d6488931c275aa2112489055912b51a5e1745bed54198a8d1452dbedfb7b9a1afb2f61be8 SHA512 5916ec2e135a39fd83491f83d5953f6583501d13f1527319ad777799721d1eede814ffb1840f5884d5490fa6704a5e724ddfcc5260be231effed43345c9c1b9a +EBUILD synergy-1.14.0.1_rc.ebuild 2415 BLAKE2B 41e7f53b0093101befa373b87a2c1f2ffec5bff8ff8079f3bb07c772bec14999d7bbc2dd87313febb0e5a3893435b2230c468e20fedd655387475c52ca409a50 SHA512 b39d269e192138615d32dfbcd9e3953f1704cda8174a1063128978d7b79b31216f52f9e611f72b4eeb35a54eddc39c1512c319d836666e14398c184e3d9b0de8 MISC metadata.xml 332 BLAKE2B 04a719c2b19204a1ea7ed755c89b072b271760a85f3b2b7e734796deca104682c147372a1d154d4fdb493d7025e16cfc2012e7d352fdc88dde93d0f3df477b67 SHA512 8c447ce795a81157c40a2839d8845d6db89ee768f70aa397b686b5ec9a7e59fc66f9fec5561e25ab0aed68bcabc369c0c53660ee2a0b7e24b52e169d5debaae0 diff --git a/x11-misc/synergy/synergy-1.14.0.1_rc.ebuild b/x11-misc/synergy/synergy-1.14.0.1_rc.ebuild new file mode 100644 index 000000000000..e621bed9e265 --- /dev/null +++ b/x11-misc/synergy/synergy-1.14.0.1_rc.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop xdg-utils virtualx + +[[ ${PV} == *_* ]] && MY_PV=${PV/_/-} || MY_PV=${PV}-stable +MY_P=synergy-core-${MY_PV} +GTEST_COMMIT=18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6 + +DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers" +HOMEPAGE="https://symless.com/synergy https://github.com/symless/synergy-core/" +SRC_URI=" + https://github.com/symless/synergy-core/archive/${MY_PV}.tar.gz + -> ${MY_P}.tar.gz + https://dev.gentoo.org/~mgorny/dist/synergy-1.12.0.png + test? ( + https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz + -> googletest-${GTEST_COMMIT}.tar.gz + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="gui test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:= + x11-libs/libICE:= + x11-libs/libSM:= + x11-libs/libX11:= + x11-libs/libXext:= + x11-libs/libXi:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXtst:= + gui? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + gui? ( + dev-qt/linguist-tools:5 + )" + +DOCS=( ChangeLog doc/synergy.conf.example{,-advanced,-basic} ) + +src_prepare() { + # broken on Xvfb + rm src/test/integtests/platform/XWindowsScreenTests.cpp || die + + if use test; then + rmdir ext/googletest || die + mv "${WORKDIR}/googletest-${GTEST_COMMIT}" ext/googletest || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSYNERGY_BUILD_LEGACY_GUI=$(usex gui) + -DSYNERGY_BUILD_LEGACY_INSTALLER=OFF + -DBUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +my_test() { + "${BUILD_DIR}"/bin/unittests && + "${BUILD_DIR}"/bin/integtests +} + +src_test() { + virtx my_test +} + +src_install() { + dobin "${BUILD_DIR}"/bin/{synergy{c,s},syntool} + + if use gui; then + newbin "${BUILD_DIR}"/bin/synergy qsynergy + newicon -s 256 "${DISTDIR}"/synergy-1.12.0.png qsynergy.png + make_desktop_entry qsynergy Synergy qsynergy 'Utility;' + fi + + insinto /etc + newins doc/synergy.conf.example synergy.conf + + newman doc/synergyc.man synergyc.1 + newman doc/synergys.man synergys.1 + + einstalldocs +} + +pkg_postinst() { + use gui && xdg_icon_cache_update +} + +pkg_postrm() { + use gui && xdg_icon_cache_update +} -- cgit v1.2.3