|
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-44
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 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 |
dev-qt/qtcore:5 |
|
|
31 |
dev-qt/qtgui:5 |
| 32 |
dev-qt/qtsvg:5 |
| 33 |
dev-qt/qtwidgets:5 |
| 30 |
>=sci-libs/libsigrok-0.4.0[cxx] |
34 |
>=sci-libs/libsigrok-0.4.0[cxx] |
| 31 |
qt4? ( |
|
|
| 32 |
>=dev-qt/qtcore-4.5:4 |
| 33 |
>=dev-qt/qtgui-4.5:4 |
| 34 |
>=dev-qt/qtsvg-4.5:4 |
| 35 |
) |
| 36 |
qt5? ( |
| 37 |
dev-qt/qtcore:5 |
| 38 |
dev-qt/qtgui:5 |
| 39 |
dev-qt/qtwidgets:5 |
| 40 |
dev-qt/qtsvg:5 |
| 41 |
) |
| 42 |
decode? ( |
35 |
decode? ( |
| 43 |
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}] |
36 |
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}] |
| 44 |
${PYTHON_DEPS} |
37 |
${PYTHON_DEPS} |
|
Lines 53-59
src_configure() {
Link Here
|
| 53 |
-DDISABLE_WERROR=TRUE |
46 |
-DDISABLE_WERROR=TRUE |
| 54 |
-DENABLE_DECODE=$(usex decode) |
47 |
-DENABLE_DECODE=$(usex decode) |
| 55 |
-DSTATIC_PKGDEPS_LIBS=$(usex static) |
48 |
-DSTATIC_PKGDEPS_LIBS=$(usex static) |
| 56 |
-DFORCE_QT4=$(usex qt4) |
|
|
| 57 |
) |
49 |
) |
| 58 |
cmake-utils_src_configure |
50 |
cmake-utils_src_configure |
| 59 |
} |
51 |
} |