diff options
author | Sven Wegener <swegener@gentoo.org> | 2021-03-26 22:24:05 +0100 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2021-03-26 22:24:40 +0100 |
commit | 9cb0a7e583df5020a9c76d585984aa3a799add81 (patch) | |
tree | 40de84acd8d9fc1e438a75fec5c50aa174dd48d0 /sci-electronics/sigrok-cli | |
parent | dev-libs/appstream: 0.14.3 version bump (diff) | |
download | gentoo-9cb0a7e583df5020a9c76d585984aa3a799add81.tar.gz gentoo-9cb0a7e583df5020a9c76d585984aa3a799add81.tar.bz2 gentoo-9cb0a7e583df5020a9c76d585984aa3a799add81.zip |
sci-electronics/sigrok-cli: Version bump to 0.7.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-electronics/sigrok-cli')
-rw-r--r-- | sci-electronics/sigrok-cli/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/sigrok-cli/sigrok-cli-0.7.2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sci-electronics/sigrok-cli/Manifest b/sci-electronics/sigrok-cli/Manifest index 75127c49fb09..faa8d80770c8 100644 --- a/sci-electronics/sigrok-cli/Manifest +++ b/sci-electronics/sigrok-cli/Manifest @@ -1 +1,2 @@ DIST sigrok-cli-0.7.1.tar.gz 221754 BLAKE2B a2edd3ef990c484660dd3fa6f8b8f2ca3eb500a39ac66da1ce9b95c7dd6bfbc5f39b7e5a28872bc8b4c6b7e6282919bbb22f71796ad8e16f3549ef2e4674f02e SHA512 a56d9439efca74f8362ed225d8fa92adfaee053470b166629ad2d8f3ebf5bea05a37782750c9321aabd3b47e634734fa5e5b0cc5353bf49dd1629cdcdb98aef5 +DIST sigrok-cli-0.7.2.tar.gz 230354 BLAKE2B a026f1305391d8c29e13dd0e88ee2e4ec3f8991aad728749bf2d74a0380b994341a056e227c8762dda75a409383fba53050739fe8fc55282b925791af72dfb72 SHA512 5862aa11a586ebb3acf9bffd1d2686cb5b3c3622b436080e05e2fc826a4814cf4746f128c01764f8dc664c5fc1a1e8c6ef66e548770278cc6ea99353d2173143 diff --git a/sci-electronics/sigrok-cli/sigrok-cli-0.7.2.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-0.7.2.ebuild new file mode 100644 index 000000000000..7033695a6683 --- /dev/null +++ b/sci-electronics/sigrok-cli/sigrok-cli-0.7.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit python-single-r1 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" +REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=dev-libs/glib-2.32.0 + >=sci-libs/libsigrok-0.5.0:= + decode? ( + >=sci-libs/libsigrokdecode-0.5.0:=[${PYTHON_SINGLE_USEDEP}] + ${PYTHON_DEPS} + )" +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 +} |