Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/cmt-plugins/files/, media-plugins/cmt-plugins/
Date: Sun, 06 Sep 2020 08:22:16
Message-Id: 1599380487.e4bd88ccc0d2ea0b347096f464951b3cca5e9a9f.fordfrog@gentoo
1 commit: e4bd88ccc0d2ea0b347096f464951b3cca5e9a9f
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 6 08:21:27 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 6 08:21:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4bd88cc
7
8 media-plugins/cmt-plugins: removed obsolete 1.16-r4
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-plugins/cmt-plugins/Manifest | 1 -
14 .../cmt-plugins/cmt-plugins-1.16-r4.ebuild | 57 ----------------
15 .../files/cmt-plugins-1.16-darwin.patch | 12 ----
16 .../files/cmt-plugins-1.16-mallocstdlib.patch | 75 ----------------------
17 .../files/cmt-plugins-1.16-respect-ldflags.patch | 14 ----
18 .../cmt-plugins/files/cmt-plugins-1.16-sa.patch | 18 ------
19 6 files changed, 177 deletions(-)
20
21 diff --git a/media-plugins/cmt-plugins/Manifest b/media-plugins/cmt-plugins/Manifest
22 index 7f16a45c157..c6881f01397 100644
23 --- a/media-plugins/cmt-plugins/Manifest
24 +++ b/media-plugins/cmt-plugins/Manifest
25 @@ -1,2 +1 @@
26 DIST cmt_1.17.tgz 64070 BLAKE2B 903b540f0232e34dadb4683f5fe2478a0124dd1864c49868f8d5db4742cd89e55600c1b7aadea56b04b831b528b8930c472c2d05149b00e81cec503c69dc9c87 SHA512 7df31a44c41622785b569ef79bef91cba098fed89ca65dcb31b9fdd751caff863cf42eb7ca2ffab08e883fbcd040ab1c7290a96abf58e908be44ab803d672e26
27 -DIST cmt_src_1.16.tgz 63909 BLAKE2B b476b701f63125a11e2f03cb837552ddf26beba0c897873959c2577f3d897866bea0dccb480e4fcb0462a0ffea4d380b5a99998b082a46f7222049d2d2db4c9f SHA512 be4aaa064183b6121b4ca8d7d2535cb9a3bcb557e3a2f22b45ec9775b0e296f70a9a7edf697b78095d6ef1564bb5459bb742649082ac724d1774c0790379af21
28
29 diff --git a/media-plugins/cmt-plugins/cmt-plugins-1.16-r4.ebuild b/media-plugins/cmt-plugins/cmt-plugins-1.16-r4.ebuild
30 deleted file mode 100644
31 index 73484d26bbe..00000000000
32 --- a/media-plugins/cmt-plugins/cmt-plugins-1.16-r4.ebuild
33 +++ /dev/null
34 @@ -1,57 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -inherit eutils multilib toolchain-funcs multilib-minimal
41 -
42 -S="${WORKDIR}/cmt/src"
43 -MY_P="cmt_src_${PV}"
44 -
45 -DESCRIPTION="CMT (computer music toolkit) LADSPA library plugins"
46 -HOMEPAGE="http://www.ladspa.org/"
47 -SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz"
48 -
49 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
50 -LICENSE="LGPL-2.1"
51 -SLOT="0"
52 -IUSE=""
53 -
54 -DEPEND=">=media-libs/ladspa-sdk-1.13-r2[${MULTILIB_USEDEP}]"
55 -RDEPEND=""
56 -
57 -src_prepare() {
58 - sed -i \
59 - -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
60 - -e 's|/usr/local/include||g' \
61 - -e 's|/usr/local/lib||g' makefile \
62 - || die "sed makefile failed"
63 - sed -i -e "s/^CXXFLAGS*/CXXFLAGS = ${CXXFLAGS} \$(INCLUDES) -Wall -fPIC\n#/" \
64 - "${S}/makefile" || die "sed makefile failed (CXXFLAGS)"
65 -
66 - cd "${S}" || die
67 - epatch "${FILESDIR}/${P}-mallocstdlib.patch"
68 - epatch "${FILESDIR}/${P}-respect-ldflags.patch"
69 - epatch "${FILESDIR}/${P}-sa.patch"
70 - use elibc_Darwin && epatch "${FILESDIR}/${P}-darwin.patch"
71 - multilib_copy_sources
72 -}
73 -
74 -multilib_src_compile() {
75 - tc-export CXX
76 - emake PLUGIN_LIB="cmt.so"
77 -}
78 -
79 -multilib_src_install() {
80 - insopts -m755
81 - insinto /usr/$(get_libdir)/ladspa
82 - doins *.so
83 -}
84 -
85 -multilib_src_install_all() {
86 - insinto /usr/share/ladspa/rdf/
87 - doins "${FILESDIR}/cmt.rdf"
88 -
89 - dodoc ../README
90 - dohtml ../doc/*
91 -}
92
93 diff --git a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-darwin.patch b/media-plugins/cmt-plugins/files/cmt-plugins-1.16-darwin.patch
94 deleted file mode 100644
95 index f4352bfdcb9..00000000000
96 --- a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-darwin.patch
97 +++ /dev/null
98 @@ -1,12 +0,0 @@
99 -diff -u src-org/makefile src/makefile
100 ---- src-org/makefile Thu Oct 28 19:22:56 2004
101 -+++ src/makefile Thu Oct 28 19:28:16 2004
102 -@@ -68,7 +68,7 @@
103 - targets: $(PLUGIN_LIB)
104 -
105 - $(PLUGIN_LIB): $(PLUGIN_OBJECTS)
106 -- $(CXX) -shared \
107 -+ $(CXX) -dynamiclib -ldl \
108 - -o $(PLUGIN_LIB) \
109 - $(PLUGIN_OBJECTS)
110 -
111
112 diff --git a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-mallocstdlib.patch b/media-plugins/cmt-plugins/files/cmt-plugins-1.16-mallocstdlib.patch
113 deleted file mode 100644
114 index f4e7663282c..00000000000
115 --- a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-mallocstdlib.patch
116 +++ /dev/null
117 @@ -1,75 +0,0 @@
118 -Index: cmt/src/analogue.cpp
119 -===================================================================
120 ---- cmt.orig/src/analogue.cpp
121 -+++ cmt/src/analogue.cpp
122 -@@ -24,7 +24,6 @@
123 -
124 - /*****************************************************************************/
125 -
126 --#include <malloc.h>
127 - #include <math.h>
128 - #include <stdlib.h>
129 - #include "cmt.h"
130 -Index: cmt/src/canyondelay.cpp
131 -===================================================================
132 ---- cmt.orig/src/canyondelay.cpp
133 -+++ cmt/src/canyondelay.cpp
134 -@@ -25,7 +25,7 @@
135 - /*****************************************************************************/
136 -
137 -
138 --#include <malloc.h>
139 -+#include <stdlib.h>
140 - #include <math.h>
141 - #include "cmt.h"
142 -
143 -Index: cmt/src/lofi.cpp
144 -===================================================================
145 ---- cmt.orig/src/lofi.cpp
146 -+++ cmt/src/lofi.cpp
147 -@@ -24,7 +24,6 @@
148 -
149 - /*****************************************************************************/
150 -
151 --#include <malloc.h>
152 - #include <math.h>
153 - #include <stdlib.h>
154 - #include "cmt.h"
155 -Index: cmt/src/phasemod.cpp
156 -===================================================================
157 ---- cmt.orig/src/phasemod.cpp
158 -+++ cmt/src/phasemod.cpp
159 -@@ -24,7 +24,6 @@
160 -
161 - /*****************************************************************************/
162 -
163 --#include <malloc.h>
164 - #include <math.h>
165 - #include <stdlib.h>
166 - #include "cmt.h"
167 -Index: cmt/src/syndrum.cpp
168 -===================================================================
169 ---- cmt.orig/src/syndrum.cpp
170 -+++ cmt/src/syndrum.cpp
171 -@@ -24,7 +24,7 @@
172 -
173 - /*****************************************************************************/
174 -
175 --#include <malloc.h>
176 -+#include <stdlib.h>
177 - #include <math.h>
178 - #include "cmt.h"
179 -
180 -Index: cmt/src/vcf303.cpp
181 -===================================================================
182 ---- cmt.orig/src/vcf303.cpp
183 -+++ cmt/src/vcf303.cpp
184 -@@ -26,7 +26,7 @@
185 - /*****************************************************************************/
186 -
187 -
188 --#include <malloc.h>
189 -+#include <stdlib.h>
190 - #include <math.h>
191 - #include "cmt.h"
192 -
193
194 diff --git a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-respect-ldflags.patch b/media-plugins/cmt-plugins/files/cmt-plugins-1.16-respect-ldflags.patch
195 deleted file mode 100644
196 index e851c2a781e..00000000000
197 --- a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-respect-ldflags.patch
198 +++ /dev/null
199 @@ -1,14 +0,0 @@
200 -https://bugs.gentoo.org/show_bug.cgi?id=334711
201 -
202 ---- cmt/src/makefile.old 2010-09-13 16:43:26.000000000 +0100
203 -+++ cmt/src/makefile 2010-09-13 16:45:08.000000000 +0100
204 -@@ -66,7 +66,8 @@
205 - targets: $(PLUGIN_LIB)
206 -
207 - $(PLUGIN_LIB): $(PLUGIN_OBJECTS)
208 -- $(CXX) -shared \
209 -+ $(CXX) $(LDFLAGS) \
210 -+ -shared \
211 - -o $(PLUGIN_LIB) \
212 - $(PLUGIN_OBJECTS)
213 -
214
215 diff --git a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-sa.patch b/media-plugins/cmt-plugins/files/cmt-plugins-1.16-sa.patch
216 deleted file mode 100644
217 index 161c06d27ee..00000000000
218 --- a/media-plugins/cmt-plugins/files/cmt-plugins-1.16-sa.patch
219 +++ /dev/null
220 @@ -1,18 +0,0 @@
221 -Fix strict aliasing warnings: reeverb/Components/allpass.h:36:2: warning:
222 -dereferencing type-punned pointer will break strict-aliasing rules
223 -
224 -https://bugs.gentoo.org/show_bug.cgi?id=307563
225 -
226 -Index: cmt/src/freeverb/Components/denormals.h
227 -===================================================================
228 ---- cmt.orig/src/freeverb/Components/denormals.h
229 -+++ cmt/src/freeverb/Components/denormals.h
230 -@@ -8,7 +8,7 @@
231 - #ifndef _denormals_
232 - #define _denormals_
233 -
234 --#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
235 -+#define undenormalise(sample) if((((unsigned int)sample)&0x7f800000)==0) sample=0.0f
236 -
237 - #endif//_denormals_
238 -