diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-08-10 07:28:00 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-08-10 07:28:00 +0000 |
commit | 2a54e3eaa6dfb3778188c0862eaefbbebea0accf (patch) | |
tree | 9293b069899f65570a5d29f3ab71a4e2a297a694 /media-sound/zynaddsubfx | |
parent | Missing media-libs/sdl-ttf depend. (diff) | |
download | historical-2a54e3eaa6dfb3778188c0862eaefbbebea0accf.tar.gz historical-2a54e3eaa6dfb3778188c0862eaefbbebea0accf.tar.bz2 historical-2a54e3eaa6dfb3778188c0862eaefbbebea0accf.zip |
version bump
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'media-sound/zynaddsubfx')
-rw-r--r-- | media-sound/zynaddsubfx/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/Manifest | 16 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch | 16 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-string.patch | 20 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.4.0.ebuild | 106 |
5 files changed, 165 insertions, 2 deletions
diff --git a/media-sound/zynaddsubfx/ChangeLog b/media-sound/zynaddsubfx/ChangeLog index 0ed6fa667978..52b4ab39e96e 100644 --- a/media-sound/zynaddsubfx/ChangeLog +++ b/media-sound/zynaddsubfx/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/zynaddsubfx # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v 1.33 2009/08/01 06:41:04 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v 1.34 2009/08/10 07:28:00 aballier Exp $ + +*zynaddsubfx-2.4.0 (10 Aug 2009) + + 10 Aug 2009; Alexis Ballier <aballier@gentoo.org> + +zynaddsubfx-2.4.0.ebuild, +files/zynaddsubfx-2.4.0-ldflags.patch, + +files/zynaddsubfx-2.4.0-string.patch: + version bump 01 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> zynaddsubfx-2.2.1-r2.ebuild, zynaddsubfx-2.2.1-r4.ebuild: diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest index 4a48633e9c76..7a2d1c88299a 100644 --- a/media-sound/zynaddsubfx/Manifest +++ b/media-sound/zynaddsubfx/Manifest @@ -1,5 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX zynaddsubfx-2.4.0-ldflags.patch 462 RMD160 f1f32bb7808b03a2aca7ac8f5e0b857077bed2eb SHA1 057cd2d4a9e3252589bb22320319fa40a3d8a7f4 SHA256 d3dac5ee2ef086af35bf1cab6880b7792fb65ae5c2e652f56cb84682708aaa9c +AUX zynaddsubfx-2.4.0-string.patch 819 RMD160 e96db048d3b3c95df0103206a8091d90126b5df4 SHA1 911c56e9c704d41ad0a2343cc74ad0a45effdf2c SHA256 ac2335d4d7deeed23f0b3a879367fd1c811c13e5cf5b5707254f803565e7a215 DIST ZynAddSubFX-2.2.1.tar.bz2 927022 RMD160 d21b7988182d2cf9a9c8ee873e708adec33e40fc SHA1 d49294b5e27d4b5a5aad106b0239ef273b583b88 SHA256 dab5dc86e0a2459fa2a870da133c7dda0aa2e1d895839594f4b520ca05cc80d2 +DIST ZynAddSubFX-2.4.0.tar.bz2 1418352 RMD160 a490b7ee3134c9a912d475f07e1e485d8fac578f SHA1 e253e99399590ef2ff7f276f720dc367e2864f10 SHA256 7675a7ac7741dcfce0bed197e2190f2e21b5b0a072458bcb605184b7be246c63 EBUILD zynaddsubfx-2.2.1-r2.ebuild 2072 RMD160 50a4a2559c2605248196912285ada0bbe70f932f SHA1 958bebfddaeb427307972e66aef850926a212f69 SHA256 22933b444613e169d76e21d88ee86e9dbe5bbd2581cf7cf21d9c346ea773472b EBUILD zynaddsubfx-2.2.1-r4.ebuild 2373 RMD160 c345e41fa2ed6d0f0ab882e3995bd399771db7f5 SHA1 94b9218d32e806ed13f224427ba577f7279d85e6 SHA256 5adb5a647e35474bc704ea8b371dd046cc128005bfcd0cd8f89abd9f3d50dc40 -MISC ChangeLog 5740 RMD160 4a1176f40a743a3a7603957acb311d6c262d0ddb SHA1 43960ca9b94e017a0fb9587b16705455c75bc1cb SHA256 cb7b2e3b212d8b41018b6a14e669bebba64c97b245c7ab8e8ed304a7ed325242 +EBUILD zynaddsubfx-2.4.0.ebuild 2814 RMD160 e48de3ffb0df08dca1684ffcffdd1f31795e27eb SHA1 b96802882efbcace750f82312d4bf945e3b20714 SHA256 7af5fef0c9f13b5c0130a6aadf37101de686f1f75a3f1a6e00de38e23a84ab33 +MISC ChangeLog 5951 RMD160 503443c6c18bc815ab06563038cda700e71fd1df SHA1 16eea215d8c75a331c62bea3d765cdd56dfd8887 SHA256 b9fd529dbdc11ff682dcd48c3622ce0eed85dc15b732d5ea0426e68b68b9728e MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkp/zAgACgkQvFcC4BYPU0p7vQCgoD8v5DeS9EBGlenRjp4Jkcas +hy4AoMB8hk8LvhEjf3QKvdd3BeArav+i +=zyop +-----END PGP SIGNATURE----- diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch new file mode 100644 index 000000000000..13f9a7a31956 --- /dev/null +++ b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-ldflags.patch @@ -0,0 +1,16 @@ +Index: ZynAddSubFX-2.4.0/src/Makefile +=================================================================== +--- ZynAddSubFX-2.4.0.orig/src/Makefile ++++ ZynAddSubFX-2.4.0/src/Makefile +@@ -101,9 +101,9 @@ else + + + ifeq ($(OS_PORT),LINUX) +- $(CXX) -o zynaddsubfx */*.o *.o $(LIBS) ++ $(CXX) $(LDFLAGS) -o zynaddsubfx */*.o *.o $(LIBS) + else +- $(CXX) -o zynaddsubfx.exe */*.o *.o $(LIBS) ++ $(CXX) $(LDFLAGS) -o zynaddsubfx.exe */*.o *.o $(LIBS) + endif + endif + endif diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-string.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-string.patch new file mode 100644 index 000000000000..d901d4981c01 --- /dev/null +++ b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-string.patch @@ -0,0 +1,20 @@ +https://sourceforge.net/tracker/?func=detail&atid=502314&aid=2834750&group_id=62934 + +Index: ZynAddSubFX-2.4.0/src/main.cpp +=================================================================== +--- ZynAddSubFX-2.4.0.orig/src/main.cpp ++++ ZynAddSubFX-2.4.0/src/main.cpp +@@ -210,11 +210,11 @@ void *thread3(void *arg) + string filename; + switch (lash->checkevents(filename)) { + case LASHClient::Save: +- ui->do_save_master(filename); ++ ui->do_save_master(filename.c_str()); + lash->confirmevent(LASHClient::Save); + break; + case LASHClient::Restore: +- ui->do_load_master(filename); ++ ui->do_load_master(filename.c_str()); + lash->confirmevent(LASHClient::Restore); + break; + case LASHClient::Quit: diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.4.0.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.4.0.ebuild new file mode 100644 index 000000000000..3bdff26dd6fc --- /dev/null +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.4.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.4.0.ebuild,v 1.1 2009/08/10 07:28:00 aballier Exp $ + +EAPI=2 +inherit eutils toolchain-funcs + +MY_P=ZynAddSubFX-${PV} + +DESCRIPTION="ZynAddSubFX is an opensource software synthesizer." +HOMEPAGE="http://zynaddsubfx.sourceforge.net/" +SRC_URI="mirror://sourceforge/zynaddsubfx/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="oss alsa jack lash +fltk" + +RDEPEND="fltk? ( >=x11-libs/fltk-1.1.2:1.1 ) + =sci-libs/fftw-3* + jack? ( media-sound/jack-audio-connection-kit ) + alsa? ( media-libs/alsa-lib ) + lash? ( media-sound/lash ) + >=dev-libs/mini-xml-2.2.1" +# portaudio? ( media-libs/portaudio )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e '/CXXFLAGS +=/s:CXXFLAGS +=:override CXXFLAGS +=:' \ + -e '/export CXXFLAGS/d' \ + -e '/\$(MAKE) -C UI/s:$: CXXFLAGS="${CXXFLAGS}":' \ + -e '/\$(MAKE) -C $@/s:$: CXXFLAGS="${CXXFLAGS}":' \ + "${S}/src/Makefile" || die "unable to reset CXXFLAGS overrides." + sed -e 's/gcc -g/$(CC) $(CFLAGS)/' \ + -e 's/gcc -o/$(CC) $(LDFLAGS) -o/' \ + -i "${S}/ExternalPrograms/Spliter/Makefile" || die + sed -e 's/gcc -o/$(CC) $(LDFLAGS) -o/' \ + -e 's/gcc/$(CC) $(CFLAGS)/' \ + -i "${S}/ExternalPrograms/Controller/Makefile" || die + epatch "${FILESDIR}/${P}-string.patch" + epatch "${FILESDIR}/${P}-ldflags.patch" +} + +use_echo_yesno() { + if use $1 ; then + echo "YES" + else + echo "NO" + fi +} + +src_configure() { + cd "${S}/src" + echo "OS_PORT=LINUX" > Makefile.inc + echo "FFTW_VERSION=3" >> Makefile.inc + echo "ASM_F2I=NO" >> Makefile.inc + echo "DISABLE_GUI=$(use_echo_yesno !fltk)" >> Makefile.inc + if use oss ; then + use alsa || echo "MIDIIN=OSS" >> Makefile.inc + if use jack; then + echo "AUDIOOUT=OSS_AND_JACK" >> Makefile.inc + else + echo "AUDIOOUT=OSS" >> Makefile.inc + fi + else + if use jack; then + echo "AUDIOOUT=JACK" >> Makefile.inc + else + echo "AUDIOOUT=NONE" >> Makefile.inc + fi + fi + if use alsa ; then + echo "MIDIIN=ALSA" >> Makefile.inc + else + use oss || echo "MIDIIN=NONE" >> Makefile.inc + fi + echo "LINUX_USE_LASH=$(use_echo_yesno lash)" >> Makefile.inc +} + +src_compile() { + tc-export CC CXX + + cd "${S}/src" + emake -j1 \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + || die "compile failed" + if use fltk ; then + cd "${S}/ExternalPrograms/Spliter" + emake || die + cd "${S}/ExternalPrograms/Controller" + emake || die + fi +} + +src_install() { + dobin "${S}/src/zynaddsubfx" + use fltk && dobin "${S}/ExternalPrograms/Spliter/spliter" + use fltk && dobin "${S}/ExternalPrograms/Controller/controller" + dodoc ChangeLog FAQ.txt HISTORY.txt README.txt ZynAddSubFX.lsm bugs.txt + + insinto "/usr/share/${PN}" + doins -r "${S}/banks" "${S}/examples" +} |