diff options
author | Sven Wegener <swegener@gentoo.org> | 2018-10-03 19:32:04 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2018-10-03 19:36:05 +0000 |
commit | bb69ce69f56f9b648e9afdd582d0d0a428bd6ccf (patch) | |
tree | 360ca07aff46d66182e8d84906601dace0aa44c3 /sci-libs/libsigrokdecode | |
parent | sci-libs/libsigrokdecode: Update glib dependency (diff) | |
download | gentoo-bb69ce69f56f9b648e9afdd582d0d0a428bd6ccf.tar.gz gentoo-bb69ce69f56f9b648e9afdd582d0d0a428bd6ccf.tar.bz2 gentoo-bb69ce69f56f9b648e9afdd582d0d0a428bd6ccf.zip |
sci-libs/libsigrokdecode: Version bump
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'sci-libs/libsigrokdecode')
-rw-r--r-- | sci-libs/libsigrokdecode/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/libsigrokdecode/libsigrokdecode-0.5.2.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sci-libs/libsigrokdecode/Manifest b/sci-libs/libsigrokdecode/Manifest index 05893d9ef93b..69da1b5e5717 100644 --- a/sci-libs/libsigrokdecode/Manifest +++ b/sci-libs/libsigrokdecode/Manifest @@ -3,3 +3,4 @@ DIST libsigrokdecode-0.4.0.tar.gz 694223 BLAKE2B bf1cc0f78086b64ce029b794c3c9060 DIST libsigrokdecode-0.4.1.tar.gz 751546 BLAKE2B b1625714a75e481d94956bd64af264c87b440c0a236f19ff02d18cc16964b701de8799a81943f4e9ec1181b1906c5e62deca98fbbbc30dfbdf8bff2208f86bc6 SHA512 b072001190e80a194986524fd4de4d32f4559d618b151a3dbfa2c63b292c8a490535cb7479cfa665c4e8d3798251a5d6f5ecfa456ca669237237ffced3e88272 DIST libsigrokdecode-0.5.0.tar.gz 790399 BLAKE2B a9d57ddfa72b96937a8ebb2f5009ab06d73a040778163fd24bc29d9379061aa7d9837277bc460ebaea65d266e4c53659c1e84e078b2fbffc7414925237b11058 SHA512 79d497f6c20efcffdf840b6f4a437b29e68fa49b9c6e73f66e5e2429d58033b83272a602289dd46ffe9f1115c36f2ad8c7d40e43f58494b027890bebcfe080a5 DIST libsigrokdecode-0.5.1.tar.gz 813809 BLAKE2B 6850d6a543917989e277ed93335005c9d802a33f7f3c1f5a5883d060b0063da797ae271847fc63b70b7dc2149926bd8e2a6387e5d488830096bc1924ca1f2205 SHA512 bda14475317863c06615f578f9d26e267da83f7d9fdd7cd24f4e1f23344694763fb78b3b77acfa83eafc792ecd8f4554a9bbdd24fa42bee760426df4a428be7a +DIST libsigrokdecode-0.5.2.tar.gz 852133 BLAKE2B 7a73c3766582d6fd33e597ca286b0125ece3e5e9f5f3b70dcd79dd42693b9688df674dd5d1876ddef798a5b3aee97f47df4d40b52c5a24b9b8c09a347cda96ad SHA512 49d0cba3a5fe17593165c3669dc8530e4e68497369b461f39b63c903f41a3060766c23d44c4112c9b9a5e740ae1e2c03a735494ac798dc631f3913079be04e22 diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.2.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.2.ebuild new file mode 100644 index 000000000000..7c39504420c1 --- /dev/null +++ b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit eutils python-single-r1 + +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="provide (streaming) protocol decoding functionality" +HOMEPAGE="https://sigrok.org/wiki/Libsigrokdecode" + +LICENSE="GPL-3" +SLOT="0/4" +IUSE="static-libs" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=dev-libs/glib-2.34.0 + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + [[ ${PV} == "9999" ]] && eautoreconf + + # Only a test program (not installed, and not used by src_test) + # is used by libsigrok, so disable it to avoid the compile. + sed -i \ + -e '/build_runtc=/s:yes:no:' \ + configure || die + + eapply_user +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_test() { + emake check +} + +src_install() { + default + prune_libtool_files +} |