From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-914514-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 B27751395E2
	for <garchives@archives.gentoo.org>; Thu,  1 Dec 2016 13:40:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B5CA1E0A6C;
	Thu,  1 Dec 2016 13:40:36 +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 8E3FAE0A6C
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Dec 2016 13:40:36 +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 0F214341016
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Dec 2016 13:40:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 78382249C
	for <gentoo-commits@lists.gentoo.org>; Thu,  1 Dec 2016 13:40:31 +0000 (UTC)
From: "Alexis Ballier" <aballier@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, "Alexis Ballier" <aballier@gentoo.org>
Message-ID: <1480599627.da637c60a2ece4197edef0a991a4ac648ba5690b.aballier@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/zynaddsubfx/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/zynaddsubfx/Manifest media-sound/zynaddsubfx/zynaddsubfx-3.0.1.ebuild
X-VCS-Directories: media-sound/zynaddsubfx/
X-VCS-Committer: aballier
X-VCS-Committer-Name: Alexis Ballier
X-VCS-Revision: da637c60a2ece4197edef0a991a4ac648ba5690b
X-VCS-Branch: master
Date: Thu,  1 Dec 2016 13:40:31 +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: f6a68624-2d39-445e-bb97-31dd679bd0e6
X-Archives-Hash: e32c876c12739effc05e0fa5f4eba91a

commit:     da637c60a2ece4197edef0a991a4ac648ba5690b
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 13:40:16 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 13:40:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da637c60

media-sound/zynaddsubfx: bump to 3.0.1

Package-Manager: portage-2.3.2

 media-sound/zynaddsubfx/Manifest                 |  1 +
 media-sound/zynaddsubfx/zynaddsubfx-3.0.1.ebuild | 56 ++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest
index bf3f4c4..cfd4c0c 100644
--- a/media-sound/zynaddsubfx/Manifest
+++ b/media-sound/zynaddsubfx/Manifest
@@ -1,3 +1,4 @@
 DIST ZynAddSubFX-2.4.3.tar.bz2 2536667 SHA256 b84b595660ccec3ebc364c29c2d29def7d28a6947fc1dfb26bd8c34ca0e7f54d SHA512 2314c456db1a8a032a38b012c7c9e01f0a487c5eeb0027a741a4ffd6a7eea3382fcd26a8cd97b89af40800613c1ba164bb683be800957ea403f97dd6f23df5ff WHIRLPOOL 46aa59378f310105504b0ab5903d35826aa03dd080e6c7313237e34a2c9c82cea1d9c0f2cd986c65da38320b1376477b33424b8c69fd8fa591a53325df0b4a65
 DIST zynaddsubfx-2.5.4.tar.bz2 6765621 SHA256 014b1d9ad1750c310369676b46a4555ba6bec512c38ccba17ceb89c78552949a SHA512 d63bf4582f308f02e75502478923f58cd4660706ba6122ee03e3e6697ce661c9ed82477f8c50e0c5eaf93f1ab9dfd4cc8b1c14d78ba0c38971c5d6ecbae413c7 WHIRLPOOL cda1ed0f8fe73f05bc293f13394c6d7f360224adc9d2cd8b2c6c5081d8850c22b4690df0416737765856a9d832fe19a300417ff927769b1d539eca63ec4d9d90
 DIST zynaddsubfx-3.0.0.tar.bz2 6809813 SHA256 94593db88402dedd2f451720b81dd1caea1217a954349bbf254620c12904c45c SHA512 5fec53680352610301b1cfa9b6a6d73dfe17a17bbb5f39f765344054054434e1699c2bca6e56dd416cac9b88e456760be44c760012ddd0e24b9b52c69ffcc8e4 WHIRLPOOL 5377001e8f157c909705834695f05b8ea04d097e045879f12ab24f5e61bca747d8d0415c9f3b8df64e52bcaf7fb26f281c3088911ef9ceaab02983648178e957
+DIST zynaddsubfx-3.0.1.tar.bz2 6811606 SHA256 a8017f382be5af9e46e6e8771fb7d7c1fd2e480cf099bbb0c29606b217dd32e2 SHA512 49592e46872ae966461dfc5f7cbd2ebcf3f3a6d43139f6cd0eba65e098fb33370840c0e1f4f224a18adfc97eae9fa5583eca6a48f43b9200d5522cc413b0ce43 WHIRLPOOL 3bfe976e24f10bd94b6b3c1c994a505fcdb65d993cd76360c5b477567a10a3b864f155a035b538d081607b90ab71ed96a116249399dbda6050ce068c8dd5458b

diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.1.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-3.0.1.ebuild
new file mode 100644
index 00000000..5e8cf7c
--- /dev/null
+++ b/media-sound/zynaddsubfx/zynaddsubfx-3.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils cmake-utils flag-o-matic multilib
+
+DESCRIPTION="ZynAddSubFX is an opensource software synthesizer"
+HOMEPAGE="http://zynaddsubfx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/zynaddsubfx/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa +fltk jack lash"
+
+RDEPEND=">=dev-libs/mini-xml-2.2.1
+	sci-libs/fftw:3.0
+	media-libs/liblo
+	alsa? ( media-libs/alsa-lib )
+	fltk? ( >=x11-libs/fltk-1.3:1 )
+	jack? ( media-sound/jack-audio-connection-kit )
+	lash? ( media-sound/lash )"
+#	portaudio? ( media-libs/portaudio )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+# Upstream uses the following preferences: alsa > jack > portaudio
+# At least one of them must be enabled
+# We do not support portaudio, so if alsa is disabled force jack.
+REQUIRED_USE="!alsa? ( jack )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.5.2-docs.patch
+)
+
+DOCS=( ChangeLog HISTORY.txt README.adoc )
+
+src_configure() {
+	append-cxxflags "-std=c++11"
+	use lash || sed -i -e 's/lash-1.0/lash_disabled/' "${S}"/src/CMakeLists.txt
+	mycmakeargs=(
+		`use fltk && echo "-DGuiModule=fltk" || echo "-DGuiModule=off"`
+		`use alsa && echo "-DOutputModule=alsa" || echo "-DOutputModule=jack"`
+		`use alsa && echo "-DAlsaMidiOutput=TRUE" || echo "-DAlsaMidiOutput=FALSE"`
+		`use jack && echo "-DJackOutput=TRUE" || echo "-DJackOutput=FALSE"`
+		-DPluginLibDir=$(get_libdir)
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	insinto /usr/share/${PN}
+	doins -r "${S}"/instruments/*
+}