diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-06-16 12:00:35 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-06-16 12:00:35 +0000 |
commit | 1400767d0740bbc489c597845b5f819f670368ce (patch) | |
tree | 803ad57ab5a51321064ca89d2634632482759f53 /media-sound/zynaddsubfx | |
parent | ppc stable, bug #181921 (diff) | |
download | historical-1400767d0740bbc489c597845b5f819f670368ce.tar.gz historical-1400767d0740bbc489c597845b5f819f670368ce.tar.bz2 historical-1400767d0740bbc489c597845b5f819f670368ce.zip |
Add a check for alsa-lib's midi useflag on all ebuilds, or the package will not build. Revision bump with a version that honours CXX and CXXFLAGS.
Package-Manager: portage-2.1.3_rc3
Diffstat (limited to 'media-sound/zynaddsubfx')
-rw-r--r-- | media-sound/zynaddsubfx/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/Manifest | 55 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/files/digest-zynaddsubfx-2.2.1-r3 | 3 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild | 13 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild | 13 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild | 14 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r3.ebuild | 97 | ||||
-rw-r--r-- | media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild | 13 |
8 files changed, 186 insertions, 33 deletions
diff --git a/media-sound/zynaddsubfx/ChangeLog b/media-sound/zynaddsubfx/ChangeLog index 33db6e43b696..d4468d8da935 100644 --- a/media-sound/zynaddsubfx/ChangeLog +++ b/media-sound/zynaddsubfx/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-sound/zynaddsubfx # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v 1.25 2007/02/03 20:52:06 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/ChangeLog,v 1.26 2007/06/16 12:00:35 flameeyes Exp $ + +*zynaddsubfx-2.2.1-r3 (16 Jun 2007) + + 16 Jun 2007; Diego Pettenò <flameeyes@gentoo.org> + zynaddsubfx-2.2.0.ebuild, zynaddsubfx-2.2.1.ebuild, + zynaddsubfx-2.2.1-r1.ebuild, zynaddsubfx-2.2.1-r2.ebuild, + +zynaddsubfx-2.2.1-r3.ebuild: + Add a check for alsa-lib's midi useflag on all ebuilds, or the package will + not build. Revision bump with a version that honours CXX and CXXFLAGS. 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/media-sound/zynaddsubfx/Manifest b/media-sound/zynaddsubfx/Manifest index 507a9addb8b5..54b553077baf 100644 --- a/media-sound/zynaddsubfx/Manifest +++ b/media-sound/zynaddsubfx/Manifest @@ -3,26 +3,30 @@ Hash: SHA1 DIST ZynAddSubFX-2.2.0.tar.bz2 915940 RMD160 0cc951d6ea49e2f6d0175bd3daca8dbcbce0caa8 SHA1 b09cce901f9d5a2ac640e822bbada5aaa5edfd8b SHA256 18428d334e3676b64bec6ee7d431767db6ee8abf70118f8962353a0ef5bb5bed DIST ZynAddSubFX-2.2.1.tar.bz2 927022 RMD160 d21b7988182d2cf9a9c8ee873e708adec33e40fc SHA1 d49294b5e27d4b5a5aad106b0239ef273b583b88 SHA256 dab5dc86e0a2459fa2a870da133c7dda0aa2e1d895839594f4b520ca05cc80d2 -EBUILD zynaddsubfx-2.2.0.ebuild 2037 RMD160 051f79258324b222b801d2c58292ff99e63c838a SHA1 69f9d54cae232254a3fbbb2a54690e0ea6e5019c SHA256 2e04a6f95fb5cef8b307b3c1e006b0466450f8f2c74c503b379d52405d96d632 -MD5 f50c5197d6350225030c0aa076821245 zynaddsubfx-2.2.0.ebuild 2037 -RMD160 051f79258324b222b801d2c58292ff99e63c838a zynaddsubfx-2.2.0.ebuild 2037 -SHA256 2e04a6f95fb5cef8b307b3c1e006b0466450f8f2c74c503b379d52405d96d632 zynaddsubfx-2.2.0.ebuild 2037 -EBUILD zynaddsubfx-2.2.1-r1.ebuild 2006 RMD160 f2f0cea99d13b29aaffa72f57b377cc8d68289af SHA1 e384ae53d71e799648e7f98e4a58ed466fdc85e3 SHA256 d1f390584c851aac78acb1a7e9476b02ac2763855faeaacf71d330cfb1b9106a -MD5 e91a88f7fe305098901835415243087a zynaddsubfx-2.2.1-r1.ebuild 2006 -RMD160 f2f0cea99d13b29aaffa72f57b377cc8d68289af zynaddsubfx-2.2.1-r1.ebuild 2006 -SHA256 d1f390584c851aac78acb1a7e9476b02ac2763855faeaacf71d330cfb1b9106a zynaddsubfx-2.2.1-r1.ebuild 2006 -EBUILD zynaddsubfx-2.2.1-r2.ebuild 2016 RMD160 bcc0eae496f5f6c96e08594c97b01708ccb7eebc SHA1 da7140e7a0cbd2a42eb2f0e48a4484a816156bd1 SHA256 3e4c94eaa657f59c5722cb6917a91500802d2200691cf16c724fb62d93654b6c -MD5 52ad4686a993e8f9310bbcea723338b3 zynaddsubfx-2.2.1-r2.ebuild 2016 -RMD160 bcc0eae496f5f6c96e08594c97b01708ccb7eebc zynaddsubfx-2.2.1-r2.ebuild 2016 -SHA256 3e4c94eaa657f59c5722cb6917a91500802d2200691cf16c724fb62d93654b6c zynaddsubfx-2.2.1-r2.ebuild 2016 -EBUILD zynaddsubfx-2.2.1.ebuild 2037 RMD160 c4acffe4d26401b2dcb427eebbf6328c21219d4b SHA1 ae76a09eea8f35e02e8e92c64cde9b6f143043d6 SHA256 f4960694a10ae27038fc570ceb6308a2664d2fea28f90c1b6d491856b6a31755 -MD5 0960f560e5bc4503d4b052d6206bde8e zynaddsubfx-2.2.1.ebuild 2037 -RMD160 c4acffe4d26401b2dcb427eebbf6328c21219d4b zynaddsubfx-2.2.1.ebuild 2037 -SHA256 f4960694a10ae27038fc570ceb6308a2664d2fea28f90c1b6d491856b6a31755 zynaddsubfx-2.2.1.ebuild 2037 -MISC ChangeLog 4218 RMD160 e57d34cfda646e32a4803f5f67b40a4570246506 SHA1 54c9b56d7aaf1906e8f95264a8ed7f91cc5c0b40 SHA256 0d60d2bef1c4070ccad24cdfbd1e52e4d0d416a207c658b970be93b3cae092a6 -MD5 af3bd74f2e0b85cdac1b6b1cab0f5fa1 ChangeLog 4218 -RMD160 e57d34cfda646e32a4803f5f67b40a4570246506 ChangeLog 4218 -SHA256 0d60d2bef1c4070ccad24cdfbd1e52e4d0d416a207c658b970be93b3cae092a6 ChangeLog 4218 +EBUILD zynaddsubfx-2.2.0.ebuild 2343 RMD160 a16345be21b16167626104b324d8571ff092aacf SHA1 75b8665af20e1e97856f266e1e6014287cbcde1a SHA256 6c9f4b1b3eab73792af8565cf79732faa49927cd1ce40112fe7b705e2051f469 +MD5 303f26fa78c823420bb63e55aeb078f7 zynaddsubfx-2.2.0.ebuild 2343 +RMD160 a16345be21b16167626104b324d8571ff092aacf zynaddsubfx-2.2.0.ebuild 2343 +SHA256 6c9f4b1b3eab73792af8565cf79732faa49927cd1ce40112fe7b705e2051f469 zynaddsubfx-2.2.0.ebuild 2343 +EBUILD zynaddsubfx-2.2.1-r1.ebuild 2312 RMD160 51e52b020a1e994cd24582cbd96d2d2c58087b86 SHA1 b06c080ffef45e0b3f4a5cf321e947e7b1b6989c SHA256 3742131c4dc4e798d37d66bac7c7341920a05fdd7c74f88ff8df7cdf2a2f03a5 +MD5 d0bd95eebf33cc0fd4b1978f25942c12 zynaddsubfx-2.2.1-r1.ebuild 2312 +RMD160 51e52b020a1e994cd24582cbd96d2d2c58087b86 zynaddsubfx-2.2.1-r1.ebuild 2312 +SHA256 3742131c4dc4e798d37d66bac7c7341920a05fdd7c74f88ff8df7cdf2a2f03a5 zynaddsubfx-2.2.1-r1.ebuild 2312 +EBUILD zynaddsubfx-2.2.1-r2.ebuild 2320 RMD160 f514b0fd7c6d59f88cd618a69ef94f041b11dd93 SHA1 5f4c26021aae679de2efa9cde3a5f31a8644e32d SHA256 368f27756c35511ddba373c28f6eed517b26f4cad3085570adf5acc07107e459 +MD5 b20be135616a8a113ea42f0e3de303da zynaddsubfx-2.2.1-r2.ebuild 2320 +RMD160 f514b0fd7c6d59f88cd618a69ef94f041b11dd93 zynaddsubfx-2.2.1-r2.ebuild 2320 +SHA256 368f27756c35511ddba373c28f6eed517b26f4cad3085570adf5acc07107e459 zynaddsubfx-2.2.1-r2.ebuild 2320 +EBUILD zynaddsubfx-2.2.1-r3.ebuild 2620 RMD160 9b33d4fc8748f65e2f3512dfc7903e8d4bad8067 SHA1 316a3a01171091b7676ea196a0a18ce472cccb70 SHA256 a7e34ec75cb0f7f2d00f3dc71d517c5f82e570601d8acc7f9c82748b99451e19 +MD5 17de998b33e896d83fe253c8ffc7abf2 zynaddsubfx-2.2.1-r3.ebuild 2620 +RMD160 9b33d4fc8748f65e2f3512dfc7903e8d4bad8067 zynaddsubfx-2.2.1-r3.ebuild 2620 +SHA256 a7e34ec75cb0f7f2d00f3dc71d517c5f82e570601d8acc7f9c82748b99451e19 zynaddsubfx-2.2.1-r3.ebuild 2620 +EBUILD zynaddsubfx-2.2.1.ebuild 2343 RMD160 b68e0df172cf246300640e961c5ac1b10a4a68d0 SHA1 a3314a7a360064748425b94d5dfe3abd1f1f5608 SHA256 c8ef8f85e65d0959f014c77c7dfdc3218496c496e2cae22045d9d11d03c2b63b +MD5 37d6cc6d7bd1c0e8198de0b6e0e86dc5 zynaddsubfx-2.2.1.ebuild 2343 +RMD160 b68e0df172cf246300640e961c5ac1b10a4a68d0 zynaddsubfx-2.2.1.ebuild 2343 +SHA256 c8ef8f85e65d0959f014c77c7dfdc3218496c496e2cae22045d9d11d03c2b63b zynaddsubfx-2.2.1.ebuild 2343 +MISC ChangeLog 4606 RMD160 a90c8552c56839278f5300362e53aea3cf686437 SHA1 a8411dfb39ff78b8ac8728681e7c24b61848e6c7 SHA256 25ca856e93c25e38b3bb10d63d8cee5123111c75b53dc167779153bd2f811e15 +MD5 2e258c00a9c11939057295826ccd08be ChangeLog 4606 +RMD160 a90c8552c56839278f5300362e53aea3cf686437 ChangeLog 4606 +SHA256 25ca856e93c25e38b3bb10d63d8cee5123111c75b53dc167779153bd2f811e15 ChangeLog 4606 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 @@ -39,10 +43,13 @@ SHA256 e829f142ede32f3b127d1a7c84eb17477a9105fa6b7488de80e93b5445e0f3e3 files/di MD5 3ca7cab37285a1c2be3728c9d85a0de7 files/digest-zynaddsubfx-2.2.1-r2 256 RMD160 6c06a189de19df10181f092e7140c108249f1179 files/digest-zynaddsubfx-2.2.1-r2 256 SHA256 e829f142ede32f3b127d1a7c84eb17477a9105fa6b7488de80e93b5445e0f3e3 files/digest-zynaddsubfx-2.2.1-r2 256 +MD5 3ca7cab37285a1c2be3728c9d85a0de7 files/digest-zynaddsubfx-2.2.1-r3 256 +RMD160 6c06a189de19df10181f092e7140c108249f1179 files/digest-zynaddsubfx-2.2.1-r3 256 +SHA256 e829f142ede32f3b127d1a7c84eb17477a9105fa6b7488de80e93b5445e0f3e3 files/digest-zynaddsubfx-2.2.1-r3 256 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFFxPX8AiZjviIA2XgRAm3sAJ9bC3y+2IwUqNy9kAu1FoaLswWPkQCfenUJ -vOOYJdm8lV5mjWIqKOx/FQI= -=4DWv +iD8DBQFGc9EHAiZjviIA2XgRArhOAJ41JYqwLoL6sw5WsNhJMLDxY9FnZgCg6zDg +pghvBteYNvGmQkwhtRJceFY= +=Pr3U -----END PGP SIGNATURE----- diff --git a/media-sound/zynaddsubfx/files/digest-zynaddsubfx-2.2.1-r3 b/media-sound/zynaddsubfx/files/digest-zynaddsubfx-2.2.1-r3 new file mode 100644 index 000000000000..ec539743b528 --- /dev/null +++ b/media-sound/zynaddsubfx/files/digest-zynaddsubfx-2.2.1-r3 @@ -0,0 +1,3 @@ +MD5 fca8560e37d799bd20d17e22b11674d6 ZynAddSubFX-2.2.1.tar.bz2 927022 +RMD160 d21b7988182d2cf9a9c8ee873e708adec33e40fc ZynAddSubFX-2.2.1.tar.bz2 927022 +SHA256 dab5dc86e0a2459fa2a870da133c7dda0aa2e1d895839594f4b520ca05cc80d2 ZynAddSubFX-2.2.1.tar.bz2 927022 diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild index 940de00c341c..1627b846571f 100644 --- a/media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild,v 1.1 2005/04/17 03:20:23 jnc Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.0.ebuild,v 1.2 2007/06/16 12:00:35 flameeyes Exp $ inherit eutils @@ -24,6 +24,15 @@ DEPEND=">=x11-libs/fltk-1.1.2 S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ZynAddSubFx with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_unpack() { unpack ${MY_P}.tar.bz2 || die # epatch ${FILESDIR}/${P}-*.patch diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild index 3feb3a6de3d2..a5f5c4e1327c 100644 --- a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild,v 1.1 2005/05/17 22:53:22 jnc Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r1.ebuild,v 1.2 2007/06/16 12:00:35 flameeyes Exp $ inherit eutils @@ -24,6 +24,15 @@ DEPEND=">=x11-libs/fltk-1.1.2 S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ZynAddSubFx with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_unpack() { unpack ${MY_P}.tar.bz2 || die } diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild index f955627a0ecc..69fc5a3ddf45 100644 --- a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild,v 1.2 2005/06/30 13:25:03 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r2.ebuild,v 1.3 2007/06/16 12:00:35 flameeyes Exp $ inherit eutils @@ -24,6 +24,16 @@ DEPEND=">=x11-libs/fltk-1.1.2 S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ZynAddSubFx with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_unpack() { unpack ${MY_P}.tar.bz2 || die } diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r3.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r3.ebuild new file mode 100644 index 000000000000..5a97da23771a --- /dev/null +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r3.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1-r3.ebuild,v 1.1 2007/06/16 12:00:35 flameeyes Exp $ + +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 mmx" +IUSE="oss alsa jack" + +DEPEND=">=x11-libs/fltk-1.1.2 + =sci-libs/fftw-3* + media-sound/jack-audio-connection-kit + >=dev-libs/mini-xml-2.2.1" +# portaudio? ( media-libs/portaudio )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ZynAddSubFx with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + +src_unpack() { + unpack ${MY_P}.tar.bz2 || die + + sed -i -e '/CXXFLAGS +=/s:CXXFLAGS +=:override CXXFLAGS +=:' \ + -e '/export CXXFLAGS/d' \ + -e '/\$(MAKE) -C UI/s:$: CXXFLAGS="${CXXFLAGS}":' \ + "${S}/src/Makefile" || die "unable to reset CXXFLAGS overrides." +} + +src_compile() { + local FFTW_VERSION=3 + local ASM_F2I=NO + local LINUX_MIDIIN=NONE + local LINUX_AUDIOOUT=NONE + + if use oss ; then + LINUX_MIDIIN=OSS + LINUX_AUDIOOUT=OSS + use jack && LINUX_AUDIOOUT=OSS_AND_JACK + else + use jack && LINUX_AUDIOOUT=JACK + fi + + use alsa && LINUX_MIDIIN=ALSA +# use portaudio && LINUX_AUDIOOUT=PA +# use mmx && ASM_F2I=YES + + cd ${S}/src + make \ + FFTW_VERSION=${FFTW_VERSION} \ + ASM_F2I=${ASM_F2I} \ + LINUX_MIDIIN=${LINUX_MIDIIN} \ + LINUX_AUDIOOUT=${LINUX_AUDIOOUT} \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + CXX="$(tc-getCXX)" \ + || die "compile failed" + cd ${S}/ExternalPrograms/Spliter + ./compile.sh + cd ${S}/ExternalPrograms/Controller + ./compile.sh +} + +src_install() { + dobin ${S}/src/zynaddsubfx + dobin ${S}/ExternalPrograms/Spliter/spliter + dobin ${S}/ExternalPrograms/Controller/controller + dodoc ChangeLog FAQ.txt HISTORY.txt README.txt ZynAddSubFX.lsm bugs.txt + + for i in "Arpeggios" "Bass" "Brass" "Choir and Voice" "Drums" \ + "Dual" "Fantasy" "Guitar" "Misc" "Noises" "Organ" \ + "Pads" "Plucked" "Reed and Wind" "Rhodes" "Splited" \ + "Strings" "Synth" "SynthPiano" + do + insinto "/usr/share/${PN}/banks/${i}" + doins "${S}/banks/${i}/"* + done + + insinto /usr/share/${PN}/presets + doins "${S}/presets/"* + insinto /usr/share/${PN} + doins "${S}/examples/"* +} diff --git a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild index ed12b47fecd5..f65175a2783d 100644 --- a/media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild +++ b/media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild,v 1.1 2005/05/03 23:09:41 jnc Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-2.2.1.ebuild,v 1.2 2007/06/16 12:00:35 flameeyes Exp $ inherit eutils @@ -24,6 +24,15 @@ DEPEND=">=x11-libs/fltk-1.1.2 S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ZynAddSubFx with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_unpack() { unpack ${MY_P}.tar.bz2 || die # epatch ${FILESDIR}/${P}-*.patch |