Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 621504 | Differences between
and this patch

Collapse All | Expand All

(-)a/sci-electronics/pulseview/pulseview-0.3.0.ebuild (-10 / +10 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2016 Gentoo Foundation
1
# Copyright 1999-2017 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI="6"
4
EAPI="6"
Lines 20-34 HOMEPAGE="http://sigrok.org/wiki/PulseView" Link Here
20
20
21
LICENSE="GPL-3"
21
LICENSE="GPL-3"
22
SLOT="0"
22
SLOT="0"
23
IUSE="+decode qt4 qt5 static"
23
IUSE="+decode qt5 static"
24
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} ) ^^ ( qt4 qt5 )"
24
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
25
25
26
RDEPEND="
26
RDEPEND="
27
	>=dev-cpp/glibmm-2.28.0:2
27
	>=dev-libs/boost-1.53:=
28
	>=dev-libs/boost-1.53:=
28
	>=dev-libs/glib-2.28.0:2
29
	>=dev-libs/glib-2.28.0:2
29
	>=dev-cpp/glibmm-2.28.0:2
30
	>=sci-libs/libsigrok-0.4.0[cxx]
30
	>=sci-libs/libsigrok-0.4.0[cxx]
31
	qt4? (
31
	decode? (
32
		>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
33
		${PYTHON_DEPS}
34
	)
35
	!qt5? (
32
		>=dev-qt/qtcore-4.5:4
36
		>=dev-qt/qtcore-4.5:4
33
		>=dev-qt/qtgui-4.5:4
37
		>=dev-qt/qtgui-4.5:4
34
		>=dev-qt/qtsvg-4.5:4
38
		>=dev-qt/qtsvg-4.5:4
Lines 38-47 RDEPEND=" Link Here
38
		dev-qt/qtgui:5
42
		dev-qt/qtgui:5
39
		dev-qt/qtwidgets:5
43
		dev-qt/qtwidgets:5
40
		dev-qt/qtsvg:5
44
		dev-qt/qtsvg:5
41
	)
42
	decode? (
43
		>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
44
		${PYTHON_DEPS}
45
	)"
45
	)"
46
DEPEND="${RDEPEND}
46
DEPEND="${RDEPEND}
47
	virtual/pkgconfig"
47
	virtual/pkgconfig"
Lines 53-59 src_configure() { Link Here
53
		-DDISABLE_WERROR=TRUE
53
		-DDISABLE_WERROR=TRUE
54
		-DENABLE_DECODE=$(usex decode)
54
		-DENABLE_DECODE=$(usex decode)
55
		-DSTATIC_PKGDEPS_LIBS=$(usex static)
55
		-DSTATIC_PKGDEPS_LIBS=$(usex static)
56
		-DFORCE_QT4=$(usex qt4)
56
		-DFORCE_QT4=$(usex !qt5)
57
	)
57
	)
58
	cmake-utils_src_configure
58
	cmake-utils_src_configure
59
}
59
}

Return to bug 621504