summaryrefslogtreecommitdiff
path: root/media-sound/ecasound
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/ecasound
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/ecasound')
-rw-r--r--media-sound/ecasound/Manifest8
-rw-r--r--media-sound/ecasound/ecasound-2.6.0-r1.ebuild69
-rw-r--r--media-sound/ecasound/ecasound-2.9.1-r1.ebuild93
-rw-r--r--media-sound/ecasound/files/ecasound-2.8.1-ldflags.patch64
-rw-r--r--media-sound/ecasound/metadata.xml23
5 files changed, 257 insertions, 0 deletions
diff --git a/media-sound/ecasound/Manifest b/media-sound/ecasound/Manifest
new file mode 100644
index 000000000000..c9e3075f4ef3
--- /dev/null
+++ b/media-sound/ecasound/Manifest
@@ -0,0 +1,8 @@
+AUX ecasound-2.8.1-ldflags.patch 2715 SHA256 79267748a8954eaf37b332033f7ee8e2a85113cde5ce17afae153c7e7b39381a SHA512 2cf1d68b04c651480fdabb04e6e68c2d52d05405ea3c4813aa12cdca1c7fca8f80aa524d7424b98d4cf376cfabe372766a2fc2e5f564f8eff0125c7c4ad06d1b WHIRLPOOL db57c7dd3954e4028c82544f83b2a831996d542a41dcc3e0b9897d2878afd136ed7c52f6e2b90efdca5bf5684ca6c1a319061f0756e7ce849b6b3caeffdb80a5
+DIST ecasound-2.6.0.tar.gz 966629 SHA256 925d12a422883c356565c542110d070f61c3693e01eaa1b00eb25082e4779f88 SHA512 48b3c65e301a775499765c55b09bddacfde24bfd7a5be6c03389c7bda882abe98b061aaa39ec12a797e3a5a2808f446751155b36c263f0f12da2db1495515c5e WHIRLPOOL 3e39c977e2561d1be207c5788e29633094ba8542254f1f770d892c58cb64b7a35ff4300fbfb3b83842ccc1649b6a3941927bd3cc7c96ecc5282b167cdab79619
+DIST ecasound-2.9.1.tar.gz 1057333 SHA256 39fce8becd84d80620fa3de31fb5223b2b7d4648d36c9c337d3739c2fad0dcf3 SHA512 b91fd68cb4809fdf62b25323fbf52c9bb7de6663287d5aa2576cc4fb28e322850b7020df2718ed6087f5d9f5f96692a476287378ea65853d01834523e8eb7033 WHIRLPOOL ef4eccd6a2ac1b508246ce7660614e52bc9033814011cff588382f1a76ac9fc124aecd6dbd3fb4ffeb337a8eb7ef1e87c438e2c994faddd70d9a2fc49561a80d
+EBUILD ecasound-2.6.0-r1.ebuild 1724 SHA256 2d080c4b8d02069811e9bf58a4cdd403e333b65e784717e2a233e44a1c759687 SHA512 3ac59b9ebff9cfd07473258c5489363a4b34a3c957f9af1fd9adbed3d72d1e620f72b06886ce5bbf7a9030cd921c939ceb4a3c01774774119a48f34f5dd0cc30 WHIRLPOOL 5095a1b8b31cc2076c3507807b9c7bb762889c2835ba7e464c4fd095289a394e5c78d9d02f5c40e34bf089aa6dead6dedcd6eb0b4e94b24b025585e65231a656
+EBUILD ecasound-2.9.1-r1.ebuild 2278 SHA256 e94305b31aefdb818e16d2505bf48036bd60cc055634264a4d4ddb0efd98ca09 SHA512 a8fa902eecb44188e5cd0f12505c1cdd19f257b28af3b6308652217b6839343537c372a2d16ac4aecad4fd225879c84018ce9868bac72bf66b15a04ea013c79f WHIRLPOOL 826b00bc9b8145c0771548be5fb281119dfa3385c7d198a9934dbe175f75b85ac41f2bcab51f1b78dc9574c92fc80ac3985bc4729878537c6ce7068832078544
+MISC ChangeLog 2580 SHA256 82f48e051312860cb635f257e8c6fb37861f1e6713510efe906d1fd64a65c1a5 SHA512 adaf6f9ae52db1fe806625ec24545b13ff6ec0f802bc0a542f8461fac436f6b4c6b4acf88b661435f1382dff3dc1f16376c0b72c9cde2c344aca0f92223bb9b2 WHIRLPOOL 6fdaaad7cc15175fbbe6f96b756321af3c38f2d3a404f8ab638908731c3f6493ddb0cd54bd93602dd98de5a5430b086bea4ce83bfc9be735be9336c3bb08fc21
+MISC ChangeLog-2015 10585 SHA256 f00eb47635bdf09f7611885202bd5505e6dd358111bba2cb88b0dc1e2c186a3f SHA512 19126e74e2734913607d7d80175964afeddfd818049eb82d4b194136c65bd04ec88eb654e908ca630ed5c0097f3cca56942a349019f40d4a8b90eeae002492cf WHIRLPOOL 4dcc237b4401ece90beca0f65c7a94fff3217aa5fd9ea5e5fb65ce2dec56b171712b20d2a789a3c27963a6f057903899df1a3dd67668faf91561e9667e861ad5
+MISC metadata.xml 991 SHA256 601f6409862e1840d9fed84281d8cb8a3e9be9ca856acc68c696f5c74be6ef80 SHA512 a057fab8c46cfec1f615671b8c511978c077362e4943134d6a572f141e9cd42dbc4a8d303fbd2d8c28b94d8423e5c0cf5105c352c0fab3a1bd18ff0a2141450c WHIRLPOOL 9e6f2e33a90eb7413c62dde54860f4b3799ba0dbdc1254fa1fbab9d72ead512552d917541dda5ceb9b0ab5fc0d176f1d80893cb89c2e75b40790b45efb4df421
diff --git a/media-sound/ecasound/ecasound-2.6.0-r1.ebuild b/media-sound/ecasound/ecasound-2.6.0-r1.ebuild
new file mode 100644
index 000000000000..9db836fa9200
--- /dev/null
+++ b/media-sound/ecasound/ecasound-2.6.0-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="a package for multitrack audio processing"
+HOMEPAGE="http://ecasound.seul.org/ecasound"
+SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="alsa audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )
+ jack? ( media-sound/jack-audio-connection-kit )
+ media-libs/ladspa-sdk
+ audiofile? ( media-libs/audiofile )
+ alsa? ( media-libs/alsa-lib )
+ vorbis? ( media-libs/libvorbis )
+ libsamplerate? ( media-libs/libsamplerate )
+ mikmod? ( media-libs/libmikmod:0 )
+ ruby? ( dev-lang/ruby )
+ python? ( dev-lang/python )
+ ncurses? ( sys-libs/ncurses )
+ sndfile? ( media-libs/libsndfile )
+ sys-libs/readline"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local pyconf=()
+
+ if use python ; then
+ pyconf=( "--with-python-modules=${EPREFIX}/usr/$(get_libdir)/${EPYTHON}" )
+ fi
+
+ econf \
+ $(use_enable alsa) \
+ --disable-arts \
+ $(use_enable audiofile) \
+ $(use_enable debug) \
+ $(use_enable jack) \
+ $(use_enable libsamplerate) \
+ $(use_enable ncurses) \
+ $(use_enable oss) \
+ $(use_enable python pyecasound c) \
+ $(use_enable ruby rubyecasound) \
+ $(use_enable sndfile) \
+ --enable-shared \
+ --with-largefile \
+ --enable-sys-readline \
+ "${pyconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use python && python_optimize
+ dodoc BUGS NEWS README TODO
+ use doc && dodoc Documentation/*.html
+}
diff --git a/media-sound/ecasound/ecasound-2.9.1-r1.ebuild b/media-sound/ecasound/ecasound-2.9.1-r1.ebuild
new file mode 100644
index 000000000000..5485c1404a08
--- /dev/null
+++ b/media-sound/ecasound/ecasound-2.9.1-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools eutils python-single-r1
+
+DESCRIPTION="a package for multitrack audio processing"
+HOMEPAGE="http://ecasound.seul.org/ecasound"
+SRC_URI="http://ecasound.seul.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="alsa audiofile debug doc jack libsamplerate lv2 mikmod ncurses oil osc oss
+python ruby sndfile static-libs test"
+REQUIRED_USE="test? ( lv2 )
+ python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="sys-libs/readline:0=
+ alsa? ( media-libs/alsa-lib:= )
+ audiofile? ( media-libs/audiofile:= )
+ jack? ( virtual/jack:= )
+ libsamplerate? ( media-libs/libsamplerate:= )
+ lv2? ( >=media-libs/lilv-0.5.0:= )
+ media-libs/ladspa-sdk
+ mikmod? ( media-libs/libmikmod:0= )
+ ncurses? ( sys-libs/ncurses:0= )
+ oil? ( dev-libs/liboil:= )
+ osc? ( media-libs/liblo:= )
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( dev-lang/ruby )
+ sndfile? ( media-libs/libsndfile:= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PN}-2.8.1-ldflags.patch
+ eapply_user
+
+# if use python ; then
+# sed -i -e "s:\$(ecasoundc_libs):\0 $(python_get_library -l):" \
+# pyecasound/Makefile.am || die "sed failed"
+# fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local pyconf=()
+
+ if use python ; then
+ pyconf=( "--with-python-modules=${EPREFIX}/usr/$(get_libdir)/${EPYTHON}" )
+ fi
+
+ econf \
+ --disable-arts \
+ --enable-shared \
+ --enable-sys-readline \
+ --with-largefile \
+ $(use_enable alsa) \
+ $(use_enable audiofile) \
+ $(use_enable debug) \
+ $(use_enable jack) \
+ $(use_enable libsamplerate) \
+ $(use_enable lv2 liblilv) \
+ $(use_enable ncurses) \
+ $(use_enable oil liboil) \
+ $(use_enable osc liblo) \
+ $(use_enable oss) \
+ $(use_enable python pyecasound) \
+ $(use_enable ruby rubyecasound) \
+ $(use_enable sndfile) \
+ $(use_enable static-libs static) \
+ "${pyconf[@]}"
+}
+
+src_install() {
+ default
+ use python && python_optimize
+
+ if use doc ; then
+ dodoc Documentation/*.html
+ dodoc Documentation/programmers_guide/ecasound_programmers_guide.txt
+ fi
+
+ prune_libtool_files
+}
diff --git a/media-sound/ecasound/files/ecasound-2.8.1-ldflags.patch b/media-sound/ecasound/files/ecasound-2.8.1-ldflags.patch
new file mode 100644
index 000000000000..8dca486f06e1
--- /dev/null
+++ b/media-sound/ecasound/files/ecasound-2.8.1-ldflags.patch
@@ -0,0 +1,64 @@
+--- ecasound-2.8.1.orig/kvutils/Makefile.am
++++ ecasound-2.8.1/kvutils/Makefile.am
+@@ -56,13 +56,12 @@
+ kvu_value_queue.h
+
+ libkvutils_la_SOURCES = $(kvutil_sources) $(kvutil_headers)
+-libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -static
++libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@
+
+ libkvutils_debug_la_SOURCES = $(libkvutils_la_SOURCES)
+ libkvutils_debug_la_LDFLAGS = $(libkvutils_la_LDFLAGS)
+
+ libkvutils_tester_SOURCES = libkvutils_tester.cpp
+-libkvutils_tester_LDFLAGS = -static
+ libkvutils_tester_LDADD = $(lib_LTLIBRARIES)
+
+ noinst_HEADERS = $(kvutil_headers)
+--- ecasound-2.8.1.orig/libecasound/Makefile.am
++++ ecasound-2.8.1/libecasound/Makefile.am
+@@ -364,7 +364,7 @@
+
+ libecasound_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
+ libecasound_debug_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
+-libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -static
++libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags)
+ libecasound_la_LIBADD = $(eca_libadd)
+ libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
+ libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)
+--- ecasound-2.8.1.orig/libecasound/plugins/Makefile.am
++++ ecasound-2.8.1/libecasound/plugins/Makefile.am
+@@ -105,7 +105,7 @@
+ libecasound_plugins_la_SOURCES = audioio_dummy.cpp $(plugin_cond_sources)
+ EXTRA_libecasound_plugins_la_SOURCES = $(plugin_all_sources)
+ libecasound_plugins_la_LIBADD = $(ECA_S_EXTRA_LIBS)
+-libecasound_plugins_la_LDFLAGS = -static
++libecasound_plugins_la_LDFLAGS =
+
+ libecasound_plugins_debug_la_SOURCES = $(libecasound_plugins_la_SOURCES)
+ EXTRA_libecasound_plugins_debug_la_SOURCES = $(EXTRA_libecasound_plugins_la_SOURCES)
+--- ecasound-2.8.1.orig/libecasoundc/Makefile.am
++++ ecasound-2.8.1/libecasoundc/Makefile.am
+@@ -14,9 +14,9 @@
+ # !!!
+ # remember to update eca-version.cpp
+ if ECA_AM_DEBUG_MODE
+-eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
++eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@
+ else
+-eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
++eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@
+ endif
+
+ INCLUDES = -I$(srcdir)
+--- ecasound-2.8.1.orig/pyecasound/Makefile.am
++++ ecasound-2.8.1/pyecasound/Makefile.am
+@@ -28,7 +28,7 @@
+ $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/ecacontrol.py
+ endif
+ if ECA_AM_PYECASOUND_CEXT
+-pyecasound_install_list2 = pyecasound.so
++pyecasound_install_list2 = .libs/pyecasound.so
+ pyecasound_uninstall_list2 = $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyecasound.so
+ endif
+
diff --git a/media-sound/ecasound/metadata.xml b/media-sound/ecasound/metadata.xml
new file mode 100644
index 000000000000..7a9880111e68
--- /dev/null
+++ b/media-sound/ecasound/metadata.xml
@@ -0,0 +1,23 @@
+<?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>
+<longdescription>
+ Ecasound is a software package designed for multitrack audio
+ processing. It can be used for simple tasks like audio playback,
+ recording and format conversions, as well as for multitrack
+ effect processing, mixing, recording and signal recycling.
+ Ecasound supports a wide range of audio inputs, outputs and
+ effect algorithms. Effects and audio objects can be combined
+ in various ways, and their parameters can be controlled by operator
+ objects like oscillators and MIDI-CCs. A versatile console mode
+ user-interface is included in the package.
+</longdescription>
+<use>
+ <flag name="oil">Use <pkg>dev-libs/liboil</pkg> for inner loop optimizations</flag>
+ <flag name="lv2">Add support for Ladspa V2</flag>
+</use>
+</pkgmetadata>