From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-920208-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 75F85139086
	for <garchives@archives.gentoo.org>; Fri, 30 Dec 2016 18:44:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6643521C038;
	Fri, 30 Dec 2016 18:44:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2D0B721C038
	for <gentoo-commits@lists.gentoo.org>; Fri, 30 Dec 2016 18:44:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9279B3416D2
	for <gentoo-commits@lists.gentoo.org>; Fri, 30 Dec 2016 18:44:15 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0178B24EC
	for <gentoo-commits@lists.gentoo.org>; Fri, 30 Dec 2016 18:44:14 +0000 (UTC)
From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" <swegener@gentoo.org>
Message-ID: <1483123450.a0afb6525ba29ec286ee5e2421d25f2da43ed65e.swegener@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/sigrok-firmware-fx2lafw/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-firmware/sigrok-firmware-fx2lafw/Manifest sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.4.ebuild
X-VCS-Directories: sys-firmware/sigrok-firmware-fx2lafw/
X-VCS-Committer: swegener
X-VCS-Committer-Name: Sven Wegener
X-VCS-Revision: a0afb6525ba29ec286ee5e2421d25f2da43ed65e
X-VCS-Branch: master
Date: Fri, 30 Dec 2016 18:44:14 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: f7d34a10-fb93-4df7-aa60-80b1471c0aa4
X-Archives-Hash: e2e9820a39911a983249bf9aa5d19bc6

commit:     a0afb6525ba29ec286ee5e2421d25f2da43ed65e
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 18:43:19 2016 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 18:44:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0afb652

sys-firmware/sigrok-firmware-fx2lafw: Version bump

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 sys-firmware/sigrok-firmware-fx2lafw/Manifest      |  2 +
 .../sigrok-firmware-fx2lafw-0.1.4.ebuild           | 54 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sys-firmware/sigrok-firmware-fx2lafw/Manifest b/sys-firmware/sigrok-firmware-fx2lafw/Manifest
index 3b69f77..9472ce8 100644
--- a/sys-firmware/sigrok-firmware-fx2lafw/Manifest
+++ b/sys-firmware/sigrok-firmware-fx2lafw/Manifest
@@ -1,4 +1,6 @@
 DIST sigrok-firmware-fx2lafw-0.1.2.tar.gz 148798 SHA256 85c658f851fd90089382756b4c5f0326f96d630a0ad5637455a84a4a058b3572 SHA512 b1f90e06227dcd3832bb61267ef8d20a7b4df702228b884c13725e472ed56bd971a46e2b4104bde666abc599edbe20cdbb51e30ee423b07c27ab1093de5953df WHIRLPOOL bbe4705b39424c86f92ecef4d4b13e1fbf21c27e306edc8674358fc6c62a665c35753d58c53dc8177fb939443029f83ac33f1c97db66829be304919b2ffd83f1
 DIST sigrok-firmware-fx2lafw-0.1.3.tar.gz 128057 SHA256 f75102c4008f89c50fef7f5f5fc144d7a4b3a2cccfcbf181d9dc7015708e7c09 SHA512 60ed3bc41ec29217436f0aeff6058ad565f0e04ff00fac61f7be5c9f3dbfcfe1b0f09ef4168e67a58b2e93ff575f895afe79110e70245db020281f8efa25e0b4 WHIRLPOOL ea2352223c90d1bab22b0d631ed1cf043a3c5ce00f4f6a5f97d42dfae48716748b63bd6a87b232c47660d0de17be227eb9dc7d3af9e721f7208aa8eaee4b2b1e
+DIST sigrok-firmware-fx2lafw-0.1.4.tar.gz 140696 SHA256 ce6bb503703bab1ea846fc5acd6b8b43e0fe8521eda632292fd9f83b24c70d8c SHA512 19b2b75d2e08804b15ba8f5cae5eca854f1b56a7b1c30b01b0c6611ff6b1fd5a80c2b90d686fd37a1d0c677974070ef61b2fb131b8094d36c38578a4a4ddbcfd WHIRLPOOL 115a9324b9e6165b12f82175ed87908c58a53e20047dcb2b8bdb4e5dbe9d0095b7ed8093b8681ee9115bcf827dcc516c3788aac3ce401f47557624184c056691
 DIST sigrok-firmware-fx2lafw-bin-0.1.2.tar.gz 36486 SHA256 f28d411240a2f460d334e89ad18f5a632fa2a0f4afa25e030a26b41200351c70 SHA512 74d52e5200886ba3328f411e46419ed6d6892fe2ba6c0f66a94b19be82f7d04837d8a41093d1c14ce73609f84f6277956c9c44febab8a7f150c32ba7f7ab28b1 WHIRLPOOL 039a803d8e8177e731435276b03816910fba35ed51d0ac744bdff1df1ef603a728bb2046a5f057fa135ac648eb9f2c838ec16d345b1961e1fc28f411836f378e
 DIST sigrok-firmware-fx2lafw-bin-0.1.3.tar.gz 38531 SHA256 741d84ccd40b506957629b4a541380c67d7f845001775372c75bd993bc1520e3 SHA512 b7df7d55fba2e9e3a823f80a1f1df2232631875a4f3fe57e4ef52fa9bf8d307524baf9cb7602d61b89698f12d9bcc9d6f93bd9be30fb8027f320229b089730f4 WHIRLPOOL 5191f179899461460e3b6137242d43a37621ea3a56ec43f00f25b9da72b7e6cf2642b4215019ecb9e84c680deafe5c595ab701c8653db840aa546197a8c2abac
+DIST sigrok-firmware-fx2lafw-bin-0.1.4.tar.gz 48760 SHA256 e48ae384fdcf3f552b91fb35d1a49fd211cfdadebbdbbb5b31befb8eb0f8a35a SHA512 06d2fa53408666360629eaf738bda676da0616da90530e3fd6c529c2b54e9432ab3893d7bfe6e185e43fc8166ac6733fd573778e55d529a8d84dcd44d7f8a4ca WHIRLPOOL 44ed927a4884e83029584f848803e6266677e76f1888b1b71c7e98520e2fb07eff1d61aa2dc77419745c4e963bbecad4254c701a3ec5daf4042804df1f80f355

diff --git a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.4.ebuild b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.4.ebuild
new file mode 100644
index 00000000..e2847a4
--- /dev/null
+++ b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+SDCC_DEPEND=">=dev-embedded/sdcc-2.9.0[device-lib(+),mcs51(+)]"
+
+if [[ ${PV} == "9999" ]]; then
+	EGIT_REPO_URI="git://sigrok.org/${PN}"
+	IUSE=""
+	inherit git-r3 autotools
+else
+	SRC_URI="binary? ( http://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz )
+		!binary? ( http://sigrok.org/download/source/${PN}/${P}.tar.gz )"
+	KEYWORDS="~amd64 ~x86"
+	IUSE="binary"
+	SDCC_DEPEND="!binary? ( ${SDCC_DEPEND} )"
+fi
+
+DESCRIPTION="open-source firmware for Cypress FX2 chips which makes them usable as simple logic analyzer hardware"
+HOMEPAGE="http://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
+}