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/caps-plugins/files/, media-plugins/caps-plugins/
Date: Fri, 09 Oct 2020 12:27:23
Message-Id: 1602246435.fc6e2aa29463fa7d52b8a173547b173206bf7d52.fordfrog@gentoo
1 commit: fc6e2aa29463fa7d52b8a173547b173206bf7d52
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 12:27:02 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 12:27:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6e2aa2
7
8 media-plugins/caps-plugins: removed obsolete 0.9.24
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-plugins/caps-plugins/Manifest | 1 -
14 .../caps-plugins/caps-plugins-0.9.24.ebuild | 51 ----------------------
15 .../files/caps-plugins-0.9.15-fix-c++14.patch | 23 ----------
16 .../files/caps-plugins-0.9.24-glibc-2.27.patch | 42 ------------------
17 4 files changed, 117 deletions(-)
18
19 diff --git a/media-plugins/caps-plugins/Manifest b/media-plugins/caps-plugins/Manifest
20 index 34d05e061ea..10c2256fb3d 100644
21 --- a/media-plugins/caps-plugins/Manifest
22 +++ b/media-plugins/caps-plugins/Manifest
23 @@ -1,2 +1 @@
24 -DIST caps_0.9.24.tar.bz2 181200 BLAKE2B a26ffd543696de11d1a21d4049944df64540cfe01c138e06815c84dc01e5541ad02c7d1ead1bf46a6296ad450acbe6ba30a8083850afcd697c05cf0f05ac4d3c SHA512 051d59c50302e45cec011a573385665e96b3bb0b6f0328e6b1e4f8fa26515d5cb4c2cc8230ea5bd242b1b8f62c86545997da2ab995e953a89d8de715807fc20d
25 DIST caps_0.9.26.tar.bz2 182334 BLAKE2B 3ab75dc1ab6c5ecebe7c4983f5eb8e540396f7bacba147e1f2877c4e3e699c62d1f6af36af16eb9feac537acd9946eec40c3c90de59f6e740f6ce04c8bc0fa71 SHA512 ce9a7219ef0c6c33a5debb407e9b6ea7432c3f50ab32c1915cf91c40cda541a812da887bf57ee536d653195158939889c4baf5fcbe3ded551abc676517e1da7a
26
27 diff --git a/media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild b/media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild
28 deleted file mode 100644
29 index f427ec2503b..00000000000
30 --- a/media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild
31 +++ /dev/null
32 @@ -1,51 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit toolchain-funcs multilib-minimal
39 -
40 -MY_P=caps-${PV}
41 -
42 -DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
43 -HOMEPAGE="http://quitte.de/dsp/caps.html"
44 -SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.bz2"
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE=""
49 -
50 -DEPEND="media-libs/ladspa-sdk"
51 -RDEPEND=""
52 -
53 -S="${WORKDIR}/${MY_P}"
54 -
55 -PATCHES=(
56 - "${FILESDIR}/${PN}-0.9.15-fix-c++14.patch"
57 - "${FILESDIR}/${P}-glibc-2.27.patch" # bug 647874
58 -)
59 -
60 -src_prepare() {
61 - default
62 - multilib_copy_sources
63 -}
64 -
65 -multilib_src_compile() {
66 - emake \
67 - ARCH="" \
68 - CC="$(tc-getCXX)" \
69 - CFLAGS="${CXXFLAGS} -fPIC -DPIC" \
70 - _LDFLAGS="-shared ${LDFLAGS}"
71 -}
72 -
73 -multilib_src_install() {
74 - insinto /usr/$(get_libdir)/ladspa
75 - insopts -m0755
76 - doins *.so
77 -}
78 -
79 -multilib_src_install_all() {
80 - insinto /usr/share/ladspa/rdf
81 - insopts -m0644
82 - doins *.rdf
83 -}
84
85 diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch b/media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch
86 deleted file mode 100644
87 index 32de7c4dee4..00000000000
88 --- a/media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch
89 +++ /dev/null
90 @@ -1,23 +0,0 @@
91 -From: Felipe Sateler <fsateler@××××××.org>
92 -Date: Fri, 1 Jul 2016 19:06:31 -0400
93 -Subject: Avoid ambiguity in div invocation
94 -
95 -Be specific and use int version.
96 -Fixes build failure with gcc >= 6
97 ----
98 - AutoFilter.cc | 2 +-
99 - 1 file changed, 1 insertion(+), 1 deletion(-)
100 -
101 -diff --git a/AutoFilter.cc b/AutoFilter.cc
102 -index fc087d0..bd6b12f 100644
103 ---- a/AutoFilter.cc
104 -+++ b/AutoFilter.cc
105 -@@ -69,7 +69,7 @@ AutoFilter::activate()
106 - void
107 - AutoFilter::cycle (uint frames)
108 - {
109 -- div_t qr = div (frames, blocksize);
110 -+ div_t qr = div ((int)frames, (int)blocksize);
111 - int blocks = qr.quot;
112 - if (qr.rem) ++blocks;
113 - double over_blocks = 1./blocks;
114
115 diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.9.24-glibc-2.27.patch b/media-plugins/caps-plugins/files/caps-plugins-0.9.24-glibc-2.27.patch
116 deleted file mode 100644
117 index 7c688d7f3bf..00000000000
118 --- a/media-plugins/caps-plugins/files/caps-plugins-0.9.24-glibc-2.27.patch
119 +++ /dev/null
120 @@ -1,42 +0,0 @@
121 -From: Aurelien Jarno <aurel32@××××××.org>
122 -Date: Tue, 20 Mar 2018 18:29:34 -0300
123 -Subject: Use standard exp10f instead of pow10f
124 -
125 -Starting with glibc 2.27, the latter is no longer supported
126 -
127 -Bug-Debian: https://bugs.debian.org/890633
128 ----
129 - dsp/v4f_IIR2.h | 6 +++---
130 - 1 file changed, 3 insertions(+), 3 deletions(-)
131 -
132 -diff --git a/dsp/v4f_IIR2.h b/dsp/v4f_IIR2.h
133 -index a68ecf5..9682f7b 100644
134 ---- a/dsp/v4f_IIR2.h
135 -+++ b/dsp/v4f_IIR2.h
136 -@@ -33,7 +33,7 @@
137 - namespace DSP {
138 -
139 - #ifdef __APPLE__
140 --inline float pow10f(float f) {return pow(10,f);}
141 -+inline float exp10f(float f) {return pow(10,f);}
142 - #endif
143 -
144 - class RBJv4
145 -@@ -142,7 +142,7 @@ class IIR2v4
146 - /* A = pow (10, gain / 40) */
147 - v4f_t A = (v4f_t) {.025,.025,.025,.025};
148 - A *= gain;
149 -- A = v4f_map<pow10f> (A);
150 -+ A = v4f_map<exp10f> (A);
151 -
152 - RBJv4 p (f, Q);
153 -
154 -@@ -429,7 +429,7 @@ class IIR2v4Bank
155 - /* A = pow (10, gain / 40) */
156 - v4f_t A = (v4f_t) {.025,.025,.025,.025};
157 - A *= gain[i];
158 -- A = v4f_map<pow10f> (A);
159 -+ A = v4f_map<exp10f> (A);
160 -
161 - RBJv4 p (f[i], Q[i]);
162 -