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-sound/sox/
Date: Wed, 22 Sep 2021 04:12:07
Message-Id: 1632283903.0f9a77761062e52ae0575a764c0c21a5d43b2359.fordfrog@gentoo
1 commit: 0f9a77761062e52ae0575a764c0c21a5d43b2359
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 22 04:11:43 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 22 04:11:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f9a7776
7
8 media-sound/sox: removed 14.4.2_p20200803-r3
9
10 Bug: https://bugs.gentoo.org/813783
11 Package-Manager: Portage-3.0.23, Repoman-3.0.3
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 media-sound/sox/sox-14.4.2_p20200803-r3.ebuild | 109 -------------------------
15 1 file changed, 109 deletions(-)
16
17 diff --git a/media-sound/sox/sox-14.4.2_p20200803-r3.ebuild b/media-sound/sox/sox-14.4.2_p20200803-r3.ebuild
18 deleted file mode 100644
19 index 4425958e83b..00000000000
20 --- a/media-sound/sox/sox-14.4.2_p20200803-r3.ebuild
21 +++ /dev/null
22 @@ -1,109 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit autotools
29 -
30 -# We take a snapshot because of the huge number of security
31 -# and other fixes since the release of 14.4.2.
32 -# Recommend mirroring the snapshot; unclear if they are stable URIs.
33 -COMMIT="50857c46c03a85c72826e819f5e815aad4a4633d"
34 -MY_P="sox-code-${COMMIT}"
35 -
36 -DESCRIPTION="The swiss army knife of sound processing programs"
37 -HOMEPAGE="http://sox.sourceforge.net"
38 -# Source: https://sourceforge.net/code-snapshots/git/s/so/sox/code.git/${MY_P}.zip
39 -SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.zip -> ${P}.zip"
40 -S="${WORKDIR}/${MY_P}"
41 -
42 -LICENSE="LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
45 -IUSE="alsa amr ao debug encode flac id3tag ladspa mad ogg openmp oss opus png pulseaudio sndfile sndio static-libs twolame wavpack"
46 -
47 -BDEPEND="
48 - app-arch/unzip
49 - virtual/pkgconfig
50 -"
51 -RDEPEND="
52 - dev-libs/libltdl:0=
53 - >=media-sound/gsm-1.0.12-r1
54 - sys-apps/file
55 - alsa? ( media-libs/alsa-lib )
56 - amr? ( media-libs/opencore-amr )
57 - ao? ( media-libs/libao:= )
58 - encode? ( >=media-sound/lame-3.98.4 )
59 - flac? ( >=media-libs/flac-1.1.3 )
60 - id3tag? ( media-libs/libid3tag:= )
61 - ladspa? ( media-libs/ladspa-sdk )
62 - mad? ( media-libs/libmad )
63 - ogg? (
64 - media-libs/libogg
65 - media-libs/libvorbis
66 - )
67 - opus? (
68 - media-libs/opus
69 - media-libs/opusfile
70 - )
71 - png? (
72 - media-libs/libpng:0=
73 - sys-libs/zlib
74 - )
75 - pulseaudio? ( media-sound/pulseaudio )
76 - sndfile? ( >=media-libs/libsndfile-1.0.11 )
77 - sndio? ( media-sound/sndio:= )
78 - twolame? ( media-sound/twolame )
79 - wavpack? ( media-sound/wavpack )"
80 -DEPEND="${RDEPEND}"
81 -
82 -DOCS=( AUTHORS ChangeLog NEWS )
83 -
84 -src_prepare() {
85 - default
86 -
87 - # bug #386027
88 - sed -i -e 's:CFLAGS="-g":CFLAGS="$CFLAGS -g":' configure.ac || die
89 -
90 - # bug #712630
91 - if use elibc_musl ; then
92 - ewarn "Applying musl workaround for bug #712630."
93 - ewarn "File-type detection with pipes may be missing."
94 - sed -i '/error FIX NEEDED HERE/d' src/formats.c || die
95 - fi
96 -
97 - eautoreconf
98 -}
99 -
100 -src_configure() {
101 - econf \
102 - $(use_with alsa) \
103 - $(use_with amr amrnb) \
104 - $(use_with amr amrwb) \
105 - $(use_with ao) \
106 - $(use_enable debug) \
107 - $(use_with encode lame) \
108 - $(use_with flac) \
109 - $(use_with id3tag) \
110 - $(use_with ladspa) \
111 - $(use_with mad) \
112 - $(use_enable openmp) \
113 - $(use_with ogg oggvorbis) \
114 - $(use_with oss) \
115 - $(use_with opus) \
116 - $(use_with png) \
117 - $(use_with pulseaudio) \
118 - $(use_with sndfile) \
119 - $(use_with sndio) \
120 - $(use_enable static-libs static) \
121 - $(use_with twolame) \
122 - $(use_with wavpack) \
123 - --with-distro="Gentoo"
124 -}
125 -
126 -src_install() {
127 - default
128 - # libltdl is used for loading plugins, keeping libtool files with empty
129 - # dependency_libs what otherwise would be -exec rm -f {} +
130 - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
131 -}