diff options
Diffstat (limited to 'media-sound')
6 files changed, 1 insertions, 225 deletions
diff --git a/media-sound/mpd/files b/media-sound/mpd/files index 037b845..8d8d7db 120000 --- a/media-sound/mpd/files +++ b/media-sound/mpd/files @@ -1,119 +1 @@ -/var/paludis/repositories/mpd/media-sound/mpd/filesgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>sound</herd> -</pkgmetadata> -pack-tools/musepack-tools-1.15v-r1.ebuild,v 1.2 2007/05/14 21:21:37 beandog Exp $ - -IUSE="static 16bit esd" - -inherit eutils flag-o-matic flag-o-matic - -S="${WORKDIR}/sv7" - -DESCRIPTION="Musepack audio compression tools" -HOMEPAGE="http://www.musepack.net" -SRC_URI="http://files.musepack.net/source/mpcsv7-src-${PV}.tar.bz2" - -SLOT="0" -LICENSE="LGPL-2.1" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" - -RDEPEND="esd? ( media-sound/esound ) - media-libs/id3lib - !media-sound/mppenc" - -DEPEND="${RDEPEND} - x86? ( dev-lang/nasm ) - x86-fbsd? ( dev-lang/nasm ) - amd64? ( dev-lang/nasm )" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch "${FILESDIR}/${P}-Makefile.patch" - epatch "${FILESDIR}/${P}-gcc4.patch" - use esd && epatch "${FILESDIR}/${P}-Makefile-esd.patch" - - sed -i 's/#define USE_IRIX_AUDIO/#undef USE_IRIX_AUDIO/' mpp.h - - if ! use esd ; then - sed -i -e 's/#define USE_ESD_AUDIO/#undef USE_ESD_AUDIO/' mpp.h - else - sed -i -e 's/^LDADD = -lm$/LDADD = $(shell esd-config --libs)/' \ - Makefile - fi - - if [[ $(tc-arch) != "x86" ]] ; then - sed -i 's/#define USE_ASM/#undef USE_ASM/' mpp.h - fi - - if [[ "$(tc-arch)" == "amd64" ]] ; then - sed -i 's/-f elf$/-f elf64/' Makefile - fi - - use 16bit && sed -i 's|//#define MAKE_16BIT|#define MAKE_16BIT|' mpp.h - - # Bug #109699; console redirection to /dev/tty makes no sense - sed -i -e 's/$(LDADD) &> $(LOGFILE)/$(LDADD)/' Makefile - - epatch "${FILESDIR}/${P}-execstack.patch" - epatch "${FILESDIR}/${P}-fbsd.patch" -} - -src_compile() { - filter-flags "-fprefetch-loop-arrays" - filter-flags "-mfpmath=sse" "-mfpmath=sse,387" - use static && export BLD_STATIC=1 - - append-flags "-I${S}" - - emake CC="$(tc-getCC)" clean || die - - ARCH= emake CC="$(tc-getCC)" mppenc mppdec replaygain || die -} - -src_install() { - dobin mppenc mppdec replaygain - dodoc README doc/ChangeLog doc/MANUAL.TXT doc/NEWS doc/SV7.txt doc/TODO* -} -b187301dfcff1c2605e91d13d21db160806a563d8c75f9b -et source from the gentoo mirror. Added nasm - dependency. Added to ~amd64. Removed -mpreferred-stack-boundary=2 from vendor - CFLAGS. - - 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> musepack-tools-1.15r.ebuild: - Add flag-o-matic for bug 49179 - -*musepack-tools-1.15r (22 Apr 2004) - - 22 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> - musepack-tools-1.15r.ebuild, files/musepack-tools-1.15r-Makefile.patch: - Initial ebuild provided by 4nykey@nm.ru in bug #47615. - -; Tony Vroon <chainsaw@gentoo.org> - +files/musepack-tools-1.15v-Makefile.patch, - +files/musepack-tools-1.15v-gcc4.patch, musepack-tools-1.15s-r2.ebuild, - musepack-tools-1.15t.ebuild, musepack-tools-1.15u.ebuild, - +musepack-tools-1.15v.ebuild: - Version bump, closes bug #83365. Correct LICENSE in all ebuilds. - -*musepack-tools-1.15u (08 Mar 2005) - - 08 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> - +files/musepack-tools-1.15u-Makefile.patch, - +files/musepack-tools-1.15u-gcc4.patch, +musepack-tools-1.15u.ebuild: - new upstream version, fixes #83528 - - 09 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> - musepack-tools-1.15s-r2.ebuild, musepack-tools-1.15t.ebuild: - corrected issue with esound dependency, fixes #81311 - - 11 Feb 2005; Tony Vroon <chainsaw@gentoo.org> - +files/musepack-tools-1.15t-gcc4.patch, musepack-tools-1.15t.ebuild: - GCC 4 compatability fix by Radoslaw -AstralStorm- Szkodzinski - <astralstorm@gorzow.mm.pl> closes bug #81443. - - 07 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> - files/musepack-tools-1.15t-Makefile.patch: - modifiep
\ No newline at end of file +/usr/portage/media-sound/mpd/files
\ No newline at end of file diff --git a/media-sound/musepack-tools/files/musepack-tools-1.15v-Makefile-esd.patch b/media-sound/musepack-tools/files/musepack-tools-1.15v-Makefile-esd.patch deleted file mode 100644 index 935d281..0000000 --- a/media-sound/musepack-tools/files/musepack-tools-1.15v-Makefile-esd.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig 2007-04-24 09:07:22.000000000 -0700 -+++ Makefile 2007-04-24 09:07:43.000000000 -0700 -@@ -310,10 +310,10 @@ - - $(MPPDEC_TARGET): $(MPPDEC_OBJ) - ifndef BLD_STATIC -- $(CC) $(CFLAGS) $(MPPDEC_OBJ) -o $(MPPDEC_TARGET) $(LDADD) -+ $(CC) $(CFLAGS) $(MPPDEC_OBJ) -o $(MPPDEC_TARGET) $(LDADD) -lesd - # -$(STRIP) $(STRIPOPT) $(MPPDEC_TARGET) - else -- $(CC) -static $(CFLAGS) $(MPPDEC_OBJ) -o $(MPPDEC_TARGET)-static $(LDADD) -+ $(CC) -static $(CFLAGS) $(MPPDEC_OBJ) -o $(MPPDEC_TARGET)-static $(LDADD) -lesd - # -$(STRIP) $(STRIPOPT) $(MPPDEC_TARGET)-static - endif - diff --git a/media-sound/musepack-tools/files/musepack-tools-1.15v-Makefile.patch b/media-sound/musepack-tools/files/musepack-tools-1.15v-Makefile.patch deleted file mode 100644 index b6e1d16..0000000 --- a/media-sound/musepack-tools/files/musepack-tools-1.15v-Makefile.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig 2005-02-07 15:56:48.000000000 +0100 -+++ Makefile 2005-02-07 23:23:20.422596896 +0100 -@@ -36,7 +36,7 @@ - # If unset Intel 386 with optimization for Pentium is selected. - - ifndef ARCH --ARCH = -march=i586 -m$(TUNE)=i686 -+ARCH = #-march=i586 -m$(TUNE)=i686 - endif - - ifdef MINGW -@@ -176,9 +176,9 @@ - -fno-finite-math-only -fno-unsafe-math-optimizations - endif - --OPTIM_SPEED = -O2 $(FLAGS) $(UNBREAK) -+OPTIM_SPEED = $(UNBREAK) - --OPTIM_SIZE = -Os $(FLAGS) $(UNBREAK) -+OPTIM_SIZE = $(UNBREAK) - - # Options to generate Assembly code for inspecting - diff --git a/media-sound/musepack-tools/files/musepack-tools-1.15v-execstack.patch b/media-sound/musepack-tools/files/musepack-tools-1.15v-execstack.patch deleted file mode 100644 index 075fad3..0000000 --- a/media-sound/musepack-tools/files/musepack-tools-1.15v-execstack.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: sv7/cpu_feat.nas -=================================================================== ---- sv7.orig/cpu_feat.nas -+++ sv7/cpu_feat.nas -@@ -140,3 +140,6 @@ proc Init_FPU2 - endproc - - end -+%ifidn __OUTPUT_FORMAT__,elf -+section .note.GNU-stack noalloc noexec nowrite progbits -+%endif -Index: sv7/fft4gasm.nas -=================================================================== ---- sv7.orig/fft4gasm.nas -+++ sv7/fft4gasm.nas -@@ -422,3 +422,6 @@ lbl5: - - - ;################################################################## -+%ifidn __OUTPUT_FORMAT__,elf -+section .note.GNU-stack noalloc noexec nowrite progbits -+%endif -Index: sv7/list_korr_asm.nas -=================================================================== ---- sv7.orig/list_korr_asm.nas -+++ sv7/list_korr_asm.nas -@@ -98,3 +98,6 @@ lbl2: - fstp tword [eax+ 8] ; x - ret - ; -+%ifidn __OUTPUT_FORMAT__,elf -+section .note.GNU-stack noalloc noexec nowrite progbits -+%endif -Index: sv7/synthasm.nas -=================================================================== ---- sv7.orig/synthasm.nas -+++ sv7/synthasm.nas -@@ -2225,3 +2225,6 @@ endproc - ; - ; end of synthasm.nas - ; -+%ifidn __OUTPUT_FORMAT__,elf -+section .note.GNU-stack noalloc noexec nowrite progbits -+%endif diff --git a/media-sound/musepack-tools/files/musepack-tools-1.15v-fbsd.patch b/media-sound/musepack-tools/files/musepack-tools-1.15v-fbsd.patch deleted file mode 100644 index 1171b57..0000000 --- a/media-sound/musepack-tools/files/musepack-tools-1.15v-fbsd.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: sv7/mppdec.h -=================================================================== ---- sv7.orig/mppdec.h -+++ sv7/mppdec.h -@@ -160,7 +160,7 @@ - # include <sys/time.h> - # if defined __linux__ // the standard is that this file is stored somewhere on the hard disk - # include <linux/soundcard.h> --# elif defined __bsdi__ -+# elif defined __bsdi__ || __FreeBSD__ >= 5 - # include <sys/soundcard.h> - # elif defined __FreeBSD__ - # include <machine/soundcard.h> diff --git a/media-sound/musepack-tools/files/musepack-tools-1.15v-gcc4.patch b/media-sound/musepack-tools/files/musepack-tools-1.15v-gcc4.patch deleted file mode 100644 index ddae02c..0000000 --- a/media-sound/musepack-tools/files/musepack-tools-1.15v-gcc4.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- sv7/mppenc.c~ 2005-02-10 04:44:48.944566440 +0100 -+++ sv7/mppenc.c 2005-02-10 04:45:04.464207096 +0100 -@@ -1844,7 +1844,7 @@ - } - - --static void -+void - OverdriveReport ( void ) - { - if ( Overflows > 0 ) { // report internal clippings |