diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2011-08-30 09:37:04 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2011-08-30 09:37:04 +0000 |
commit | 95a37c020799dcb74770d7702a1becd956182cd2 (patch) | |
tree | 7e4b2f36e6d5cbe9b258830f9390c06f99b79fb0 /media-sound/amsynth | |
parent | version bump (diff) | |
download | gentoo-2-95a37c020799dcb74770d7702a1becd956182cd2.tar.gz gentoo-2-95a37c020799dcb74770d7702a1becd956182cd2.tar.bz2 gentoo-2-95a37c020799dcb74770d7702a1becd956182cd2.zip |
Revision bump for EAPI 4 porting and CFLAGS respect patch by Markos "hwoarang" Chandros with input from Samuli Suominen in bug #376665 filed by Agostino "ago" Sarubbo.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/amsynth')
-rw-r--r-- | media-sound/amsynth/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/amsynth/amsynth-1.2.3-r1.ebuild | 57 | ||||
-rw-r--r-- | media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch | 20 |
3 files changed, 86 insertions, 1 deletions
diff --git a/media-sound/amsynth/ChangeLog b/media-sound/amsynth/ChangeLog index 4574eb21e370..27af12c4bbaf 100644 --- a/media-sound/amsynth/ChangeLog +++ b/media-sound/amsynth/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/amsynth # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.39 2011/08/12 10:15:54 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.40 2011/08/30 09:37:04 chainsaw Exp $ + +*amsynth-1.2.3-r1 (30 Aug 2011) + + 30 Aug 2011; Tony Vroon <chainsaw@gentoo.org> +amsynth-1.2.3-r1.ebuild, + +files/amsynth-1.2.3-respect-cflags.patch: + Revision bump for EAPI 4 porting and CFLAGS respect patch by Markos + "hwoarang" Chandros with input from Samuli Suominen in bug #376665 filed by + Agostino "ago" Sarubbo. 10 Aug 2011; Markos Chandras <hwoarang@gentoo.org> amsynth-1.2.3.ebuild, -files/amsynth-1.2.3-cflags.patch: diff --git a/media-sound/amsynth/amsynth-1.2.3-r1.ebuild b/media-sound/amsynth/amsynth-1.2.3-r1.ebuild new file mode 100644 index 000000000000..60c86b1f3468 --- /dev/null +++ b/media-sound/amsynth/amsynth-1.2.3-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.3-r1.ebuild,v 1.1 2011/08/30 09:37:04 chainsaw Exp $ + +EAPI=4 + +inherit base autotools + +MY_P=${P/ams/amS} +DESCRIPTION="Virtual analogue synthesizer." +HOMEPAGE="http://amsynthe.sourceforge.net/" +SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="alsa debug jack oss sndfile" + +RDEPEND="dev-cpp/gtkmm:2.4 + sndfile? ( >=media-libs/libsndfile-1 ) + alsa? ( media-libs/alsa-lib + media-sound/alsa-utils ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}/${P}-respect-cflags.patch" ) + +src_prepare() { + base_src_prepare + eautoreconf +} + +src_configure() { + econf \ + $(use_with oss) \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with sndfile) \ + $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS README +} + +pkg_postinst() { + elog + elog "amSynth has been installed normally. If you would like to use" + elog "the virtual keyboard option, then do:" + elog "# emerge vkeybd" + elog "and make sure you emerged amSynth with alsa support (USE=alsa)" + elog +} diff --git a/media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch b/media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch new file mode 100644 index 000000000000..2a640ce17108 --- /dev/null +++ b/media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch @@ -0,0 +1,20 @@ +--- amSynth-1.2.3/configure.in ++++ amSynth-1.2.3/configure.in +@@ -90,7 +90,7 @@ AC_ARG_ENABLE(debug, + if test "${enable_debug}" = "yes" ; then + AC_MSG_RESULT([yes]) + debugging=yes +- CXXFLAGS="$CXXFLAGS -g -Wall -D_DEBUG" ++ CXXFLAGS="$CXXFLAGS -Wall -D_DEBUG" + COMPOPSTR="debugging $COMPOPSTR" + OPTION_DEBUG="yes" + else +@@ -114,7 +114,7 @@ if test "$enable_profile" = "yes" ; then + fi + else + if test "$GCC" = "yes" ; then +- CXXFLAGS="$CXXFLAGS -O3 -ffast-math -fno-exceptions -fomit-frame-pointer" ++ CXXFLAGS="$CXXFLAGS -ffast-math -fno-exceptions -fomit-frame-pointer" + fi + AC_MSG_RESULT([no]) + profiling=no |