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