diff options
author | Sven Wegener <swegener@gentoo.org> | 2022-01-08 16:22:55 +0100 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2022-01-08 16:31:43 +0100 |
commit | dab36d146ec26fe68a1e1a979de02a7c90fca058 (patch) | |
tree | 10e4f7c843a3df5fe88c85ed086d7f78dffee6be /sci-electronics/sigrok-cli/sigrok-cli-0.7.2-r1.ebuild | |
parent | sci-electronics/sigrok-cli: Cleanup (diff) | |
download | gentoo-dab36d146ec26fe68a1e1a979de02a7c90fca058.tar.gz gentoo-dab36d146ec26fe68a1e1a979de02a7c90fca058.tar.bz2 gentoo-dab36d146ec26fe68a1e1a979de02a7c90fca058.zip |
sci-electronics/sigrok-cli: Remove python USE flags
Selecting the python interpreter is completely done by libsigrokdecode.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-electronics/sigrok-cli/sigrok-cli-0.7.2-r1.ebuild')
-rw-r--r-- | sci-electronics/sigrok-cli/sigrok-cli-0.7.2-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-electronics/sigrok-cli/sigrok-cli-0.7.2-r1.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-0.7.2-r1.ebuild new file mode 100644 index 000000000000..730463965c90 --- /dev/null +++ b/sci-electronics/sigrok-cli/sigrok-cli-0.7.2-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit xdg-utils + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="git://sigrok.org/${PN}" + inherit git-r3 autotools +else + SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Command-line client for the sigrok logic analyzer software" +HOMEPAGE="https://sigrok.org/wiki/Sigrok-cli" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+decode" + +RDEPEND=">=dev-libs/glib-2.32.0 + >=sci-libs/libsigrok-0.5.0:= + decode? ( >=sci-libs/libsigrokdecode-0.5.0:= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + [[ ${PV} == "9999" ]] && eautoreconf + eapply_user +} + +src_configure() { + econf $(use_with decode libsigrokdecode) +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |