diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-03-24 23:45:35 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-03-24 23:45:35 +0000 |
commit | 67dd3516628dfb12a37d3f2010a773a760f70566 (patch) | |
tree | 7b57064e594191055199416dbe3ae6345e7c0991 /media-sound/amsynth | |
parent | Remove obsolete version. (diff) | |
download | gentoo-2-67dd3516628dfb12a37d3f2010a773a760f70566.tar.gz gentoo-2-67dd3516628dfb12a37d3f2010a773a760f70566.tar.bz2 gentoo-2-67dd3516628dfb12a37d3f2010a773a760f70566.zip |
Version bump, bug #170524
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound/amsynth')
-rw-r--r-- | media-sound/amsynth/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/amsynth/amsynth-1.2.0.ebuild | 60 | ||||
-rw-r--r-- | media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch | 45 | ||||
-rw-r--r-- | media-sound/amsynth/files/amsynth-1.2.0-cflags.patch | 26 | ||||
-rw-r--r-- | media-sound/amsynth/files/amsynth-1.2.0-debug.patch | 46 | ||||
-rw-r--r-- | media-sound/amsynth/files/digest-amsynth-1.2.0 | 3 |
6 files changed, 188 insertions, 1 deletions
diff --git a/media-sound/amsynth/ChangeLog b/media-sound/amsynth/ChangeLog index 667469bf90bc..845197119f17 100644 --- a/media-sound/amsynth/ChangeLog +++ b/media-sound/amsynth/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/amsynth # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.22 2007/02/22 00:47:37 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.23 2007/03/24 23:45:35 aballier Exp $ + +*amsynth-1.2.0 (24 Mar 2007) + + 24 Mar 2007; Alexis Ballier <aballier@gentoo.org> + +files/amsynth-1.2.0-asneeded.patch, +files/amsynth-1.2.0-cflags.patch, + +files/amsynth-1.2.0-debug.patch, +amsynth-1.2.0.ebuild: + Version bump, bug #170524 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/media-sound/amsynth/amsynth-1.2.0.ebuild b/media-sound/amsynth/amsynth-1.2.0.ebuild new file mode 100644 index 000000000000..fed1e1302c6d --- /dev/null +++ b/media-sound/amsynth/amsynth-1.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v 1.1 2007/03/24 23:45:35 aballier Exp $ + +IUSE="debug alsa jack sndfile oss" + +inherit eutils autotools + +MY_P=${P/_rc/-rc} +MY_P=${MY_P/amsynth/amSynth} + +DESCRIPTION="amSynth stands for Analogue Modeling SYNTHesizer. It provides virtual analogue synthesis in the style of the classic Moog Minimoog/Roland Junos." +HOMEPAGE="http://amsynthe.sourceforge.net/" +SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND=">=dev-cpp/gtkmm-2.4 + sndfile? ( >=media-libs/libsndfile-1.0 ) + alsa? ( >=media-libs/alsa-lib-0.9 media-sound/alsa-utils ) + jack? ( media-sound/jack-audio-connection-kit )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-asneeded.patch" + epatch "${FILESDIR}/${P}-cflags.patch" + epatch "${FILESDIR}/${P}-debug.patch" + eautoreconf +} + +src_compile() { + econf $(use_with oss) \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with sndfile) \ + $(use_enable debug) \ + || die "configure failed" + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die +} + +pkg_postinst() { + elog + elog "amSynth has been installed normally." + elog "If you would like to use the virtual" + elog "keyboard option, then do" + elog "emerge vkeybd" + elog "and make sure you emerged amSynth" + elog "with alsa support (USE=alsa)" + elog +} diff --git a/media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch b/media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch new file mode 100644 index 000000000000..ec1f1bb7e8af --- /dev/null +++ b/media-sound/amsynth/files/amsynth-1.2.0-asneeded.patch @@ -0,0 +1,45 @@ +Index: amSynth-1.2.0/configure.in +=================================================================== +--- amSynth-1.2.0.orig/configure.in ++++ amSynth-1.2.0/configure.in +@@ -148,21 +148,25 @@ dnl Set compiler options accordingly + dnl + dnl + ++LIBSADDED="" ++ + if test "$with_oss" = "yes"; then + CXXFLAGS="$CXXFLAGS -Dwith_oss" + fi + if test "$with_alsa" = "yes"; then + CXXFLAGS="$CXXFLAGS -Dwith_alsa" +- LDFLAGS="$LDFLAGS -lasound" ++ LIBSADDED="$LIBSADDED -lasound" + fi + if test "$with_jack" = "yes"; then + CXXFLAGS="$CXXFLAGS -Dwith_jack" + fi + if test "$with_sndfile" = "yes"; then + CXXFLAGS="$CXXFLAGS -Dwith_sndfile" +- LDFLAGS="$LDFLAGS -lsndfile" ++ LIBSADDED="$LIBSADDED -lsndfile" + fi + ++AC_SUBST(LIBSADDED) ++ + AC_OUTPUT([ + Makefile + src/Makefile +Index: amSynth-1.2.0/src/Makefile.am +=================================================================== +--- amSynth-1.2.0.orig/src/Makefile.am ++++ amSynth-1.2.0/src/Makefile.am +@@ -16,7 +16,7 @@ amSynth_SOURCES = \ + + SUBDIRS = drivers VoiceBoard GUI Effects + +-amSynth_LDADD = drivers/libdrivers.a VoiceBoard/libVoiceBoard.a GUI/libGUI.a Effects/libEffects.a ++amSynth_LDADD = drivers/libdrivers.a VoiceBoard/libVoiceBoard.a GUI/libGUI.a Effects/libEffects.a @LIBSADDED@ + + amSynth_CFLAGS = $(CFLAGS) -DENABLE_BINRELOC + amSynth_CXXFLAGS = $(CXXFLAGS) -DENABLE_BINRELOC diff --git a/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch b/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch new file mode 100644 index 000000000000..a2d7e0b8e6a8 --- /dev/null +++ b/media-sound/amsynth/files/amsynth-1.2.0-cflags.patch @@ -0,0 +1,26 @@ +Index: amSynth-1.2.0/configure.in +=================================================================== +--- amSynth-1.2.0.orig/configure.in ++++ amSynth-1.2.0/configure.in +@@ -5,7 +5,7 @@ AM_CONFIG_HEADER(config.h) + + + addCXXFLAGS="-D_REENTRANT" +-CXXFLAGS="-Wall" ++CXXFLAGS="$CXXFLAGS -Wall" + + AC_PROG_CXX + AC_PROG_INSTALL +@@ -117,12 +117,6 @@ else + profiling=no + fi + +-if test $profiling = "no"; then +- if test $debugging = "no"; then +- CXXFLAGS="$CXXFLAGS -O3 -ffast-math -fno-exceptions -fomit-frame-pointer" +- fi +-fi +- + + dnl + dnl diff --git a/media-sound/amsynth/files/amsynth-1.2.0-debug.patch b/media-sound/amsynth/files/amsynth-1.2.0-debug.patch new file mode 100644 index 000000000000..e409fb7a8874 --- /dev/null +++ b/media-sound/amsynth/files/amsynth-1.2.0-debug.patch @@ -0,0 +1,46 @@ +Index: amSynth-1.2.0/src/MidiController.cc +=================================================================== +--- amSynth-1.2.0.orig/src/MidiController.cc ++++ amSynth-1.2.0/src/MidiController.cc +@@ -5,6 +5,9 @@ + #include "MidiController.h" + #include <fstream> + #include <assert.h> ++#ifdef _DEBUG ++#include <iostream> ++#endif + + using namespace std; + +Index: amSynth-1.2.0/src/Parameter.cc +=================================================================== +--- amSynth-1.2.0.orig/src/Parameter.cc ++++ amSynth-1.2.0/src/Parameter.cc +@@ -71,15 +71,15 @@ Parameter::setValue(float value) + controlValue = offset + ::pow( _value, (float)base ); + #ifdef _DEBUG + default: +- cout << "<Parameter> mode is undefined" << endl; ++ std::cout << "<Parameter> mode is undefined" << std::endl; + break; + #endif + } + + #ifdef _DEBUG +- cout << "<Parameter::setValue( " << foo ++ std::cout << "<Parameter::setValue( " << foo + << " ) min=" << _min << " max=" << _max << " value set to " << _value +- << " controlValue set to " << controlValue << endl; ++ << " controlValue set to " << controlValue << std::endl; + #endif + + // TODO: only update() Listeners it there _was_ a change? +@@ -88,7 +88,7 @@ Parameter::setValue(float value) + for (unsigned i=0; i<updateListeners.size(); i++) + { + #ifdef _DEBUG +- cout << "updating UpdateListener " << updateListeners[i] << endl; ++ std::cout << "updating UpdateListener " << updateListeners[i] << std::endl; + #endif + updateListeners[i]->UpdateParameter (mParamId, controlValue); + } diff --git a/media-sound/amsynth/files/digest-amsynth-1.2.0 b/media-sound/amsynth/files/digest-amsynth-1.2.0 new file mode 100644 index 000000000000..7bc3d2fd4afe --- /dev/null +++ b/media-sound/amsynth/files/digest-amsynth-1.2.0 @@ -0,0 +1,3 @@ +MD5 2ba9a0560945c6ac914a15bb243146e2 amSynth-1.2.0.tar.gz 616311 +RMD160 b24b493e1532f3b1ad574856cfaadf8418e32900 amSynth-1.2.0.tar.gz 616311 +SHA256 5fff8dc65bd5550bbf408e3df1123c68e31517bbb7441cbe0b964ab271948b1c amSynth-1.2.0.tar.gz 616311 |