summaryrefslogtreecommitdiff
path: root/media-sound/zynaddsubfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/zynaddsubfx
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/zynaddsubfx')
-rw-r--r--media-sound/zynaddsubfx/Manifest8
-rw-r--r--media-sound/zynaddsubfx/files/zynaddsubfx-2.5.2-docs.patch14
-rw-r--r--media-sound/zynaddsubfx/metadata.xml11
-rw-r--r--media-sound/zynaddsubfx/zynaddsubfx-3.0.1-r1.ebuild55
-rw-r--r--media-sound/zynaddsubfx/zynaddsubfx-3.0.2.ebuild55
5 files changed, 143 insertions, 0 deletions
diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest
new file mode 100644
index 000000000000..a04e42c9970f
--- /dev/null
+++ b/media-sound/zynaddsubfx/Manifest
@@ -0,0 +1,8 @@
+AUX zynaddsubfx-2.5.2-docs.patch 536 SHA256 d121851684dfc0dcd4d39dbd915a64ae657d3517f4853ecb6233d83857ebd416 SHA512 a2ac81dbc36c44678733fd43569a9cc1431d1491a5ef5d43253db6086107e49feaf4154b938b8c05111a5174361351338f0dc9db377218b1805598e1780f6d18 WHIRLPOOL a828e09e640af5d0e88b89ed7e5f99cf6a426a87e46173d1866256f916b192807dcbed4715df47a05c3ab7f9fe4ded171afd4d912a00512e9186e0422b447e08
+DIST zynaddsubfx-3.0.1.tar.bz2 6811606 SHA256 a8017f382be5af9e46e6e8771fb7d7c1fd2e480cf099bbb0c29606b217dd32e2 SHA512 49592e46872ae966461dfc5f7cbd2ebcf3f3a6d43139f6cd0eba65e098fb33370840c0e1f4f224a18adfc97eae9fa5583eca6a48f43b9200d5522cc413b0ce43 WHIRLPOOL 3bfe976e24f10bd94b6b3c1c994a505fcdb65d993cd76360c5b477567a10a3b864f155a035b538d081607b90ab71ed96a116249399dbda6050ce068c8dd5458b
+DIST zynaddsubfx-3.0.2.tar.bz2 7979193 SHA256 95defd8250b79fbe7fb69be860df6df05d82263cabf83cf53b391486e910b926 SHA512 96d1df903a6afbaee991221ca30b21a20d97bc6d1cbe5c9fef94f2d1c3fb88e0294c263aec282559885d6e2f5841ad2c80d863af9f58f161791a33a9c0c08f57 WHIRLPOOL 91fbe3c1ab0d424fc244f8454ecbdec2152f676fbd296424555c876963cc80730e6f79c5c4b54bde1b24a02a73ed223f42f89d96b160bf1ad7fd21297ff09ffc
+EBUILD zynaddsubfx-3.0.1-r1.ebuild 1571 SHA256 0fdc35cb7a630832ebd6a65a1da7a8565ca3e6f10ab30b2a0876d93d70bcf8b5 SHA512 163faa12e7e0028d9c426e1b2668a6c71f9f2362ba1057d3a943ac3dffcf5dfdf744519b906d6a6377464215eb4e196543f99082436ef9f612931f9ddcd3fdfd WHIRLPOOL 794a82526e019b8d64892e749a31221b3f741f4149aecf3fe5bc22238ad25cedafb42770df29b3c5613d1f51b1a8d051caa23b445b0c1198074ab116ce577acd
+EBUILD zynaddsubfx-3.0.2.ebuild 1573 SHA256 18b1ed6b59f79e60e695b08f6d0849793ee3edbbba704b334a10b8cde5885bb4 SHA512 6ef70dd65df30cd77c4f278248e7dfe83f811d7b26af7bc58804016cd8c08d0df14f2ade82c3e43d6d4e6c411b3ed6a336b3d1a9f9d90b7be14c9185ac531e49 WHIRLPOOL 5efd66cd897a2425a772628e90b467546d4c5959da7aa3a381df1e771fa7231d1fa74ef071e43e6073428d3ae7f55c2ddec9566ce65f8b5183505184d48b9cd3
+MISC ChangeLog 4167 SHA256 b955218b9bbc895b5e2bd7e1623627203a612b4ca066b7fcb3c68a359f79c535 SHA512 c2859a57917e9bc438141a6c9e7f837358d8a3fd9b458c28226ffef2e43f3996676c1d5c8e6e5317a445039006df40eb79fb23b376d18a859b74fa0e225758c5 WHIRLPOOL c836e5664e2497fbe4cd5d8f28a4f5c1633a8f24cba1a9b9ef4598c401019953a911c1200a5ee87ce582ec84f6c411b0aedb4cd3bf8aec2f8cc87c0844baa5a8
+MISC ChangeLog-2015 8272 SHA256 db0a05d195e9028d4fc702220dd0c2237a4a2d016a1568439131996d3cef5c6d SHA512 3932e1ece3b49d63df806776a9f0ce0f686a7ceb4088e1fe34b351e21f44881e9b09a9958fa41d0135c69740ee216f951af7a921023d497b9e963ecbdcf1afc6 WHIRLPOOL 11f72238677e537c82afcbbd3b288b0caaa584bbc1b4121221779485e492f434c3b6541fa460ebcdfaa8d68e59409559811af5aa37e856353fea39650525d604
+MISC metadata.xml 340 SHA256 80481e2128dfd34756b95f733b10cf085d9ee6b80b7c9694690ac6d0a27e9347 SHA512 c59fcb3065e3b34c3e3e23a8db07dbe245a8addcf7a6958834b5715bc0a8319c8d0cfa3b40925e7e9838df031843a5218bbcf91721ce57bee2632111dc27d4a3 WHIRLPOOL 9b7c26de55418a7b9320a296d18f8190c694199860f032802a8f7080004ba7395e5a023f8f8234c56b80be68f01e1a59eca394372ce7e5aaa8f37ac021c1095a
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 000000000000..e3cc2784cdaa
--- /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/metadata.xml b/media-sound/zynaddsubfx/metadata.xml
new file mode 100644
index 000000000000..bca5422640b4
--- /dev/null
+++ b/media-sound/zynaddsubfx/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">zynaddsubfx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.1-r1.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..0060de73b304
--- /dev/null
+++ b/media-sound/zynaddsubfx/zynaddsubfx-3.0.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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? ( virtual/jack )
+ 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/*
+}
diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.2.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-3.0.2.ebuild
new file mode 100644
index 000000000000..b07ade848065
--- /dev/null
+++ b/media-sound/zynaddsubfx/zynaddsubfx-3.0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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? ( virtual/jack )
+ 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/*
+}