Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsoundtouch/, media-libs/libsoundtouch/files/
Date: Wed, 05 Sep 2018 21:18:16
Message-Id: 1536182266.0ae92277d1773417f01843f6503f2c18eab2751b.asturm@gentoo
1 commit: 0ae92277d1773417f01843f6503f2c18eab2751b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 5 19:33:43 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 5 21:17:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae92277
7
8 media-libs/libsoundtouch: Drop vulnerable
9
10 Bug: https://bugs.gentoo.org/626508
11 Package-Manager: Portage-2.3.49, Repoman-2.3.10
12
13 media-libs/libsoundtouch/Manifest | 2 -
14 .../files/libsoundtouch-1.7.0-flags.patch | 22 ----------
15 .../libsoundtouch/libsoundtouch-1.8.0-r1.ebuild | 48 ---------------------
16 .../libsoundtouch/libsoundtouch-1.9.2.ebuild | 50 ----------------------
17 4 files changed, 122 deletions(-)
18
19 diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest
20 index ee90696b78f..04139e0a0d8 100644
21 --- a/media-libs/libsoundtouch/Manifest
22 +++ b/media-libs/libsoundtouch/Manifest
23 @@ -1,3 +1 @@
24 -DIST soundtouch-1.8.0.tar.gz 106229 BLAKE2B 158a1e4f8c8cbdc550e310f1c2531ace208159c986abbb25aa9787089538308940b61793acd6c26c2937cfc725b5ad3a23849e37b9958d05c09f55045493cc7d SHA512 724e6ecc1727ee4c4f2503d183717dc1503ee2017b176677da6f0268e82254a7cca3ff9a27dbb9cab59e32d002797eec1b39d2b729f741e5f2ea77a147af4d39
25 -DIST soundtouch-1.9.2.tar.gz 171369 BLAKE2B c60d06191a2e8268e7980bf30824676f4f3761357c5a41b1e376efa90f92153386f29447cdc9159c74acbd0a26d3cd4f8de51ee689cfe717cf422705e61f2e16 SHA512 d8f3f8970198a46ef3dc252719749bc19cbd2f8de5e00eeb2874565bfc421b60d94d400bacf702591293e595edf6c1c35917b6153fd395cad8d6b03115da7068
26 DIST soundtouch-2.0.0.tar.gz 455148 BLAKE2B e38358b0b773edc03a1b227222418d1e79a97f7a1c7abd22f2cb96bb2a7e3427802214775c908329eeec87710b4d199fba819ad7b99f3d58071749cf372991a1 SHA512 c916bdd2cb3d7547f264b1caf09b739b48a161c8c6288c3893fc97379546ed6b41dafaf603b583fbf64ae91270fdeb90811e5b0df0e9c051dc9f6ddca4d319f9
27
28 diff --git a/media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch b/media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch
29 deleted file mode 100644
30 index 2b1e1ac8095..00000000000
31 --- a/media-libs/libsoundtouch/files/libsoundtouch-1.7.0-flags.patch
32 +++ /dev/null
33 @@ -1,22 +0,0 @@
34 ---- soundtouch/source/SoundStretch/Makefile.am
35 -+++ soundtouch/source/SoundStretch/Makefile.am
36 -@@ -48,7 +48,7 @@
37 - # soundstretch_LDFLAGS=-s
38 -
39 - ## additional compiler flags
40 --soundstretch_CXXFLAGS=-O3
41 -+#soundstretch_CXXFLAGS=-O3
42 -
43 - #clean-local:
44 - # -rm -f additional-files-to-remove-on-make-clean
45 ---- soundtouch/source/SoundTouch/Makefile.am
46 -+++ soundtouch/source/SoundTouch/Makefile.am
47 -@@ -32,7 +32,7 @@
48 -
49 -
50 - # Compiler flags
51 --AM_CXXFLAGS=-O3 -fcheck-new -I../../include
52 -+AM_CXXFLAGS=-fcheck-new -I../../include
53 -
54 - # Compile the files that need MMX and SSE individually.
55 - libSoundTouch_la_LIBADD=libSoundTouchMMX.la libSoundTouchSSE.la
56
57 diff --git a/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild
58 deleted file mode 100644
59 index 622e5152d3a..00000000000
60 --- a/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild
61 +++ /dev/null
62 @@ -1,48 +0,0 @@
63 -# Copyright 1999-2015 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=5
67 -inherit autotools eutils flag-o-matic multilib-minimal
68 -
69 -MY_PN=${PN/lib}
70 -
71 -DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates"
72 -HOMEPAGE="https://www.surina.net/soundtouch/"
73 -SRC_URI="https://www.surina.net/soundtouch/${P/lib}.tar.gz"
74 -
75 -LICENSE="LGPL-2.1"
76 -SLOT="0"
77 -KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
78 -IUSE="cpu_flags_x86_sse2 static-libs"
79 -
80 -DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
81 -
82 -S=${WORKDIR}/${MY_PN}
83 -
84 -src_prepare() {
85 - epatch "${FILESDIR}"/${PN}-1.7.0-flags.patch
86 - sed -i "s:^\(pkgdoc_DATA=\)COPYING.TXT :\1:" Makefile.am || die
87 - sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die
88 - eautoreconf
89 -}
90 -
91 -multilib_src_configure() {
92 - ECONF_SOURCE=${S} \
93 - econf \
94 - --enable-shared \
95 - --disable-integer-samples \
96 - --enable-x86-optimizations=$(usex cpu_flags_x86_sse2 sse2) \
97 - $(use_enable static-libs static)
98 -}
99 -
100 -multilib_src_compile() {
101 - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
102 -}
103 -
104 -multilib_src_install() {
105 - emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install
106 -}
107 -
108 -multilib_src_install_all() {
109 - prune_libtool_files
110 -}
111
112 diff --git a/media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild
113 deleted file mode 100644
114 index a086c0f6769..00000000000
115 --- a/media-libs/libsoundtouch/libsoundtouch-1.9.2.ebuild
116 +++ /dev/null
117 @@ -1,50 +0,0 @@
118 -# Copyright 1999-2015 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=5
122 -inherit autotools eutils flag-o-matic multilib-minimal
123 -
124 -MY_PN=${PN/lib}
125 -
126 -DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates"
127 -HOMEPAGE="https://www.surina.net/soundtouch/"
128 -SRC_URI="https://www.surina.net/soundtouch/${P/lib}.tar.gz"
129 -
130 -LICENSE="LGPL-2.1"
131 -# subslot = libSoundTouch.so soname
132 -SLOT="0/1"
133 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
134 -IUSE="cpu_flags_x86_sse openmp static-libs"
135 -
136 -DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
137 -
138 -S=${WORKDIR}/${MY_PN}
139 -
140 -src_prepare() {
141 - use openmp && { tc-has-openmp || die "Please switch to an openmp compatible compiler"; }
142 - sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die
143 - sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die
144 - eautoreconf
145 -}
146 -
147 -multilib_src_configure() {
148 - ECONF_SOURCE=${S} \
149 - econf \
150 - --enable-shared \
151 - --disable-integer-samples \
152 - $(use_enable cpu_flags_x86_sse x86-optimizations) \
153 - $(use_enable openmp) \
154 - $(use_enable static-libs static)
155 -}
156 -
157 -multilib_src_compile() {
158 - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
159 -}
160 -
161 -multilib_src_install() {
162 - emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install
163 -}
164 -
165 -multilib_src_install_all() {
166 - prune_libtool_files
167 -}