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 gnome2-utils python-single-r1 xdg-utils
10 if [[ ${PV} == "9999" ]]; then
11 EGIT_REPO_URI="git://sigrok.org/${PN}"
12 inherit git-r3 autotools
14 SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DESCRIPTION="Command-line client for the sigrok logic analyzer software"
19 HOMEPAGE="https://sigrok.org/wiki/Sigrok-cli"
24 REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
26 RDEPEND=">=dev-libs/glib-2.32.0
27 >=sci-libs/libsigrok-0.5.0:=
29 >=sci-libs/libsigrokdecode-0.5.0:=[${PYTHON_SINGLE_USEDEP}]
36 [[ ${PV} == "9999" ]] && eautoreconf
41 econf $(use_with decode libsigrokdecode)
45 gnome2_icon_cache_update
46 xdg_desktop_database_update
50 gnome2_icon_cache_update
51 xdg_desktop_database_update