1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
8 inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
10 if [[ ${PV} == "9999" ]]; then
11 EGIT_REPO_URI="git://sigrok.org/${PN}"
14 SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DESCRIPTION="Qt based logic analyzer GUI for sigrok"
19 HOMEPAGE="https://sigrok.org/wiki/PulseView"
24 REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
27 >=dev-libs/boost-1.55:=
28 >=dev-libs/glib-2.28.0:2
29 >=dev-cpp/glibmm-2.28.0:2
30 >=sci-libs/libsigrok-0.5.1:=[cxx]
36 >=sci-libs/libsigrokdecode-0.5.2:=[${PYTHON_USEDEP}]
42 DOCS=( HACKING NEWS README )
47 -DENABLE_DECODE=$(usex decode)
48 -DSTATIC_PKGDEPS_LIBS=$(usex static)
50 cmake-utils_src_configure
54 gnome2_icon_cache_update
55 xdg_desktop_database_update
59 gnome2_icon_cache_update
60 xdg_desktop_database_update