blob: 0f9fa1dc9baf8e6ad92f8969156837deba8fb249 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils multilib
DESCRIPTION="Clipboard manager with advanced features"
HOMEPAGE="https://github.com/hluk/CopyQ"
SRC_URI="https://github.com/hluk/CopyQ/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="qt4 +qt5 test webkit"
REQUIRED_USE="|| ( qt4 qt5 )"
RDEPEND="
x11-libs/libX11
x11-libs/libXfixes
x11-libs/libXtst
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtscript:4
webkit? ( dev-qt/qtwebkit:4 )
)
qt5? (
dev-qt/linguist-tools:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtscript:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
webkit? ( dev-qt/qtwebkit:5 )
)
"
DEPEND="${RDEPEND}
qt4? ( test? ( dev-qt/qttest:4 ) )
qt5? ( test? ( dev-qt/qttest:5 ) )
"
S="${WORKDIR}"/CopyQ-${PV}
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with qt5)
$(cmake-utils_use_with webkit)
$(cmake-utils_use_with test TESTS)
-DPLUGIN_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}/plugins/
)
cmake-utils_src_configure
}
|