diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-07-06 22:20:30 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-07-06 22:20:30 +0000 |
commit | f3116f4c61501d08947cab8b53211e33dc5b5728 (patch) | |
tree | 7720e5e8c07f187aca5148674490062152eb9235 /media-plugins | |
parent | Patch for gcc-4.2 (diff) | |
download | gentoo-2-f3116f4c61501d08947cab8b53211e33dc5b5728.tar.gz gentoo-2-f3116f4c61501d08947cab8b53211e33dc5b5728.tar.bz2 gentoo-2-f3116f4c61501d08947cab8b53211e33dc5b5728.zip |
multilib strict fix, honour cflags and ldflags
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'media-plugins')
4 files changed, 169 insertions, 1 deletions
diff --git a/media-plugins/tap-plugins/ChangeLog b/media-plugins/tap-plugins/ChangeLog index 12bfaa1d762a..801619262496 100644 --- a/media-plugins/tap-plugins/ChangeLog +++ b/media-plugins/tap-plugins/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-plugins/tap-plugins # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/tap-plugins/ChangeLog,v 1.17 2007/02/22 02:30:38 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/tap-plugins/ChangeLog,v 1.18 2007/07/06 22:20:30 aballier Exp $ + +*tap-plugins-0.7.0-r1 (06 Jul 2007) + + 06 Jul 2007; Alexis Ballier <aballier@gentoo.org> + +files/tap-plugins-0.7.0-cflags-ldflags.patch, + +tap-plugins-0.7.0-r1.ebuild: + multilib strict fix, honour cflags and ldflags 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/media-plugins/tap-plugins/files/digest-tap-plugins-0.7.0-r1 b/media-plugins/tap-plugins/files/digest-tap-plugins-0.7.0-r1 new file mode 100644 index 000000000000..a9b42f5c63b2 --- /dev/null +++ b/media-plugins/tap-plugins/files/digest-tap-plugins-0.7.0-r1 @@ -0,0 +1,3 @@ +MD5 e3e13df63627dcf54d0a96f8125df9ee tap-plugins-0.7.0.tar.gz 63863 +RMD160 5aaf2d3397d36b57129079e48053fa2473953560 tap-plugins-0.7.0.tar.gz 63863 +SHA256 87f4b5886ec581a617de49dd9ace75d0a5247672bfbc2cc32d2eebe233c80f34 tap-plugins-0.7.0.tar.gz 63863 diff --git a/media-plugins/tap-plugins/files/tap-plugins-0.7.0-cflags-ldflags.patch b/media-plugins/tap-plugins/files/tap-plugins-0.7.0-cflags-ldflags.patch new file mode 100644 index 000000000000..088d624dc3d4 --- /dev/null +++ b/media-plugins/tap-plugins/files/tap-plugins-0.7.0-cflags-ldflags.patch @@ -0,0 +1,118 @@ +Index: tap-plugins-0.7.0/Makefile +=================================================================== +--- tap-plugins-0.7.0.orig/Makefile ++++ tap-plugins-0.7.0/Makefile +@@ -34,9 +34,12 @@ INSTALL_LRDF_DIR = /usr/local/share/lads + + # GENERAL + ++OPT_CFLAGS = -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math + CC = gcc +-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC +-LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt ++CFLAGS = -I. -Wall $(OPT_CFLAGS) -c -fPIC -DPIC ++EXTRA_LDFLAGS = ++LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic $(EXTRA_LDFLAGS) ++LIBADD = -lc -lm -lrt + + PLUGINS = tap_autopan.so \ + tap_chorusflanger.so \ +@@ -65,79 +68,79 @@ all: $(PLUGINS) + + tap_tremolo.so: tap_tremolo.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_tremolo.c -o tap_tremolo.o +- $(CC) $(LDFLAGS) -o tap_tremolo.so tap_tremolo.o ++ $(CC) $(LDFLAGS) -o tap_tremolo.so tap_tremolo.o $(LIBADD) + + tap_eq.so: tap_eq.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_eq.c -o tap_eq.o +- $(CC) $(LDFLAGS) -o tap_eq.so tap_eq.o ++ $(CC) $(LDFLAGS) -o tap_eq.so tap_eq.o $(LIBADD) + + tap_eqbw.so: tap_eqbw.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_eqbw.c -o tap_eqbw.o +- $(CC) $(LDFLAGS) -o tap_eqbw.so tap_eqbw.o ++ $(CC) $(LDFLAGS) -o tap_eqbw.so tap_eqbw.o $(LIBADD) + + tap_echo.so: tap_echo.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_echo.c -o tap_echo.o +- $(CC) $(LDFLAGS) -o tap_echo.so tap_echo.o ++ $(CC) $(LDFLAGS) -o tap_echo.so tap_echo.o $(LIBADD) + + tap_reverb.so: tap_reverb.c tap_reverb.h tap_reverb_presets.h tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_reverb.c -o tap_reverb.o +- $(CC) $(LDFLAGS) -o tap_reverb.so tap_reverb.o ++ $(CC) $(LDFLAGS) -o tap_reverb.so tap_reverb.o $(LIBADD) + + tap_limiter.so: tap_limiter.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_limiter.c -o tap_limiter.o +- $(CC) $(LDFLAGS) -o tap_limiter.so tap_limiter.o ++ $(CC) $(LDFLAGS) -o tap_limiter.so tap_limiter.o $(LIBADD) + + tap_autopan.so: tap_autopan.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_autopan.c -o tap_autopan.o +- $(CC) $(LDFLAGS) -o tap_autopan.so tap_autopan.o ++ $(CC) $(LDFLAGS) -o tap_autopan.so tap_autopan.o $(LIBADD) + + tap_deesser.so: tap_deesser.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_deesser.c -o tap_deesser.o +- $(CC) $(LDFLAGS) -o tap_deesser.so tap_deesser.o ++ $(CC) $(LDFLAGS) -o tap_deesser.so tap_deesser.o $(LIBADD) + + tap_vibrato.so: tap_vibrato.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_vibrato.c -o tap_vibrato.o +- $(CC) $(LDFLAGS) -o tap_vibrato.so tap_vibrato.o ++ $(CC) $(LDFLAGS) -o tap_vibrato.so tap_vibrato.o $(LIBADD) + + tap_rotspeak.so: tap_rotspeak.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_rotspeak.c -o tap_rotspeak.o +- $(CC) $(LDFLAGS) -o tap_rotspeak.so tap_rotspeak.o ++ $(CC) $(LDFLAGS) -o tap_rotspeak.so tap_rotspeak.o $(LIBADD) + + tap_pitch.so: tap_pitch.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_pitch.c -o tap_pitch.o +- $(CC) $(LDFLAGS) -o tap_pitch.so tap_pitch.o ++ $(CC) $(LDFLAGS) -o tap_pitch.so tap_pitch.o $(LIBADD) + + tap_dynamics_m.so: tap_dynamics_m.c tap_dynamics_presets.h tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_dynamics_m.c -o tap_dynamics_m.o +- $(CC) $(LDFLAGS) -o tap_dynamics_m.so tap_dynamics_m.o ++ $(CC) $(LDFLAGS) -o tap_dynamics_m.so tap_dynamics_m.o $(LIBADD) + + tap_dynamics_st.so: tap_dynamics_st.c tap_dynamics_presets.h tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_dynamics_st.c -o tap_dynamics_st.o +- $(CC) $(LDFLAGS) -o tap_dynamics_st.so tap_dynamics_st.o ++ $(CC) $(LDFLAGS) -o tap_dynamics_st.so tap_dynamics_st.o $(LIBADD) + + tap_reflector.so: tap_reflector.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_reflector.c -o tap_reflector.o +- $(CC) $(LDFLAGS) -o tap_reflector.so tap_reflector.o ++ $(CC) $(LDFLAGS) -o tap_reflector.so tap_reflector.o $(LIBADD) + + tap_pinknoise.so: tap_pinknoise.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_pinknoise.c -o tap_pinknoise.o +- $(CC) $(LDFLAGS) -o tap_pinknoise.so tap_pinknoise.o ++ $(CC) $(LDFLAGS) -o tap_pinknoise.so tap_pinknoise.o $(LIBADD) + + tap_doubler.so: tap_doubler.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_doubler.c -o tap_doubler.o +- $(CC) $(LDFLAGS) -o tap_doubler.so tap_doubler.o ++ $(CC) $(LDFLAGS) -o tap_doubler.so tap_doubler.o $(LIBADD) + + tap_sigmoid.so: tap_sigmoid.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_sigmoid.c -o tap_sigmoid.o +- $(CC) $(LDFLAGS) -o tap_sigmoid.so tap_sigmoid.o ++ $(CC) $(LDFLAGS) -o tap_sigmoid.so tap_sigmoid.o $(LIBADD) + + tap_tubewarmth.so: tap_tubewarmth.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_tubewarmth.c -o tap_tubewarmth.o +- $(CC) $(LDFLAGS) -o tap_tubewarmth.so tap_tubewarmth.o ++ $(CC) $(LDFLAGS) -o tap_tubewarmth.so tap_tubewarmth.o $(LIBADD) + + tap_chorusflanger.so: tap_chorusflanger.c tap_utils.h ladspa.h + $(CC) $(CFLAGS) tap_chorusflanger.c -o tap_chorusflanger.o +- $(CC) $(LDFLAGS) -o tap_chorusflanger.so tap_chorusflanger.o ++ $(CC) $(LDFLAGS) -o tap_chorusflanger.so tap_chorusflanger.o $(LIBADD) + + + # OTHER TARGETS diff --git a/media-plugins/tap-plugins/tap-plugins-0.7.0-r1.ebuild b/media-plugins/tap-plugins/tap-plugins-0.7.0-r1.ebuild new file mode 100644 index 000000000000..7b211dd0651c --- /dev/null +++ b/media-plugins/tap-plugins/tap-plugins-0.7.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/tap-plugins/tap-plugins-0.7.0-r1.ebuild,v 1.1 2007/07/06 22:20:30 aballier Exp $ +# + +inherit multilib toolchain-funcs eutils + +IUSE="" + +DESCRIPTION="TAP LADSPA plugins package. Contains DeEsser, Dynamics, Equalizer, Reverb, Stereo Echo, Tremolo" +HOMEPAGE="http://tap-plugins.sourceforge.net" +SRC_URI="mirror://sourceforge/tap-plugins/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="media-libs/ladspa-sdk" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-cflags-ldflags.patch" +} + +src_compile() { + emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + dodoc README CREDITS + dohtml ${S}/doc/* + insinto /usr/$(get_libdir)/ladspa + insopts -m0755 + doins *.so + insinto /usr/share/ladspa/rdf + insopts -m0644 + doins *.rdf +} |