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