blob: 24579a8395f3da99c2c7bc116dcac6697f3f6de1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils flag-o-matic gnome2-utils cmake-utils
DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers"
HOMEPAGE="http://synergy-project.org/ https://github.com/symless/synergy-core"
SRC_URI="
https://github.com/symless/${PN}-core/archive/v${PV}-stable.tar.gz -> ${P}.tar.gz
"
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"
S=${WORKDIR}/${PN}-core-${PV}-stable
COMMON_DEPEND="
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
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
"
DEPEND="
${COMMON_DEPEND}
x11-base/xorg-proto
"
RDEPEND="
${COMMON_DEPEND}
"
src_prepare() {
cmake-utils_src_prepare
}
src_configure() {
append-cxxflags ${mycmakeargs}
local mycmakeargs=( -DSYNERGY_REVISION=0bd448d5 )
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install () {
dobin ../${P}_build/bin/${PN}{c,s} ../${P}_build/bin/synergy-core
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 doc/synergy.conf.example* ChangeLog
}
|