diff options
Diffstat (limited to 'x11-misc/synergy')
-rw-r--r-- | x11-misc/synergy/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/synergy/metadata.xml | 2 | ||||
-rw-r--r-- | x11-misc/synergy/synergy-1.14.1.32.ebuild | 118 |
3 files changed, 122 insertions, 2 deletions
diff --git a/x11-misc/synergy/Manifest b/x11-misc/synergy/Manifest index e847193ee7e0..958cda134f60 100644 --- a/x11-misc/synergy/Manifest +++ b/x11-misc/synergy/Manifest @@ -2,6 +2,8 @@ DIST googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6.tar.gz 876756 BLAKE2B f DIST synergy-1.12.0.png 31383 BLAKE2B 228487058d09ee4fe7d3c909a3aee567b63c0d1aeaecf0e724a7bc9c59e48abecac71f8074902fd4f02ff9347fe8f6488b0554fb78a253339b04fe8d2e958d24 SHA512 7044395b41a0d2e49d308c599710fa32398d11584e70da32d4a1ccb292b02437c09860ed14f7bdd113a646daf696988fd3c0b80f3ab52ebbcaddf4c846cdd7ab DIST synergy-core-1.14.0.4-stable.tar.gz 8835907 BLAKE2B 56e59eb3494e9823feca7744602c9ce1ae709a6d74c80c6d06f861333d938331760eb02b83d980afd932e1760a638849ba498fc0d919eeb431e54d3a1602f77e SHA512 278ff319c5d308052e9f89a8ae53a99aacaa2b394d28e353b3779a4ee672cb09d91f37a4b0564788456d8e0bed90936d924739e74f7aa2a85482926164dc2fc8 DIST synergy-core-1.14.1.31-rc.tar.gz 4617773 BLAKE2B 3124165e755a494bfe6601dfb20a85fb595c3ff660e0c84a86b91ef90a8a6dd430693f78f7da0115133d8e77dd12178510c7095649e956edd43a8d38903092be SHA512 2ceec51c308815758083cb8ac7739834316cbf821e813c1a1f1dae864d2e7ffbaf43fc306b471e104ce5fa691d9ddb175be3daa7fb7200b9b86ea58b46cc6dd3 +DIST synergy-core-1.14.1.32-stable.tar.gz 4617994 BLAKE2B c015ddff44175ea6b0436ab0d7eccfc4e693d7697a67a1b256d310784d794589b1f1815c95fc5948b9987b2c8d11b6bd0685efe08fc87291835fb03b7dcce970 SHA512 c0835d9f1b3f05a994d8340c7abdeb4ed7ab68739d3c0f05e61f639924978d2de1ed1ded58b398287aa29d013a73114b71a578572d2ad6f96e3fce3e0e1a8bc6 EBUILD synergy-1.14.0.4.ebuild 2413 BLAKE2B c03039c5a861919a581a543d5d8b06e993dbf04f752d7476f1c6bd07bbfd6a0fd5db0da038ad80dced59c0a31e3aef14fa1d3cafe81525f1db81b5ad036c26c4 SHA512 3be5e9de850ca04c950fb3952e4b5f78e7adc53bce0746d4343439143caf0335abc9cc7938146a79472390a4ab347a5e7aff145244c4ee4d0b13b32fa96c4994 EBUILD synergy-1.14.1.31_rc.ebuild 2481 BLAKE2B 0aabf64bf493091c1311641668f6b62f8edec2ed25aff87fc31e1125410cea7de507b821fd065661dba4d2101fcb64c0a5de4d3a7b6afc2da265c46181a0cfe3 SHA512 cfc9e80d306d0f4c1d39ffcdee4e6e950d678c0cced01262955b385d39b164f343ad746819317684efcba7ed615044c188bf59d94cc8cb15b5255af82c8c212c -MISC metadata.xml 332 BLAKE2B 04a719c2b19204a1ea7ed755c89b072b271760a85f3b2b7e734796deca104682c147372a1d154d4fdb493d7025e16cfc2012e7d352fdc88dde93d0f3df477b67 SHA512 8c447ce795a81157c40a2839d8845d6db89ee768f70aa397b686b5ec9a7e59fc66f9fec5561e25ab0aed68bcabc369c0c53660ee2a0b7e24b52e169d5debaae0 +EBUILD synergy-1.14.1.32.ebuild 2481 BLAKE2B 0aabf64bf493091c1311641668f6b62f8edec2ed25aff87fc31e1125410cea7de507b821fd065661dba4d2101fcb64c0a5de4d3a7b6afc2da265c46181a0cfe3 SHA512 cfc9e80d306d0f4c1d39ffcdee4e6e950d678c0cced01262955b385d39b164f343ad746819317684efcba7ed615044c188bf59d94cc8cb15b5255af82c8c212c +MISC metadata.xml 333 BLAKE2B 912556e2d341670a5d4229562606b8c7770228b4b95888fbbfd0e2c9050d40e3bfd0cf9cb2b51799355015f76b68ccd9797408e3b726b494e9682a08f30de9a4 SHA512 e7893b8700886d9e6ea368c57459a4b3185a0272829ebf210002f593b7cdd31b2acbe7d24dd714d81d80628222ae7cd6e60d202969aebe8f3089599903483109 diff --git a/x11-misc/synergy/metadata.xml b/x11-misc/synergy/metadata.xml index 23c6a90172fc..8ea24a437550 100644 --- a/x11-misc/synergy/metadata.xml +++ b/x11-misc/synergy/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> diff --git a/x11-misc/synergy/synergy-1.14.1.32.ebuild b/x11-misc/synergy/synergy-1.14.1.32.ebuild new file mode 100644 index 000000000000..a78eee5c4b7b --- /dev/null +++ b/x11-misc/synergy/synergy-1.14.1.32.ebuild @@ -0,0 +1,118 @@ +# 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="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="gui test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/glib + dev-libs/openssl:= + dev-qt/qtdbus:5 + x11-libs/gdk-pixbuf + x11-libs/libICE:= + x11-libs/libSM:= + x11-libs/libX11:= + x11-libs/libXext:= + x11-libs/libXi:= + x11-libs/libXinerama:= + x11-libs/libXrandr:= + x11-libs/libXtst:= + x11-libs/libnotify + 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 +} |