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-sound/sox/
Date: Sat, 25 Aug 2018 21:31:01
Message-Id: 1535232592.826b1d1d564a2d653cbb7083fc2027caecc2b89a.asturm@gentoo
1 commit: 826b1d1d564a2d653cbb7083fc2027caecc2b89a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 22 19:42:11 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 25 21:29:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=826b1d1d
7
8 media-sound/sox: Cleanup vulnerable
9
10 Bug: https://bugs.gentoo.org/634814
11 Package-Manager: Portage-2.3.48, Repoman-2.3.10
12
13 media-sound/sox/sox-14.4.2.ebuild | 76 ---------------------------------------
14 1 file changed, 76 deletions(-)
15
16 diff --git a/media-sound/sox/sox-14.4.2.ebuild b/media-sound/sox/sox-14.4.2.ebuild
17 deleted file mode 100644
18 index ee37ee2ba2d..00000000000
19 --- a/media-sound/sox/sox-14.4.2.ebuild
20 +++ /dev/null
21 @@ -1,76 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -inherit autotools
28 -
29 -DESCRIPTION="The swiss army knife of sound processing programs"
30 -HOMEPAGE="http://sox.sourceforge.net"
31 -SRC_URI="mirror://sourceforge/sox/${P}.tar.gz"
32 -
33 -LICENSE="LGPL-2.1"
34 -SLOT="0"
35 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
36 -IUSE="alsa amr ao debug encode flac id3tag ladspa mad ogg openmp oss opus png pulseaudio sndfile static-libs twolame wavpack"
37 -
38 -RDEPEND="
39 - dev-libs/libltdl:0=
40 - >=media-sound/gsm-1.0.12-r1
41 - alsa? ( media-libs/alsa-lib )
42 - amr? ( media-libs/opencore-amr )
43 - ao? ( media-libs/libao )
44 - encode? ( >=media-sound/lame-3.98.4 )
45 - flac? ( >=media-libs/flac-1.1.3 )
46 - id3tag? ( media-libs/libid3tag )
47 - ladspa? ( media-libs/ladspa-sdk )
48 - mad? ( media-libs/libmad )
49 - ogg? ( media-libs/libvorbis media-libs/libogg )
50 - opus? ( media-libs/opus media-libs/opusfile )
51 - png? ( media-libs/libpng:0= sys-libs/zlib )
52 - pulseaudio? ( media-sound/pulseaudio )
53 - sndfile? ( >=media-libs/libsndfile-1.0.11 )
54 - twolame? ( media-sound/twolame )
55 - wavpack? ( media-sound/wavpack )"
56 -DEPEND="${RDEPEND}
57 - virtual/pkgconfig"
58 -
59 -DOCS=( AUTHORS ChangeLog NEWS README )
60 -
61 -src_prepare() {
62 - sed -i -e 's:CFLAGS="-g":CFLAGS="$CFLAGS -g":' configure.ac || die #386027
63 -
64 - eautoreconf
65 -}
66 -
67 -src_configure() {
68 - econf \
69 - $(use_with alsa) \
70 - $(use_with amr amrnb) \
71 - $(use_with amr amrwb) \
72 - $(use_with ao) \
73 - $(use_enable debug) \
74 - $(use_with encode lame) \
75 - $(use_with flac) \
76 - $(use_with id3tag) \
77 - $(use_with ladspa) \
78 - $(use_with mad) \
79 - $(use_enable openmp) \
80 - $(use_with ogg oggvorbis) \
81 - $(use_with oss) \
82 - $(use_with opus) \
83 - $(use_with png) \
84 - $(use_with pulseaudio) \
85 - $(use_with sndfile) \
86 - $(use_enable static-libs static) \
87 - $(use_with twolame) \
88 - $(use_with wavpack) \
89 - --with-distro="Gentoo"
90 -}
91 -
92 -src_install() {
93 - default
94 - # libltdl is used for loading plugins, keeping libtool files with empty
95 - # dependency_libs what otherwise would be -exec rm -f {} +
96 - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
97 -}