diff options
author | Sven Wegener <swegener@gentoo.org> | 2019-11-17 16:50:11 +0100 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2019-11-17 16:50:45 +0100 |
commit | 7137a05c586d9c149271456c21bc4daafb281004 (patch) | |
tree | faaeb5dbcd73d74ab4ea986425560f467474ee3d /sys-firmware | |
parent | sci-chemistry/MDAnalysis: move to py3.7 and eapi7 (diff) | |
download | gentoo-7137a05c586d9c149271456c21bc4daafb281004.tar.gz gentoo-7137a05c586d9c149271456c21bc4daafb281004.tar.bz2 gentoo-7137a05c586d9c149271456c21bc4daafb281004.zip |
sys-firmware/sigrok-firmware-fx2lafw: Version bump to 0.1.7
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/sigrok-firmware-fx2lafw/Manifest | 2 | ||||
-rw-r--r-- | sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-firmware/sigrok-firmware-fx2lafw/Manifest b/sys-firmware/sigrok-firmware-fx2lafw/Manifest index a868a44ad632..98e54c7769ae 100644 --- a/sys-firmware/sigrok-firmware-fx2lafw/Manifest +++ b/sys-firmware/sigrok-firmware-fx2lafw/Manifest @@ -1,2 +1,4 @@ DIST sigrok-firmware-fx2lafw-0.1.6.tar.gz 143755 BLAKE2B 017222f5cedf8cda16e08af75761fc27cf04335557490e03f6fcd4a875d2e67f64a6d01fa7e8ff43aaa5d2633d176a0d756f693819f839c87d7fcd43f829e378 SHA512 d636e9a86009a4581630e38beaee144330bd3ea2e2f69487b09c3d8e372e722877f76dab05c8c5098c6fabd041eab04c3169a0d2f8fbed8a6f5de8c3e6f5841d +DIST sigrok-firmware-fx2lafw-0.1.7.tar.gz 145443 BLAKE2B 6e19fde87caf942ca8f95a67f5ba5553e2044e9ba43ca81f6b7be69f4a75ca25e946edf80d0f4ddf7d361f98aff68e9a0d950070fbca24423c908fbc70155ae9 SHA512 e9973980b07cef395637476c6294473e349770be24afe6b03d284bf3057f6b32fe686e25f3baa180b96455397db43e16f191a9feb07bf46e097170fb4d326f8e DIST sigrok-firmware-fx2lafw-bin-0.1.6.tar.gz 52195 BLAKE2B 8e20720efeb5c4bc2ed91698db625439594669920fecce785e3ea4213f32a06da3186489c78b27bb35f1574b6ebac82bfe01352806c39ecc671568c73b93e5af SHA512 0dd4eb5327fbf5a8ee413b5ad460e2febe7da6aba13cfe4c7467966e4d4a0033b796ce7634647c0bbfa335034180272e7f8167b7a8181fb73ed3839891a44e46 +DIST sigrok-firmware-fx2lafw-bin-0.1.7.tar.gz 54529 BLAKE2B b8659ba77f6976a927bd60c903abbc7bf7128d4dfff8a58dfe1f6522c6f7d5e5c0f8c8bc170fef7499461426ab1059093c4cc1553a39f4a059786cfc144f787f SHA512 60faac29198532bd5e03e44ed7f89c1502c83c6cf60ec5cc0f3ae9891c45b5de55eba5304c47d3231c8222ff61f1425aed88a44e7ff89d30b75d6e5faf7a623c diff --git a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7.ebuild b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7.ebuild new file mode 100644 index 000000000000..1f85fa931259 --- /dev/null +++ b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +SDCC_DEPEND=">=dev-embedded/sdcc-2.9.0[device-lib(+),mcs51(+),sdcpp(+)] + <dev-embedded/sdcc-3.8.6" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="git://sigrok.org/${PN}" + IUSE="" + inherit git-r3 autotools +else + SRC_URI="binary? ( https://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz ) + !binary? ( https://sigrok.org/download/source/${PN}/${P}.tar.gz )" + KEYWORDS="~amd64 ~x86" + IUSE="binary" + SDCC_DEPEND="!binary? ( ${SDCC_DEPEND} )" +fi + +DESCRIPTION="Firmware for Cypress FX2 chips for use as simple logic analyzer hardware" +HOMEPAGE="https://sigrok.org/wiki/Fx2lafw" + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND="" +DEPEND="${RDEPEND} + ${SDCC_DEPEND}" + +src_unpack() { + if [[ ${PV} == "9999" ]]; then + git-r3_src_unpack + else + default + # The binary & source dirs are slightly diff. + use binary && S="${WORKDIR}/${PN}-bin-${PV}" + fi +} + +src_prepare() { + [[ ${PV} == "9999" ]] && eautoreconf + eapply_user +} + +src_install() { + if [[ ${PV} != "9999" ]] && use binary ; then + insinto /usr/share/sigrok-firmware + doins *.fw + dodoc ChangeLog NEWS README + else + default + fi +} |