1 |
commit: bab476943fa6331d335022fc20da707721b4600f |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 00:56:51 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 00:56:51 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab47694 |
7 |
|
8 |
media-sound/sndpeek: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
media-sound/sndpeek/Manifest | 1 - |
13 |
.../sndpeek/files/sndpeek-1.3-gcc-4.3.patch | 26 -------- |
14 |
.../sndpeek/files/sndpeek-1.3-gcc-4.4.patch | 11 ---- |
15 |
media-sound/sndpeek/sndpeek-1.3-r2.ebuild | 73 ---------------------- |
16 |
4 files changed, 111 deletions(-) |
17 |
|
18 |
diff --git a/media-sound/sndpeek/Manifest b/media-sound/sndpeek/Manifest |
19 |
index 61b5771..6c2d425 100644 |
20 |
--- a/media-sound/sndpeek/Manifest |
21 |
+++ b/media-sound/sndpeek/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST sndpeek-1.3.tgz 298983 SHA256 36291830b345338777dd304bacb81b97885d31b33e9e6dba19340f25ac169d08 SHA512 0642400f8e806ab8ffac73b2cd92593feb5032c63b825899982b7ebafd770d53bb43b940a74d8fa0962ddd730b404bf8c842114a9f64234adddee5ae990ae9d4 WHIRLPOOL 088a05a7ea947c45f895bb3e0ad3bd3da439b8282b92f69a58e84e07e65db873a2a54bb0b6856903e833f21354e112711a65a4a2321044d9c9ded49b083af0d7 |
24 |
DIST sndpeek-1.4.tgz 311174 SHA256 2d86cf74854fa00dcdc05a35dd92bc4cf6115e87102b17023be5cba9ead8eedf SHA512 f44c2474828ccbd783d69cf14c5c63ab9c52e1f32fd3bdeb2b4e0c6c5dc83d5f88c2b4e27d48824b1acb29c730c1320953ccadf5635f61a9f93487bbcd821bcb WHIRLPOOL a11d2b75f0814643ad75b1b2da7bbd5876a2d1daececc776a3d562ecbdc3fe1c17957e1c479a6df7e8265ad862ed13615e80ada0beddd34c4b999e01b3f0abe0 |
25 |
|
26 |
diff --git a/media-sound/sndpeek/files/sndpeek-1.3-gcc-4.3.patch b/media-sound/sndpeek/files/sndpeek-1.3-gcc-4.3.patch |
27 |
deleted file mode 100644 |
28 |
index dcaa930..0000000 |
29 |
--- a/media-sound/sndpeek/files/sndpeek-1.3-gcc-4.3.patch |
30 |
+++ /dev/null |
31 |
@@ -1,26 +0,0 @@ |
32 |
-diff -ru sndpeek-1.3~/src/marsyas/LPC.h sndpeek-1.3/src/marsyas/LPC.h |
33 |
---- sndpeek-1.3~/src/marsyas/LPC.h 2008-06-28 12:37:05.000000000 +0200 |
34 |
-+++ sndpeek-1.3/src/marsyas/LPC.h 2008-06-28 12:37:15.000000000 +0200 |
35 |
-@@ -35,7 +35,7 @@ |
36 |
- #include "MagFFT.h" |
37 |
- #include "fvec.h" |
38 |
- #include "fmatrix.h" |
39 |
--#include <math.h> |
40 |
-+#include <cstdlib> |
41 |
- #include "AutoCorrelation.h" |
42 |
- #include "MarSignal.h" |
43 |
- |
44 |
-diff -ru sndpeek-1.3~/src/sndpeek/RtAudio.h sndpeek-1.3/src/sndpeek/RtAudio.h |
45 |
---- sndpeek-1.3~/src/sndpeek/RtAudio.h 2008-06-28 12:37:05.000000000 +0200 |
46 |
-+++ sndpeek-1.3/src/sndpeek/RtAudio.h 2008-06-28 12:37:15.000000000 +0200 |
47 |
-@@ -43,8 +43,9 @@ |
48 |
- #define __RTAUDIO_H |
49 |
- |
50 |
- #include "RtError.h" |
51 |
--#include <string> |
52 |
-+#include <cstring> |
53 |
- #include <vector> |
54 |
-+#include <cstdlib> |
55 |
- using namespace std; |
56 |
- |
57 |
- // Operating system dependent thread functionality. |
58 |
|
59 |
diff --git a/media-sound/sndpeek/files/sndpeek-1.3-gcc-4.4.patch b/media-sound/sndpeek/files/sndpeek-1.3-gcc-4.4.patch |
60 |
deleted file mode 100644 |
61 |
index d92bcdd..0000000 |
62 |
--- a/media-sound/sndpeek/files/sndpeek-1.3-gcc-4.4.patch |
63 |
+++ /dev/null |
64 |
@@ -1,11 +0,0 @@ |
65 |
-diff -ur sndpeek-1.3.orig/src/sndpeek/RtAudio.cpp sndpeek-1.3/src/sndpeek/RtAudio.cpp |
66 |
---- sndpeek-1.3.orig/src/sndpeek/RtAudio.cpp 2006-01-14 01:38:54.000000000 +0200 |
67 |
-+++ sndpeek-1.3/src/sndpeek/RtAudio.cpp 2009-06-06 10:58:48.000000000 +0300 |
68 |
-@@ -40,6 +40,7 @@ |
69 |
- // RtAudio: Version 3.0.1, 22 March 2004 |
70 |
- |
71 |
- #include "RtAudio.h" |
72 |
-+#include <cstdio> |
73 |
- #include <iostream> |
74 |
- |
75 |
- // Static variable definitions. |
76 |
|
77 |
diff --git a/media-sound/sndpeek/sndpeek-1.3-r2.ebuild b/media-sound/sndpeek/sndpeek-1.3-r2.ebuild |
78 |
deleted file mode 100644 |
79 |
index 9d7a405..0000000 |
80 |
--- a/media-sound/sndpeek/sndpeek-1.3-r2.ebuild |
81 |
+++ /dev/null |
82 |
@@ -1,73 +0,0 @@ |
83 |
-# Copyright 1999-2015 Gentoo Foundation |
84 |
-# Distributed under the terms of the GNU General Public License v2 |
85 |
-# $Id$ |
86 |
- |
87 |
-EAPI=2 |
88 |
-inherit eutils toolchain-funcs |
89 |
- |
90 |
-DESCRIPTION="real-time audio visualization" |
91 |
-HOMEPAGE="http://soundlab.cs.princeton.edu/software/sndpeek/" |
92 |
-SRC_URI="http://soundlab.cs.princeton.edu/software/${PN}/files/${P}.tgz" |
93 |
- |
94 |
-LICENSE="GPL-2" |
95 |
-SLOT="0" |
96 |
-KEYWORDS="~amd64 ~x86" |
97 |
-IUSE="+alsa jack oss" |
98 |
- |
99 |
-RDEPEND="media-libs/freeglut |
100 |
- virtual/opengl |
101 |
- virtual/glu |
102 |
- x11-libs/libXmu |
103 |
- x11-libs/libX11 |
104 |
- x11-libs/libXext |
105 |
- media-libs/libsndfile |
106 |
- jack? ( media-sound/jack-audio-connection-kit ) |
107 |
- alsa? ( media-libs/alsa-lib ) |
108 |
- app-eselect/eselect-sndpeek" |
109 |
-DEPEND="${RDEPEND}" |
110 |
- |
111 |
-src_prepare() { |
112 |
- epatch "${FILESDIR}"/${P}-makefile.patch \ |
113 |
- "${FILESDIR}"/${P}-gcc-4.3.patch \ |
114 |
- "${FILESDIR}"/${P}-gcc-4.4.patch |
115 |
-} |
116 |
- |
117 |
-pkg_setup() { |
118 |
- if ! use alsa && ! use jack && ! use oss; then |
119 |
- eerror "One of the following USE flags is needed: jack, alsa or oss" |
120 |
- die "Please set one audio engine type" |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-compile_backend() { |
125 |
- backend=$1 |
126 |
- cd "${S}/src/sndpeek" |
127 |
- einfo "Compiling against ${backend}" |
128 |
- emake -f "makefile.${backend}" CC=$(tc-getCC) \ |
129 |
- CXX=$(tc-getCXX) || die "emake failed" |
130 |
- mv sndpeek{,-${backend}} |
131 |
- emake -f "makefile.${backend}" clean |
132 |
- cd - |
133 |
-} |
134 |
- |
135 |
-src_compile() { |
136 |
- use alsa && compile_backend alsa |
137 |
- use jack && compile_backend jack |
138 |
- use oss && compile_backend oss |
139 |
-} |
140 |
- |
141 |
-src_install() { |
142 |
- use alsa && dobin src/sndpeek/sndpeek-alsa |
143 |
- use jack && dobin src/sndpeek/sndpeek-jack |
144 |
- use oss && dobin src/sndpeek/sndpeek-oss |
145 |
- dodoc AUTHORS README THANKS TODO VERSIONS |
146 |
-} |
147 |
- |
148 |
-pkg_postinst() { |
149 |
- elog "Sndpeek now can use many audio engines, so you can specify audio engine" |
150 |
- elog "with sndpeek-{jack,alsa,oss}" |
151 |
- elog "Or you can use 'eselect sndpeek' to set the audio engine" |
152 |
- |
153 |
- einfo "Calling eselect sndpeek update..." |
154 |
- eselect sndpeek update --if-unset |
155 |
-} |