summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-11-30 10:23:56 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-11-30 10:25:33 +0100
commitaebee5cebe5c67cb391d40a60fc4c731d2385a11 (patch)
treef5fa8950862240f00a8bd661dd7a745c53527fcd /media-sound
parentmedia-sound/qtractor: bump to 0.8.0 (diff)
downloadgentoo-aebee5cebe5c67cb391d40a60fc4c731d2385a11.tar.gz
gentoo-aebee5cebe5c67cb391d40a60fc4c731d2385a11.tar.bz2
gentoo-aebee5cebe5c67cb391d40a60fc4c731d2385a11.zip
media-sound/zynaddsubfx: bump to 3.0.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/zynaddsubfx/Manifest1
-rw-r--r--media-sound/zynaddsubfx/zynaddsubfx-2.5.4.ebuild3
-rw-r--r--media-sound/zynaddsubfx/zynaddsubfx-3.0.0.ebuild56
3 files changed, 59 insertions, 1 deletions
diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest
index bc3bdd69b41f..85a9b5e770b9 100644
--- a/media-sound/zynaddsubfx/Manifest
+++ b/media-sound/zynaddsubfx/Manifest
@@ -3,3 +3,4 @@ DIST zynaddsubfx-2.5.0.tar.gz 4185453 SHA256 a3810708291367298e04002eda29237ff5f
DIST zynaddsubfx-2.5.1.tar.gz 4214568 SHA256 e2e3b92cfc4c2add5e7af6afc81dc74e31509459034b0680372dabbf68d98405 SHA512 387d96bb5d6dfebd3129c047091380850d80092cf8e397ab1932b7a149d0fd9fb67033768ef68b50d33362f98ba20697ad9e4c25b5cf268484a24ecc156857e0 WHIRLPOOL 323f30cacc6d3c875a1324413aba091cdf4f62925b0deb6faa8500ee0574f2d96e3030151c0bc7c8d044be91c6e38f4283a5251456957e7bc714f914e1daa519
DIST zynaddsubfx-2.5.2.tar.gz 4572973 SHA256 9588f97c83f38899a3c5c0407208ae29edea03c2db8939bffed9f17e7c53d987 SHA512 c48c3ce896d111d96fcfbff482f7488af66b71bff7d3129d34e3bd6db2c6a8433429317a648b3fdbaac5ae1307aa74b9c356e6d956898d0fa903f56d90ed1d8c WHIRLPOOL 3084386f6f3ea8d5caaea2c2b32fc242f1f7b8b539e9984aeea3efbc7743829d9fb5e8bb9da7708085e23b79aa6df9575470facdfcbc9f6cb672ac28de35070c
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
diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.5.4.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.5.4.ebuild
index 1e8f909b3bcf..5e8cf7c6fdd3 100644
--- a/media-sound/zynaddsubfx/zynaddsubfx-2.5.4.ebuild
+++ b/media-sound/zynaddsubfx/zynaddsubfx-2.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -17,6 +17,7 @@ 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 )
diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.0.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-3.0.0.ebuild
new file mode 100644
index 000000000000..5e8cf7c6fdd3
--- /dev/null
+++ b/media-sound/zynaddsubfx/zynaddsubfx-3.0.0.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/*
+}