diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-07-29 12:30:09 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-07-29 12:30:09 +0000 |
commit | 04466a231683f7755d587de7e90536ab442059f6 (patch) | |
tree | 614f4311479058034ea706a8cf4b017a8b42b1af | |
parent | media-sound/lmms: remove old ebuilds and do not drop keywords (diff) | |
download | sunrise-04466a231683f7755d587de7e90536ab442059f6.tar.gz sunrise-04466a231683f7755d587de7e90536ab442059f6.tar.bz2 sunrise-04466a231683f7755d587de7e90536ab442059f6.zip |
media-sound/sndpeek: New Ebuild for bug 142079
svn path=/sunrise/; revision=730
-rw-r--r-- | media-sound/sndpeek/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/sndpeek/Manifest | 20 | ||||
-rw-r--r-- | media-sound/sndpeek/files/digest-sndpeek-1.1 | 3 | ||||
-rw-r--r-- | media-sound/sndpeek/files/sndpeek-1.1-makefile.patch | 289 | ||||
-rw-r--r-- | media-sound/sndpeek/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/sndpeek/sndpeek-1.1.ebuild | 69 |
6 files changed, 394 insertions, 0 deletions
diff --git a/media-sound/sndpeek/ChangeLog b/media-sound/sndpeek/ChangeLog new file mode 100644 index 000000000..437d2d441 --- /dev/null +++ b/media-sound/sndpeek/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-sound/sndpeek +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 29 Jul 2006; Cedric Krier <ced@ced.homedns.org> +sndpeek-1.1.ebuild, + +files/sndpeek-1.1-makefile.patch, +metadata.xml: + New Ebuild for bug 142079 + diff --git a/media-sound/sndpeek/Manifest b/media-sound/sndpeek/Manifest new file mode 100644 index 000000000..3ff3963fa --- /dev/null +++ b/media-sound/sndpeek/Manifest @@ -0,0 +1,20 @@ +AUX sndpeek-1.1-makefile.patch 7483 RMD160 cd6d9542334e4730e8cafc6c46ca2dc819595123 SHA1 308626810732e5015553c0d5f4eb159ba48e7406 SHA256 4e4fc3d4f795867512a6fdd208c1b91e76354e97c2249417b0bf70ed29a76be7 +MD5 4785bf7647aabd04c9a6e2df602ed5a0 files/sndpeek-1.1-makefile.patch 7483 +RMD160 cd6d9542334e4730e8cafc6c46ca2dc819595123 files/sndpeek-1.1-makefile.patch 7483 +SHA256 4e4fc3d4f795867512a6fdd208c1b91e76354e97c2249417b0bf70ed29a76be7 files/sndpeek-1.1-makefile.patch 7483 +DIST sndpeek-1.1.tgz 109859 RMD160 912e9c9523020ea4eff6250a064c7a71d7f216b5 SHA1 f70f32475160828de4b59784e6d8fb62122f9d6d SHA256 eef56be9fd0e20bb431b41832ee5fbd18aff19f35889af3c5143868e6953b9d5 +EBUILD sndpeek-1.1.ebuild 1701 RMD160 cf5daa06d706aa96ca3141e0560aa0c2a0a74255 SHA1 13ee3e375339761f262d90f3c2c94a2e645dc5cc SHA256 f3e5150c3571c6d0f4b88d0cede5afdbd4c91f8f5a2695289f085cbd8ac63ee2 +MD5 ddad10c5ef9c251da833abd671fb5628 sndpeek-1.1.ebuild 1701 +RMD160 cf5daa06d706aa96ca3141e0560aa0c2a0a74255 sndpeek-1.1.ebuild 1701 +SHA256 f3e5150c3571c6d0f4b88d0cede5afdbd4c91f8f5a2695289f085cbd8ac63ee2 sndpeek-1.1.ebuild 1701 +MISC ChangeLog 272 RMD160 ac0c897126502df7e9c33f2b46ecbd8b6d0cb236 SHA1 46280f9933ecd3a8f320bc85d6c8c26c5a762c05 SHA256 9a580767dddc751c67a6f2c79841e0500dd50c045f8427d5d28696325885ccce +MD5 93d13f954e1456a5ac90af6e4d4cccfc ChangeLog 272 +RMD160 ac0c897126502df7e9c33f2b46ecbd8b6d0cb236 ChangeLog 272 +SHA256 9a580767dddc751c67a6f2c79841e0500dd50c045f8427d5d28696325885ccce ChangeLog 272 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 c146750f3c1863168dbc314dd31b5703 files/digest-sndpeek-1.1 226 +RMD160 7c2b4ec8483a7191e43af1b73f795b0ab34480e3 files/digest-sndpeek-1.1 226 +SHA256 8c0acee033869565cc96f73ca778c9790316ae97e0dd0c8d84bda244a1c927ad files/digest-sndpeek-1.1 226 diff --git a/media-sound/sndpeek/files/digest-sndpeek-1.1 b/media-sound/sndpeek/files/digest-sndpeek-1.1 new file mode 100644 index 000000000..00e4daa6e --- /dev/null +++ b/media-sound/sndpeek/files/digest-sndpeek-1.1 @@ -0,0 +1,3 @@ +MD5 5c374f1240dea7b4001ef3046637847e sndpeek-1.1.tgz 109859 +RMD160 912e9c9523020ea4eff6250a064c7a71d7f216b5 sndpeek-1.1.tgz 109859 +SHA256 eef56be9fd0e20bb431b41832ee5fbd18aff19f35889af3c5143868e6953b9d5 sndpeek-1.1.tgz 109859 diff --git a/media-sound/sndpeek/files/sndpeek-1.1-makefile.patch b/media-sound/sndpeek/files/sndpeek-1.1-makefile.patch new file mode 100644 index 000000000..cac9cf85a --- /dev/null +++ b/media-sound/sndpeek/files/sndpeek-1.1-makefile.patch @@ -0,0 +1,289 @@ +diff -ru sndpeek-1.1~/src/sndpeek/makefile.alsa sndpeek-1.1/src/sndpeek/makefile.alsa +--- sndpeek-1.1~/src/sndpeek/makefile.alsa 2006-07-29 12:50:41.000000000 +0200 ++++ sndpeek-1.1/src/sndpeek/makefile.alsa 2006-07-29 12:57:13.000000000 +0200 +@@ -4,63 +4,63 @@ + Centroid.o DownSampler.o Flux.o LPC.o MFCC.o RMS.o Rolloff.o System.o fvec.o \ + AutoCorrelation.o Communicator.o Hamming.o MagFFT.o NormRMS.o MarSignal.o fmatrix.o + +-CC=gcc +-CPP=g++ ++CC?=gcc ++CXX?=g++ + INCLUDES=-I../marsyas/ + MARSYAS_DIR=../marsyas/ +-CFLAGS=-D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ $(INCLUDES) -O3 -c +-LIBS=-L/usr/X11R6/lib -lglut -lGL -lGLU -lasound -lXmu -lX11 -lXext -lXi -lm ++CFLAGS+=-D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ $(INCLUDES) -c ++LIBS=-L/usr/X11R6/lib -lpthread -lstdc++ -lglut -lGL -lGLU -lasound -lXmu -lX11 -lXext -lXi -lm + + sndpeek: $(OBJS) +- $(CPP) -o $@ $(OBJS) $(LIBS) ++ $(CXX) -o $@ $(OBJS) $(LIBS) + + Centroid.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + DownSampler.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Flux.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + LPC.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MFCC.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + RMS.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Rolloff.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + System.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + fvec.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + AutoCorrelation.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Communicator.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Hamming.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MagFFT.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + NormRMS.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MarSignal.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + fmatrix.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + .o: $*.h + +@@ -68,7 +68,7 @@ + $(CC) $(CFLAGS) $*.c + + .cpp.o: $*.h $*.cpp +- $(CC) $(CFLAGS) $*.cpp ++ $(CXX) $(CFLAGS) $*.cpp + + clean: + rm -f sndpeek *~ *.o +diff -ru sndpeek-1.1~/src/sndpeek/makefile.jack sndpeek-1.1/src/sndpeek/makefile.jack +--- sndpeek-1.1~/src/sndpeek/makefile.jack 2006-07-29 12:50:41.000000000 +0200 ++++ sndpeek-1.1/src/sndpeek/makefile.jack 2006-07-29 12:56:20.000000000 +0200 +@@ -4,63 +4,63 @@ + Centroid.o DownSampler.o Flux.o LPC.o MFCC.o RMS.o Rolloff.o System.o fvec.o \ + AutoCorrelation.o Communicator.o Hamming.o MagFFT.o NormRMS.o MarSignal.o fmatrix.o + +-CC=gcc +-CPP=g++ ++CC?=gcc ++CXX?=g++ + INCLUDES=-I../marsyas/ + MARSYAS_DIR=../marsyas/ +-CFLAGS=-D__LINUX_JACK__ -D__LITTLE_ENDIAN__ $(INCLUDES) -O3 -c ++CFLAGS+=-D__LINUX_JACK__ -D__LITTLE_ENDIAN__ $(INCLUDES) -c + LIBS=-L/usr/X11R6/lib -lpthread -lstdc++ -lglut -lGL -lGLU -lasound -ljack -lXmu -lX11 -lXext -lXi -lm + + sndpeek: $(OBJS) +- $(CPP) -o $@ $(OBJS) $(LIBS) ++ $(CXX) -o $@ $(OBJS) $(LIBS) + + Centroid.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + DownSampler.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Flux.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + LPC.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MFCC.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + RMS.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Rolloff.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + System.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + fvec.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + AutoCorrelation.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Communicator.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Hamming.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MagFFT.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + NormRMS.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MarSignal.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + fmatrix.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + .o: $*.h + +@@ -68,7 +68,7 @@ + $(CC) $(CFLAGS) $*.c + + .cpp.o: $*.h $*.cpp +- $(CC) $(CFLAGS) $*.cpp ++ $(CXX) $(CFLAGS) $*.cpp + + clean: + rm -f sndpeek *~ *.o +diff -ru sndpeek-1.1~/src/sndpeek/makefile.oss sndpeek-1.1/src/sndpeek/makefile.oss +--- sndpeek-1.1~/src/sndpeek/makefile.oss 2006-07-29 12:50:41.000000000 +0200 ++++ sndpeek-1.1/src/sndpeek/makefile.oss 2006-07-29 12:58:02.000000000 +0200 +@@ -4,63 +4,63 @@ + Centroid.o DownSampler.o Flux.o LPC.o MFCC.o RMS.o Rolloff.o System.o fvec.o \ + AutoCorrelation.o Communicator.o Hamming.o MagFFT.o NormRMS.o MarSignal.o fmatrix.o + +-CC=gcc +-CPP=g++ ++CC?=gcc ++CXX?=g++ + INCLUDES=-I../marsyas/ + MARSYAS_DIR=../marsyas/ +-CFLAGS=-D__LINUX_OSS__ -D__LITTLE_ENDIAN__ $(INCLUDES) -O3 -c ++CFLAGS+=-D__LINUX_OSS__ -D__LITTLE_ENDIAN__ $(INCLUDES) -c + LIBS=-L/usr/X11R6/lib -lpthread -lstdc++ -lglut -lGL -lGLU -lXmu -lX11 -lXext -lXi -lm + + sndpeek: $(OBJS) +- $(CPP) -o $@ $(OBJS) $(LIBS) ++ $(CXX) -o $@ $(OBJS) $(LIBS) + + Centroid.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + DownSampler.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Flux.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + LPC.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MFCC.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + RMS.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Rolloff.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + System.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + fvec.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + AutoCorrelation.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Communicator.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + Hamming.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MagFFT.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + NormRMS.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + MarSignal.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + fmatrix.o: +- $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp ++ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp + + .o: $*.h + +@@ -68,7 +68,7 @@ + $(CC) $(CFLAGS) $*.c + + .cpp.o: $*.h $*.cpp +- $(CC) $(CFLAGS) $*.cpp ++ $(CXX) $(CFLAGS) $*.cpp + + clean: + rm -f sndpeek *~ *.o diff --git a/media-sound/sndpeek/metadata.xml b/media-sound/sndpeek/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/media-sound/sndpeek/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/media-sound/sndpeek/sndpeek-1.1.ebuild b/media-sound/sndpeek/sndpeek-1.1.ebuild new file mode 100644 index 000000000..02a3a0e93 --- /dev/null +++ b/media-sound/sndpeek/sndpeek-1.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs + +DESCRIPTION="real-time audio visualization" +HOMEPAGE="http://soundlab.cs.princeton.edu/software/sndpeek/" +SRC_URI="http://soundlab.cs.princeton.edu/software/${PN}/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="oss jack alsa" + +DEPEND="media-libs/glut + virtual/opengl + virtual/glu + || ( ( x11-libs/libXmu + x11-libs/libX11 + x11-libs/libXext ) + virtual/x11 ) + jack? ( media-sound/jack-audio-connection-kit ) + alsa? ( media-libs/alsa-lib )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-makefile.patch" +} + +pkg_setup() { + local cnt=0 + use jack && cnt="$((${cnt} + 1))" + use alsa && cnt="$((${cnt} + 1))" + use oss && cnt="$((${cnt} + 1))" + if [[ "${cnt}" -eq 0 ]]; then + eerror "One of the following USE flags is needed: jack, alsa or oss" + die "Please set one audio engine type" + elif [[ "${cnt}" -ne 1 ]]; then + eerror "You have set ${P} to use multiple audio engine." + eerror "I don't know which to use!" + eerror "You can use /etc/portage/package.use to set per-package USE flags" + eerror "Set it so only one audio engine type jack, alsa or oss" + die "Please set only one audio engine type" + fi +} + +src_compile() { + cd "${S}/src/sndpeek" + + local backend + if use jack; then + backend="jack" + elif use alsa; then + backend="alsa" + elif use oss; then + backend="oss" + fi + einfo "Compiling against ${backend}" + emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed" +} + +src_install() { + dobin src/sndpeek/sndpeek + + dodoc AUTHORS README THANKS TODO VERSIONS +} |