Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/audacity/files/, media-sound/audacity/
Date: Mon, 05 Jun 2017 09:45:11
Message-Id: 1496655887.f73e0c56176dfc52d4ced771f89d0414487adcc2.pacho@gentoo
1 commit: f73e0c56176dfc52d4ced771f89d0414487adcc2
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 5 09:42:13 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 09:44:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73e0c56
7
8 media-sound/audacity: Drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-sound/audacity/Manifest | 2 -
13 media-sound/audacity/audacity-2.1.2.ebuild | 102 ---------------------
14 .../audacity/files/audacity-2.1.2-fix-c++14.patch | 41 ---------
15 3 files changed, 145 deletions(-)
16
17 diff --git a/media-sound/audacity/Manifest b/media-sound/audacity/Manifest
18 index 638874aced3..494eb45fad1 100644
19 --- a/media-sound/audacity/Manifest
20 +++ b/media-sound/audacity/Manifest
21 @@ -1,5 +1,3 @@
22 DIST audacity-help-2.1.3.zip 20682229 SHA256 35a8f989ac8dfd24fa73716498feeffb82f838972280623309a557a3fa632a88 SHA512 4666d414628aaf611f98001350bdbcb761dac19ce4cc1e59d1a29e5d74056b9bfe4492a356bcd6c44aac9a3aaa24e30acd7bb9647ca10395fa8d5f0839f893ec WHIRLPOOL 413390d10f977da3ebd339ed7925a8e81efede5b322d0e5c96c21ab86f8dd3c800d9a5eaeb5a69a6655e7c76ba7010b0ccb4da14864d77891d3028da54d3de04
23 -DIST audacity-manual-2.1.2.zip 20533055 SHA256 5c80ae719e0314011443cf5caaa7e27d5733bf70b1b1549f0c5ef8a4f71e5c0b SHA512 f4313c50f12259838a869a135e6c1366e0d746657654a31b5f05ed3a6e330d67b4567db7533df54d461873813982c47b48b463ee607c88fe0f018c9f75f06fe8 WHIRLPOOL 64e56177e6584a9094c1690e3de08097e1f1da6f80cf4bc98c6671cf0517cd1de3a6e9d73ba599ce9387571d83834a9b9c38faa13414e0c80dd41512e6a74464
24 DIST audacity-minsrc-2.0.5.tar.xz 5314060 SHA256 e287541dd017f523fd9a06d5140b8f72fe9a0450709de7c398baffa106db2b79 SHA512 d126068e9916072a3c23809074a0a8eff2c3121663f37ee15680ec2731b540fa2d083f3e2eecdd3c288462fa164ffaf9e6cdb1c9e84a25af3fa8046ee6798004 WHIRLPOOL 106b4e8a6c4f1328d7d064b9b02abf636180ee151f3ac08d7e502424d4cce8fb8960fea0dc907625703cbfff808f82c556c3cf02f42aea186fb0aa00e4f967a0
25 -DIST audacity-minsrc-2.1.2.tar.xz 7233500 SHA256 0df79fe0647a4cd68e46ad40d6e73d2f8eaae413b6d8b186ac036be3554d7e44 SHA512 46bc68825d29e88b14a674749532345ab63673ea1b85ad0d2a1b72b0974c74d2175e0ef307dad735592d18e56c1e0c65f994f4ee05d9e0f1aec194cd02c930da WHIRLPOOL 7c5cb69e38154de21a88aae5e4710035e459ca093c7d116bb96bd99bdced2526d3c727c8930bb80faad78c20f8d9b6ce801c5858f370b53c1412373956b39b3f
26 DIST audacity-minsrc-2.1.3.tar.xz 8073388 SHA256 c8fe1d52a58cef05390118a7f458f89252a3aa70155b78e8e25c92c4eeaabf31 SHA512 96e8bc49ef431b964d67857387cd9e5c1b398becfcaa452e26ef7617f267b7688617a5312d4a9873a24ee34986ea411148369e0ce138d86fea9b520e2c74a3ef WHIRLPOOL 730c962b6ff0861d9f96a58fb7d1c97af73cbf0072d3b8560c0250b4a37568741762d2891d8fb5097e6456a014e1ebe1dce4a41e039af5feb48d7bc454b67483
27
28 diff --git a/media-sound/audacity/audacity-2.1.2.ebuild b/media-sound/audacity/audacity-2.1.2.ebuild
29 deleted file mode 100644
30 index 16f9d28c094..00000000000
31 --- a/media-sound/audacity/audacity-2.1.2.ebuild
32 +++ /dev/null
33 @@ -1,102 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -inherit eutils wxwidgets
39 -
40 -MY_P="${PN}-minsrc-${PV}"
41 -DESCRIPTION="Free crossplatform audio editor"
42 -HOMEPAGE="http://web.audacityteam.org/"
43 -SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${MY_P}.tar.xz
44 - doc? ( https://dev.gentoo.org/~polynomial-c/dist/${PN}-manual-${PV}.zip )"
45 - # wget doesn't seem to work on FossHub links, so we mirror
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
50 -IUSE="alsa cpu_flags_x86_sse doc ffmpeg +flac id3tag jack +ladspa +lame libav
51 - +lv2 mad +midi nls +portmixer sbsms +soundtouch twolame vamp +vorbis +vst"
52 -RESTRICT="test"
53 -
54 -RDEPEND=">=app-arch/zip-2.3
55 - dev-libs/expat
56 - >=media-libs/libsndfile-1.0.0
57 - =media-libs/portaudio-19*
58 - media-libs/soxr
59 - x11-libs/wxGTK:3.0[X]
60 - alsa? ( media-libs/alsa-lib )
61 - ffmpeg? ( libav? ( media-video/libav:= )
62 - !libav? ( >=media-video/ffmpeg-1.2:= ) )
63 - flac? ( >=media-libs/flac-1.2.0[cxx] )
64 - id3tag? ( media-libs/libid3tag )
65 - jack? ( >=media-sound/jack-audio-connection-kit-0.103.0 )
66 - lame? ( >=media-sound/lame-3.70 )
67 - lv2? ( media-libs/lv2 )
68 - mad? ( >=media-libs/libmad-0.14.2b )
69 - midi? ( media-libs/portmidi )
70 - sbsms? ( media-libs/libsbsms )
71 - soundtouch? ( >=media-libs/libsoundtouch-1.3.1 )
72 - twolame? ( media-sound/twolame )
73 - vamp? ( >=media-libs/vamp-plugin-sdk-2.0 )
74 - vorbis? ( >=media-libs/libvorbis-1.0 )"
75 -DEPEND="${RDEPEND}
76 - app-arch/xz-utils
77 - virtual/pkgconfig
78 - nls? ( sys-devel/gettext )"
79 -
80 -REQUIRED_USE="soundtouch? ( midi )"
81 -
82 -S=${WORKDIR}/${MY_P}
83 -
84 -src_prepare() {
85 - epatch "${FILESDIR}/${PN}-2.1.2-fix-c++14.patch"
86 -}
87 -
88 -src_configure() {
89 - WX_GTK_VER="3.0"
90 - need-wxwidgets unicode
91 -
92 - # * always use system libraries if possible
93 - # * options listed in the order that configure --help lists them
94 - econf \
95 - $(use_enable nls) \
96 - --enable-unicode \
97 - $(use_enable cpu_flags_x86_sse sse) \
98 - --disable-dynamic-loading \
99 - --enable-nyquist \
100 - $(use_enable ladspa) \
101 - $(use_enable vst) \
102 - --with-wx-version=${WX_GTK_VER} \
103 - --with-expat=system \
104 - $(use_with ffmpeg) \
105 - $(use_with lame) \
106 - $(use_with flac libflac) \
107 - $(use_with id3tag libid3tag) \
108 - $(use_with mad libmad) \
109 - $(use_with sbsms) \
110 - --with-libsndfile=system \
111 - $(use_with soundtouch) \
112 - --with-libsoxr=system \
113 - $(use_with twolame libtwolame) \
114 - $(use_with vamp libvamp) \
115 - $(use_with vorbis libvorbis) \
116 - $(use_with lv2) \
117 - --with-portaudio \
118 - $(use_with midi) \
119 - --with-widgetextra=local \
120 - $(use_with portmixer)
121 -# $(use_with alsa) \
122 -# $(use_with jack)
123 -}
124 -
125 -src_install() {
126 - emake DESTDIR="${D}" install
127 -
128 - # Remove bad doc install
129 - rm -rf "${D}"/usr/share/doc
130 -
131 - # Install our docs
132 - dodoc README.txt
133 -
134 - use doc && dohtml -r "${WORKDIR}"/help/manual
135 -}
136
137 diff --git a/media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch b/media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch
138 deleted file mode 100644
139 index 32bcf42fd8a..00000000000
140 --- a/media-sound/audacity/files/audacity-2.1.2-fix-c++14.patch
141 +++ /dev/null
142 @@ -1,41 +0,0 @@
143 -Fix building with C++14, which errors out due to bool -> T* conversions
144 -See also: https://bugs.gentoo.org/show_bug.cgi?id=592448
145 -
146 -Patch by OpenSUSE
147 -
148 -Index: src/effects/vamp/LoadVamp.cpp
149 -===================================================================
150 ---- src/effects/vamp/LoadVamp.cpp.orig
151 -+++ src/effects/vamp/LoadVamp.cpp
152 -@@ -266,7 +266,7 @@ Plugin *VampEffectsModule::FindPlugin(co
153 - Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here
154 - if (!vp)
155 - {
156 -- return false;
157 -+ return NULL;
158 - }
159 -
160 - // We limit the listed plugin outputs to those whose results can
161 -Index: src/import/ImportFLAC.cpp
162 -===================================================================
163 ---- src/import/ImportFLAC.cpp.orig
164 -+++ src/import/ImportFLAC.cpp
165 -@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open
166 - int cnt;
167 - wxFile binaryFile;
168 - if (!binaryFile.Open(filename)) {
169 -- return false; // File not found
170 -+ return NULL; // File not found
171 - }
172 -
173 - #ifdef USE_LIBID3TAG
174 -@@ -313,7 +313,7 @@ ImportFileHandle *FLACImportPlugin::Open
175 -
176 - if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
177 - // File is not a FLAC file
178 -- return false;
179 -+ return NULL;
180 - }
181 -
182 - // Open the file for import
183 -