diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-11-17 09:40:56 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-11-17 09:40:56 +0100 |
commit | b720951f73de6b176136dbb8f5f4fdc9c4f705d2 (patch) | |
tree | c82fa83679bb893afa17e5c6031cf8dac63c7b3a /media-sound/zynaddsubfx | |
parent | 7c9ebb752e719130aa71fe5ce2ed5b251ef59ab8 (diff) | |
download | gentoo-b720951f73de6b176136dbb8f5f4fdc9c4f705d2.tar.gz gentoo-b720951f73de6b176136dbb8f5f4fdc9c4f705d2.tar.xz |
media-sound/zynaddsubfx: bump to 2.5.2
Package-Manager: portage-2.2.24
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-sound/zynaddsubfx')
-rw-r--r-- | media-sound/zynaddsubfx/Manifest | 1 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/files/zynaddsubfx-2.5.2-docs.patch | 14 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.5.2.ebuild | 54 |
3 files changed, 69 insertions, 0 deletions
diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest index 993e52204a1..7fac81fb5b4 100644 --- a/media-sound/zynaddsubfx/Manifest +++ b/media-sound/zynaddsubfx/Manifest @@ -3,3 +3,4 @@ DIST ZynAddSubFX-2.4.2.tar.bz2 2447485 SHA256 7d43bfece3b02625528dab7139e0fbada5 DIST ZynAddSubFX-2.4.3.tar.bz2 2536667 SHA256 b84b595660ccec3ebc364c29c2d29def7d28a6947fc1dfb26bd8c34ca0e7f54d SHA512 2314c456db1a8a032a38b012c7c9e01f0a487c5eeb0027a741a4ffd6a7eea3382fcd26a8cd97b89af40800613c1ba164bb683be800957ea403f97dd6f23df5ff WHIRLPOOL 46aa59378f310105504b0ab5903d35826aa03dd080e6c7313237e34a2c9c82cea1d9c0f2cd986c65da38320b1376477b33424b8c69fd8fa591a53325df0b4a65 DIST zynaddsubfx-2.5.0.tar.gz 4185453 SHA256 a3810708291367298e04002eda29237ff5f70240e432be84ea48b54895746aa7 SHA512 830388593079690153ae9cdcfb35362bd33208d93d7d56d5f4967c626dc3a12c7717088281d382696fbe22294874e37efd1566874743fb17dba54fee0eb40b0a WHIRLPOOL 81ca9724906846fcfdbc91e04865da9d8d3ebbb5a19ac5cb42639f13228d709815e651c07a4fd80b3c2af7b0f2f2538d50c06b0026119bb7f9e7eb922a9ed6a3 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 diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-2.5.2-docs.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-2.5.2-docs.patch new file mode 100644 index 00000000000..e3cc2784cda --- /dev/null +++ b/media-sound/zynaddsubfx/files/zynaddsubfx-2.5.2-docs.patch @@ -0,0 +1,14 @@ +Index: zynaddsubfx-2.5.2/CMakeLists.txt +=================================================================== +--- zynaddsubfx-2.5.2.orig/CMakeLists.txt ++++ zynaddsubfx-2.5.2/CMakeLists.txt +@@ -28,9 +28,6 @@ include(CTestConfig.cmake) + #Currently the only directory that uses cmake + add_subdirectory(src) + +-install(FILES AUTHORS.txt COPYING HISTORY.txt README.adoc +- DESTINATION share/doc/zynaddsubfx +- ) + install(FILES zynaddsubfx-jack.desktop zynaddsubfx-alsa.desktop + DESTINATION share/applications) + install(FILES zynaddsubfx.svg diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.5.2.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.5.2.ebuild new file mode 100644 index 00000000000..fdf3a480d05 --- /dev/null +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.5.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils flag-o-matic + +DESCRIPTION="ZynAddSubFX is an opensource software synthesizer" +HOMEPAGE="http://zynaddsubfx.sourceforge.net/" +SRC_URI="mirror://sourceforge/zynaddsubfx/${P}.tar.gz" + +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 + 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"` + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + insinto /usr/share/${PN} + doins -r "${S}"/instruments/* +} |