From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-894935-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 6D32E13832E
	for <garchives@archives.gentoo.org>; Wed,  3 Aug 2016 11:42:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A31F721C0A9;
	Wed,  3 Aug 2016 11:42:00 +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 1F04D21C0A1
	for <gentoo-commits@lists.gentoo.org>; Wed,  3 Aug 2016 11:41:57 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 0C52E340AC7
	for <gentoo-commits@lists.gentoo.org>; Wed,  3 Aug 2016 11:41:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B531D245D
	for <gentoo-commits@lists.gentoo.org>; Wed,  3 Aug 2016 11:41:51 +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: <1470224121.5c564212872349d0ed6b9d547625f4319e3fc65e.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.3.ebuild
X-VCS-Directories: sys-firmware/sigrok-firmware-fx2lafw/
X-VCS-Committer: swegener
X-VCS-Committer-Name: Sven Wegener
X-VCS-Revision: 5c564212872349d0ed6b9d547625f4319e3fc65e
X-VCS-Branch: master
Date: Wed,  3 Aug 2016 11:41:51 +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: f3413771-1f7b-415c-b079-9b5494ca215c
X-Archives-Hash: 4bf6f3304c2a5d073bb0ee0fd68db64f

commit:     5c564212872349d0ed6b9d547625f4319e3fc65e
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  3 11:31:53 2016 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 11:35:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c564212

sys-firmware/sigrok-firmware-fx2lafw: Version bump, bug #579904

Package-Manager: portage-2.2.28
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

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

diff --git a/sys-firmware/sigrok-firmware-fx2lafw/Manifest b/sys-firmware/sigrok-firmware-fx2lafw/Manifest
index 1d914d3..3b69f77 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.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-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

diff --git a/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.3.ebuild b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.3.ebuild
new file mode 100644
index 0000000..e2847a4
--- /dev/null
+++ b/sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.3.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
+}