Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ardour/files/, media-sound/ardour/
Date: Mon, 11 Jun 2018 21:18:17
Message-Id: 1528751880.e23feed1818bd47ce44a3340276e2b21bc77ae2f.polynomial-c@gentoo
1 commit: e23feed1818bd47ce44a3340276e2b21bc77ae2f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 11 21:13:38 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 11 21:18:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23feed1
7
8 media-sound/ardour: Removed old.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 media-sound/ardour/Manifest | 8 --
13 media-sound/ardour/ardour-2.8.16-r1.ebuild | 82 ------------
14 media-sound/ardour/ardour-4.7-r1.ebuild | 138 --------------------
15 media-sound/ardour/ardour-4.7-r2.ebuild | 139 --------------------
16 media-sound/ardour/ardour-5.10.ebuild | 141 --------------------
17 media-sound/ardour/ardour-5.3-r1.ebuild | 143 ---------------------
18 media-sound/ardour/ardour-5.5-r1.ebuild | 141 --------------------
19 media-sound/ardour/ardour-5.6-r1.ebuild | 141 --------------------
20 media-sound/ardour/ardour-5.8-r1.ebuild | 141 --------------------
21 media-sound/ardour/ardour-5.9.ebuild | 141 --------------------
22 media-sound/ardour/files/ardour-2.8.11-flags.patch | 28 ----
23 .../ardour/files/ardour-2.8.14-boost-150.patch | 13 --
24 .../ardour/files/ardour-2.8.14-syslibs.patch | 108 ----------------
25 media-sound/ardour/files/ardour-4.0-lv2.patch | 56 --------
26 media-sound/ardour/files/ardour-4.7-gcc.patch | 100 --------------
27 media-sound/ardour/metadata.xml | 3 -
28 16 files changed, 1523 deletions(-)
29
30 diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest
31 index 218f86e373b..2715b3fb7e1 100644
32 --- a/media-sound/ardour/Manifest
33 +++ b/media-sound/ardour/Manifest
34 @@ -1,9 +1 @@
35 -DIST ardour-2.8.16.tar.bz2 2169916 BLAKE2B 47db892002f439312efdeec9840d96045a9852b078d4cd88de2fe089f510b904028cb7b0a2d2d39cf004a1bf60127bbfa91af6b9ff1118f3729f9c6d2363d14f SHA512 02e74883cf466fcd5588ec8f2fd9d032b4611071d630b412c853a7ae7cb46045c0cde4308abbc78da3f54aae0ab1c32a980b8d1e1a965c8633ef43d8e08e0d0d
36 -DIST ardour-4.7.tar.gz 9863149 BLAKE2B 1b81230a1add69506ad703b09cd683fad0ba5c78c30c1701b913ed42690665201541ff01ada9e5b913fc7000df1622cc9fb9b56fa95e46a48d6608ac4fc90f13 SHA512 5daff563ec0b2dc38ec6ca55bb12526ef54da9d8d5a29a9fd6d869f54b83e6fe5ff3c28ef654e6700455110b4a46ce42a33902eb66d96330c6c0948eb3cd3096
37 -DIST ardour-5.10.tar.bz2 8844840 BLAKE2B 5dd0834b96e56d6ae215f30ab70a28e1cc5f1045ce1c118977fc7dd58e80b8093f1337d4836ca1b68035da7f6f600b36009c6d853e9e001f4f7d549ea62626e2 SHA512 4dc8c43ed81b931e855f4a19b5674712a8322edaa06f466d5dd0eb93076a67da12795944c8f17b30b89bb5e87f54279fc2b21d147d48e98e5cb69a3f965a8bb8
38 DIST ardour-5.12.tar.bz2 8852834 BLAKE2B 0409d920ab0abc9e52a40cc343c5481d53292bea6e5c89c58328f95c53f7f09f30ce421f2ed0da0e3fdb4eaeeb5a25da0d07ed1d4c382b5b607f3b89324eca1b SHA512 c4b4332bddb2406924119c181622801725f4a7dd7741c1a66ddbc2236542764b786337da2f0a751f3bbe6e0389b5da765eb19b14a6a90c8f8a7fd68231e5067d
39 -DIST ardour-5.3.tar.bz2 8244811 BLAKE2B d2635ef720c03ec84bf481f09244c6fad78b857dcda52d7a40e0da9ce5c0a37f9cf5c8355429f86e17ddccb857a7b75c07481408dae2f10b8c71215e9ef8fa9e SHA512 464c311cd3f3f4a580ad451be7a8143a3f2f7454364426c952e757999aba92af6611d0bc31f4d5e0ca301a3c79e4cd1ec19b01ec9941f34e6fa4cf338149291f
40 -DIST ardour-5.5.tar.bz2 9237459 BLAKE2B 71e967202e46a7e7db1fc2717a8d27470e411dd686a5fd858da57aff72be1e277e20bd9f2568073cc91d21b6124af3ac3bf6024781fae344b83f4900025dc838 SHA512 63132681dda7890b8f455a8142935f0bdce28e718b98d1d79a9207ad86b25d31698285d28871bb5043b3b859efd8b1fb8b7b7324fa3abd952a7a9c8e1691e09c
41 -DIST ardour-5.6.tar.bz2 8590451 BLAKE2B ffafbac62d5bddfff2f4b4bda92692c1c7644050eec444e209f6b4d3b5c300c7ee39d46cd249196ca64b8a43c8716e5fc35272895dd059061669de629100697a SHA512 6d7c72f4bb91e0d9d63dfb2273108e3f61bddac9c21f1f58fe6cb73d5f0a028e735d226c3aa2d1404916b566a103d556a2934b083a4c5d629ec7e28c0abd34f9
42 -DIST ardour-5.8.tar.bz2 8669692 BLAKE2B 6628d0c6f81feb96f1d3bc5453cbeb3d5d7c012a2efa1e800d84fd1101c651bb4092e599ef6725507c6243a94107242a496b1b4f6df884bcaa8954c0f71a6861 SHA512 96b3a81f8c48f66839fb8cddeec5ed0c4a95a6092eab15eacb69007cf093cc6572c308e37c8acbc0194eeecf809980c22c04449fe65d683c298d8d0611e7950e
43 -DIST ardour-5.9.tar.bz2 8830842 BLAKE2B 4c025475528f7b0b58b18b9a075abab4805efa538af774bd7aa4b86da98c4df1ee639bb253f4326a11924d577c49a7af8c77098edf63a76205c60880bdac31b3 SHA512 1ba713f3953456260df9d183b30730c959f2707f8c9dd1280a3ab5eb5d9dbdd0e81db98150346f60f777f6bd02eeaaf9f9bcf43cf2ec0b5addce3b50fcbf7413
44
45 diff --git a/media-sound/ardour/ardour-2.8.16-r1.ebuild b/media-sound/ardour/ardour-2.8.16-r1.ebuild
46 deleted file mode 100644
47 index 20db704fb18..00000000000
48 --- a/media-sound/ardour/ardour-2.8.16-r1.ebuild
49 +++ /dev/null
50 @@ -1,82 +0,0 @@
51 -# Copyright 1999-2017 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=5
55 -inherit eutils flag-o-matic toolchain-funcs scons-utils
56 -
57 -DESCRIPTION="Digital Audio Workstation"
58 -HOMEPAGE="http://ardour.org/"
59 -SRC_URI="mirror://gentoo/${P}.tar.bz2"
60 -
61 -LICENSE="GPL-2"
62 -SLOT="2"
63 -KEYWORDS="~amd64 ~x86"
64 -IUSE="altivec curl debug nls lv2 cpu_flags_x86_sse"
65 -
66 -RDEPEND="media-libs/aubio
67 - media-libs/liblo
68 - sci-libs/fftw:3.0
69 - media-libs/freetype:2
70 - >=dev-libs/glib-2.10.1:2
71 - dev-cpp/glibmm:2
72 - >=x11-libs/gtk+-2.8.1:2
73 - >=dev-libs/libxml2-2.6:2
74 - >=media-libs/libsndfile-1.0.18
75 - >=media-libs/libsamplerate-0.1
76 - >=media-libs/rubberband-1.6.0
77 - >=media-libs/libsoundtouch-1.6.0
78 - media-libs/flac
79 - media-libs/raptor:2
80 - >=media-libs/liblrdf-0.4.0-r20
81 - virtual/jack
82 - >=gnome-base/libgnomecanvas-2
83 - media-libs/vamp-plugin-sdk
84 - dev-libs/libxslt
85 - dev-libs/libsigc++:2
86 - >=dev-cpp/gtkmm-2.16:2.4
87 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
88 - media-libs/alsa-lib
89 - x11-libs/pango
90 - x11-libs/cairo
91 - media-libs/libart_lgpl
92 - virtual/libusb:0
93 - dev-libs/boost
94 - curl? ( net-misc/curl )
95 - lv2? (
96 - >=media-libs/slv2-0.6.1
97 - media-libs/lilv
98 - media-libs/suil
99 - )"
100 -DEPEND="${RDEPEND}
101 - virtual/pkgconfig
102 - nls? ( sys-devel/gettext )"
103 -
104 -src_prepare() {
105 - epatch \
106 - "${FILESDIR}"/${PN}-2.8.11-flags.patch \
107 - "${FILESDIR}"/${PN}-2.8.14-syslibs.patch \
108 - "${FILESDIR}"/${PN}-2.8.14-boost-150.patch
109 -}
110 -
111 -src_compile() {
112 - local FPU_OPTIMIZATION=$($(use altivec || use cpu_flags_x86_sse) && echo 1 || echo 0)
113 - tc-export CC CXX
114 - mkdir -p "${D}"
115 -
116 - escons \
117 - DESTDIR="${D}" \
118 - FPU_OPTIMIZATION="${FPU_OPTIMIZATION}" \
119 - PREFIX=/usr \
120 - SYSLIBS=1 \
121 - $(use_scons curl FREESOUND) \
122 - $(use_scons debug DEBUG) \
123 - $(use_scons nls NLS) \
124 - $(use_scons lv2 LV2)
125 -}
126 -
127 -src_install() {
128 - escons install
129 - doman ${PN}.1
130 - newicon icons/icon/ardour_icon_mac.png ${PN}.png
131 - make_desktop_entry ardour2 ardour2 ardour AudioVideo
132 -}
133
134 diff --git a/media-sound/ardour/ardour-4.7-r1.ebuild b/media-sound/ardour/ardour-4.7-r1.ebuild
135 deleted file mode 100644
136 index 166114e42cd..00000000000
137 --- a/media-sound/ardour/ardour-4.7-r1.ebuild
138 +++ /dev/null
139 @@ -1,138 +0,0 @@
140 -# Copyright 1999-2017 Gentoo Foundation
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=5
144 -PYTHON_COMPAT=( python2_7 )
145 -PYTHON_REQ_USE='threads(+)'
146 -#EPYTHON='python2.7'
147 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
148 -
149 -DESCRIPTION="Digital Audio Workstation"
150 -HOMEPAGE="http://ardour.org/"
151 -
152 -if [[ ${PV} == *9999* ]]; then
153 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
154 - inherit git-r3
155 -else
156 - KEYWORDS="~amd64 ~x86"
157 - SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz"
158 -fi
159 -
160 -LICENSE="GPL-2"
161 -SLOT="4"
162 -IUSE="altivec doc jack lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
163 -
164 -RDEPEND="
165 - >=dev-cpp/glibmm-2.32.0
166 - >=dev-cpp/gtkmm-2.16:2.4
167 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
168 - dev-libs/boost:=
169 - >=dev-libs/glib-2.10.1:2
170 - dev-libs/libsigc++:2
171 - >=dev-libs/libxml2-2.6:2
172 - dev-libs/libxslt
173 - >=gnome-base/libgnomecanvas-2
174 - media-libs/alsa-lib
175 - media-libs/aubio
176 - media-libs/flac
177 - media-libs/freetype:2
178 - media-libs/libart_lgpl
179 - media-libs/liblo
180 - >=media-libs/liblrdf-0.4.0-r20
181 - >=media-libs/libsamplerate-0.1
182 - >=media-libs/libsndfile-1.0.18
183 - >=media-libs/libsoundtouch-1.6.0
184 - media-libs/raptor:2
185 - >=media-libs/rubberband-1.6.0
186 - >=media-libs/taglib-1.7
187 - media-libs/vamp-plugin-sdk
188 - net-misc/curl
189 - sci-libs/fftw:3.0
190 - virtual/libusb:0
191 - x11-libs/cairo
192 - >=x11-libs/gtk+-2.8.1:2
193 - x11-libs/pango
194 - jack? ( virtual/jack )
195 - lv2? (
196 - >=media-libs/slv2-0.6.1
197 - media-libs/lilv
198 - media-libs/sratom
199 - dev-libs/sord
200 - >=media-libs/suil-0.6.10
201 - >=media-libs/lv2-1.4.0
202 - )"
203 -
204 -DEPEND="${RDEPEND}
205 - ${PYTHON_DEPS}
206 - jack? ( virtual/jack )
207 - sys-devel/gettext
208 - virtual/pkgconfig
209 - doc? ( app-doc/doxygen[dot] )"
210 -
211 -pkg_setup() {
212 - if has_version \>=dev-libs/libsigc++-2.6 ; then
213 - append-cxxflags -std=c++11
214 - fi
215 - python-any-r1_pkg_setup
216 -}
217 -
218 -src_prepare(){
219 - if ! [[ ${PV} == *9999* ]]; then
220 - epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
221 - touch "${S}/libs/ardour/revision.cc"
222 - fi
223 - use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
224 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
225 - MARCH=$(get-flag march)
226 - OPTFLAGS=""
227 - if use cpu_flags_x86_sse; then
228 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
229 - elog "You enabled sse but use an march that does not support sse!"
230 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
231 - fi
232 - OPTFLAGS="sse"
233 - fi
234 - if use cpu_flags_x86_mmx; then
235 - if [[ ${MARCH} == "i486" ]]; then
236 - elog "You enabled mmx with i486 set as march! You have been warned!"
237 - fi
238 - OPTFLAGS="${OPTFLAGS} mmx"
239 - fi
240 - if use cpu_flags_x86_3dnow; then
241 - OPTFLAGS="${OPTFLAGS} 3dnow"
242 - fi
243 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
244 - -i "${S}"/wscript || die
245 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
246 - append-flags "-lboost_system"
247 - python_fix_shebang "${S}"/wscript
248 - python_fix_shebang "${S}"/waf
249 -}
250 -
251 -src_configure() {
252 - tc-export CC CXX
253 - mkdir -p "${D}"
254 - waf-utils_src_configure \
255 - --destdir="${D}" \
256 - --prefix=/usr \
257 - --configdir=/etc \
258 - --nls \
259 - --optimize \
260 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
261 - $(usex lv2 "--lv2" "--no-lv2") \
262 - $(usex doc "--docs" '') \
263 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
264 -}
265 -
266 -src_install() {
267 - waf-utils_src_install
268 - mv ${PN}.1 ${PN}${SLOT}.1
269 - doman ${PN}${SLOT}.1
270 - newicon icons/icon/ardour_icon_tango_48px_red.png ${PN}${SLOT}.png
271 - make_desktop_entry ardour4 ardour4 ardour4 AudioVideo
272 -}
273 -
274 -pkg_postinst() {
275 - elog "If you are using Ardour and want to keep its development alive"
276 - elog "then please consider to make a donation upstream at ${HOMEPAGE}"
277 -}
278
279 diff --git a/media-sound/ardour/ardour-4.7-r2.ebuild b/media-sound/ardour/ardour-4.7-r2.ebuild
280 deleted file mode 100644
281 index dfce82a22d0..00000000000
282 --- a/media-sound/ardour/ardour-4.7-r2.ebuild
283 +++ /dev/null
284 @@ -1,139 +0,0 @@
285 -# Copyright 1999-2017 Gentoo Foundation
286 -# Distributed under the terms of the GNU General Public License v2
287 -
288 -EAPI=5
289 -PYTHON_COMPAT=( python2_7 )
290 -PYTHON_REQ_USE='threads(+)'
291 -#EPYTHON='python2.7'
292 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
293 -
294 -DESCRIPTION="Digital Audio Workstation"
295 -HOMEPAGE="http://ardour.org/"
296 -
297 -if [[ ${PV} == *9999* ]]; then
298 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
299 - inherit git-r3
300 -else
301 - KEYWORDS="~amd64 ~x86"
302 - SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz"
303 -fi
304 -
305 -LICENSE="GPL-2"
306 -SLOT="4"
307 -IUSE="altivec doc jack lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
308 -
309 -RDEPEND="
310 - >=dev-cpp/glibmm-2.32.0
311 - >=dev-cpp/gtkmm-2.16:2.4
312 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
313 - dev-libs/boost:=
314 - >=dev-libs/glib-2.10.1:2
315 - dev-libs/libsigc++:2
316 - >=dev-libs/libxml2-2.6:2
317 - dev-libs/libxslt
318 - >=gnome-base/libgnomecanvas-2
319 - media-libs/alsa-lib
320 - media-libs/aubio
321 - media-libs/flac
322 - media-libs/freetype:2
323 - media-libs/libart_lgpl
324 - media-libs/liblo
325 - >=media-libs/liblrdf-0.4.0-r20
326 - >=media-libs/libsamplerate-0.1
327 - >=media-libs/libsndfile-1.0.18
328 - >=media-libs/libsoundtouch-1.6.0
329 - media-libs/raptor:2
330 - >=media-libs/rubberband-1.6.0
331 - >=media-libs/taglib-1.7
332 - media-libs/vamp-plugin-sdk
333 - net-misc/curl
334 - sci-libs/fftw:3.0[threads]
335 - virtual/libusb:0
336 - x11-libs/cairo
337 - >=x11-libs/gtk+-2.8.1:2
338 - x11-libs/pango
339 - jack? ( virtual/jack )
340 - lv2? (
341 - >=media-libs/slv2-0.6.1
342 - media-libs/lilv
343 - media-libs/sratom
344 - dev-libs/sord
345 - >=media-libs/suil-0.6.10
346 - >=media-libs/lv2-1.4.0
347 - )"
348 -
349 -DEPEND="${RDEPEND}
350 - ${PYTHON_DEPS}
351 - jack? ( virtual/jack )
352 - sys-devel/gettext
353 - virtual/pkgconfig
354 - doc? ( app-doc/doxygen[dot] )"
355 -
356 -pkg_setup() {
357 - if has_version \>=dev-libs/libsigc++-2.6 ; then
358 - append-cxxflags -std=c++11
359 - fi
360 - python-any-r1_pkg_setup
361 -}
362 -
363 -src_prepare(){
364 - if ! [[ ${PV} == *9999* ]]; then
365 - epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
366 - epatch "${FILESDIR}"/${PN}-4.7-gcc.patch
367 - touch "${S}/libs/ardour/revision.cc"
368 - fi
369 - use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
370 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
371 - MARCH=$(get-flag march)
372 - OPTFLAGS=""
373 - if use cpu_flags_x86_sse; then
374 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
375 - elog "You enabled sse but use an march that does not support sse!"
376 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
377 - fi
378 - OPTFLAGS="sse"
379 - fi
380 - if use cpu_flags_x86_mmx; then
381 - if [[ ${MARCH} == "i486" ]]; then
382 - elog "You enabled mmx with i486 set as march! You have been warned!"
383 - fi
384 - OPTFLAGS="${OPTFLAGS} mmx"
385 - fi
386 - if use cpu_flags_x86_3dnow; then
387 - OPTFLAGS="${OPTFLAGS} 3dnow"
388 - fi
389 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
390 - -i "${S}"/wscript || die
391 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
392 - append-flags "-lboost_system"
393 - python_fix_shebang "${S}"/wscript
394 - python_fix_shebang "${S}"/waf
395 -}
396 -
397 -src_configure() {
398 - tc-export CC CXX
399 - mkdir -p "${D}"
400 - waf-utils_src_configure \
401 - --destdir="${D}" \
402 - --prefix=/usr \
403 - --configdir=/etc \
404 - --nls \
405 - --optimize \
406 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
407 - $(usex lv2 "--lv2" "--no-lv2") \
408 - $(usex doc "--docs" '') \
409 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
410 -}
411 -
412 -src_install() {
413 - waf-utils_src_install
414 - mv ${PN}.1 ${PN}${SLOT}.1
415 - doman ${PN}${SLOT}.1
416 - newicon icons/icon/ardour_icon_tango_48px_red.png ${PN}${SLOT}.png
417 - make_desktop_entry ardour4 ardour4 ardour4 AudioVideo
418 -}
419 -
420 -pkg_postinst() {
421 - elog "If you are using Ardour and want to keep its development alive"
422 - elog "then please consider to make a donation upstream at ${HOMEPAGE}"
423 -}
424
425 diff --git a/media-sound/ardour/ardour-5.10.ebuild b/media-sound/ardour/ardour-5.10.ebuild
426 deleted file mode 100644
427 index 8998723b507..00000000000
428 --- a/media-sound/ardour/ardour-5.10.ebuild
429 +++ /dev/null
430 @@ -1,141 +0,0 @@
431 -# Copyright 1999-2017 Gentoo Foundation
432 -# Distributed under the terms of the GNU General Public License v2
433 -
434 -EAPI=6
435 -PYTHON_COMPAT=( python2_7 )
436 -PYTHON_REQ_USE='threads(+)'
437 -#EPYTHON='python2.7'
438 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
439 -
440 -DESCRIPTION="Digital Audio Workstation"
441 -HOMEPAGE="http://ardour.org/"
442 -
443 -if [[ ${PV} == *9999* ]]; then
444 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
445 - inherit git-r3
446 -else
447 - KEYWORDS="~amd64 ~x86"
448 - SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
449 - S="${WORKDIR}/Ardour-${PV}.0"
450 -fi
451 -
452 -LICENSE="GPL-2"
453 -SLOT="5"
454 -IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
455 -
456 -RDEPEND="
457 - >=dev-cpp/glibmm-2.32.0
458 - >=dev-cpp/gtkmm-2.16:2.4
459 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
460 - dev-libs/boost:=
461 - >=dev-libs/glib-2.10.1:2
462 - dev-libs/libsigc++:2
463 - >=dev-libs/libxml2-2.6:2
464 - dev-libs/libxslt
465 - >=gnome-base/libgnomecanvas-2
466 - media-libs/alsa-lib
467 - media-libs/aubio
468 - media-libs/flac
469 - media-libs/freetype:2
470 - media-libs/libart_lgpl
471 - media-libs/liblo
472 - >=media-libs/liblrdf-0.4.0-r20
473 - >=media-libs/libsamplerate-0.1
474 - >=media-libs/libsndfile-1.0.18
475 - >=media-libs/libsoundtouch-1.6.0
476 - media-libs/raptor:2
477 - >=media-libs/rubberband-1.6.0
478 - >=media-libs/taglib-1.7
479 - media-libs/vamp-plugin-sdk
480 - net-misc/curl
481 - sys-libs/readline:0=
482 - sci-libs/fftw:3.0[threads]
483 - virtual/libusb:0
484 - x11-libs/cairo
485 - >=x11-libs/gtk+-2.8.1:2
486 - x11-libs/pango
487 - jack? ( virtual/jack )
488 - >=media-libs/slv2-0.6.1
489 - media-libs/lilv
490 - media-libs/sratom
491 - dev-libs/sord
492 - >=media-libs/suil-0.6.10
493 - >=media-libs/lv2-1.4.0"
494 -
495 -DEPEND="${RDEPEND}
496 - ${PYTHON_DEPS}
497 - jack? ( virtual/jack )
498 - sys-devel/gettext
499 - virtual/pkgconfig
500 - doc? ( app-doc/doxygen[dot] )"
501 -
502 -pkg_setup() {
503 - if has_version \>=dev-libs/libsigc++-2.6 ; then
504 - append-cxxflags -std=c++11
505 - fi
506 - python-any-r1_pkg_setup
507 -}
508 -
509 -src_prepare(){
510 - eapply_user
511 - if ! [[ ${PV} == *9999* ]]; then
512 - eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
513 - touch "${S}/libs/ardour/revision.cc"
514 - fi
515 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
516 - MARCH=$(get-flag march)
517 - OPTFLAGS=""
518 - if use cpu_flags_x86_sse; then
519 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
520 - elog "You enabled sse but use an march that does not support sse!"
521 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
522 - fi
523 - OPTFLAGS="sse"
524 - fi
525 - if use cpu_flags_x86_mmx; then
526 - if [[ ${MARCH} == "i486" ]]; then
527 - elog "You enabled mmx with i486 set as march! You have been warned!"
528 - fi
529 - OPTFLAGS="${OPTFLAGS} mmx"
530 - fi
531 - if use cpu_flags_x86_3dnow; then
532 - OPTFLAGS="${OPTFLAGS} 3dnow"
533 - fi
534 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
535 - -i "${S}"/wscript || die
536 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
537 - append-flags "-lboost_system"
538 - python_fix_shebang "${S}"/wscript
539 - python_fix_shebang "${S}"/waf
540 -}
541 -
542 -src_configure() {
543 - tc-export CC CXX
544 - mkdir -p "${D}"
545 - waf-utils_src_configure \
546 - --destdir="${D}" \
547 - --prefix=/usr \
548 - --configdir=/etc \
549 - --nls \
550 - --optimize \
551 - --lv2 \
552 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
553 - $(usex doc "--docs" '') \
554 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
555 -}
556 -
557 -src_install() {
558 - waf-utils_src_install
559 - mv ${PN}.1 ${PN}${SLOT}.1
560 - doman ${PN}${SLOT}.1
561 - newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
562 - make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
563 -}
564 -
565 -pkg_postinst() {
566 - elog "If you are using Ardour and want to keep its development alive"
567 - elog "then please consider to make a donation upstream at ${HOMEPAGE}."
568 - elog "Please do _not_ report problems with the package to ${PN} upstream."
569 - elog "If you think you've found a bug, check the upstream binary package"
570 - elog "before you report anything to upstream."
571 -}
572
573 diff --git a/media-sound/ardour/ardour-5.3-r1.ebuild b/media-sound/ardour/ardour-5.3-r1.ebuild
574 deleted file mode 100644
575 index d6f899d2432..00000000000
576 --- a/media-sound/ardour/ardour-5.3-r1.ebuild
577 +++ /dev/null
578 @@ -1,143 +0,0 @@
579 -# Copyright 1999-2017 Gentoo Foundation
580 -# Distributed under the terms of the GNU General Public License v2
581 -
582 -EAPI=5
583 -PYTHON_COMPAT=( python2_7 )
584 -PYTHON_REQ_USE='threads(+)'
585 -#EPYTHON='python2.7'
586 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
587 -
588 -DESCRIPTION="Digital Audio Workstation"
589 -HOMEPAGE="http://ardour.org/"
590 -
591 -if [[ ${PV} == *9999* ]]; then
592 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
593 - inherit git-r3
594 -else
595 - KEYWORDS="~amd64 ~x86"
596 - SRC_URI="http://fossies.org/linux/misc/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
597 - S="${WORKDIR}/Ardour-${PV}.0"
598 -fi
599 -
600 -LICENSE="GPL-2"
601 -SLOT="5"
602 -IUSE="altivec doc jack lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
603 -
604 -RDEPEND="
605 - >=dev-cpp/glibmm-2.32.0
606 - >=dev-cpp/gtkmm-2.16:2.4
607 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
608 - dev-libs/boost:=
609 - >=dev-libs/glib-2.10.1:2
610 - dev-libs/libsigc++:2
611 - >=dev-libs/libxml2-2.6:2
612 - dev-libs/libxslt
613 - >=gnome-base/libgnomecanvas-2
614 - media-libs/alsa-lib
615 - media-libs/aubio
616 - media-libs/flac
617 - media-libs/freetype:2
618 - media-libs/libart_lgpl
619 - media-libs/liblo
620 - >=media-libs/liblrdf-0.4.0-r20
621 - >=media-libs/libsamplerate-0.1
622 - >=media-libs/libsndfile-1.0.18
623 - >=media-libs/libsoundtouch-1.6.0
624 - media-libs/raptor:2
625 - >=media-libs/rubberband-1.6.0
626 - >=media-libs/taglib-1.7
627 - media-libs/vamp-plugin-sdk
628 - net-misc/curl
629 - sys-libs/readline:0=
630 - sci-libs/fftw:3.0[threads]
631 - virtual/libusb:0
632 - x11-libs/cairo
633 - >=x11-libs/gtk+-2.8.1:2
634 - x11-libs/pango
635 - jack? ( virtual/jack )
636 - lv2? (
637 - >=media-libs/slv2-0.6.1
638 - media-libs/lilv
639 - media-libs/sratom
640 - dev-libs/sord
641 - >=media-libs/suil-0.6.10
642 - >=media-libs/lv2-1.4.0
643 - )"
644 -
645 -DEPEND="${RDEPEND}
646 - ${PYTHON_DEPS}
647 - jack? ( virtual/jack )
648 - sys-devel/gettext
649 - virtual/pkgconfig
650 - doc? ( app-doc/doxygen[dot] )"
651 -
652 -pkg_setup() {
653 - if has_version \>=dev-libs/libsigc++-2.6 ; then
654 - append-cxxflags -std=c++11
655 - fi
656 - python-any-r1_pkg_setup
657 -}
658 -
659 -src_prepare(){
660 - if ! [[ ${PV} == *9999* ]]; then
661 - epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
662 - touch "${S}/libs/ardour/revision.cc"
663 - fi
664 - use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
665 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
666 - MARCH=$(get-flag march)
667 - OPTFLAGS=""
668 - if use cpu_flags_x86_sse; then
669 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
670 - elog "You enabled sse but use an march that does not support sse!"
671 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
672 - fi
673 - OPTFLAGS="sse"
674 - fi
675 - if use cpu_flags_x86_mmx; then
676 - if [[ ${MARCH} == "i486" ]]; then
677 - elog "You enabled mmx with i486 set as march! You have been warned!"
678 - fi
679 - OPTFLAGS="${OPTFLAGS} mmx"
680 - fi
681 - if use cpu_flags_x86_3dnow; then
682 - OPTFLAGS="${OPTFLAGS} 3dnow"
683 - fi
684 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
685 - -i "${S}"/wscript || die
686 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
687 - append-flags "-lboost_system"
688 - python_fix_shebang "${S}"/wscript
689 - python_fix_shebang "${S}"/waf
690 -}
691 -
692 -src_configure() {
693 - tc-export CC CXX
694 - mkdir -p "${D}"
695 - waf-utils_src_configure \
696 - --destdir="${D}" \
697 - --prefix=/usr \
698 - --configdir=/etc \
699 - --nls \
700 - --optimize \
701 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
702 - $(usex lv2 "--lv2" "--no-lv2") \
703 - $(usex doc "--docs" '') \
704 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
705 -}
706 -
707 -src_install() {
708 - waf-utils_src_install
709 - mv ${PN}.1 ${PN}${SLOT}.1
710 - doman ${PN}${SLOT}.1
711 - newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
712 - make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
713 -}
714 -
715 -pkg_postinst() {
716 - elog "If you are using Ardour and want to keep its development alive"
717 - elog "then please consider to make a donation upstream at ${HOMEPAGE}."
718 - elog "Please do _not_ report problems with the package to ${PN} upstream."
719 - elog "If you think you've found a bug, check the upstream binary package"
720 - elog "before you report anything to upstream."
721 -}
722
723 diff --git a/media-sound/ardour/ardour-5.5-r1.ebuild b/media-sound/ardour/ardour-5.5-r1.ebuild
724 deleted file mode 100644
725 index 8998723b507..00000000000
726 --- a/media-sound/ardour/ardour-5.5-r1.ebuild
727 +++ /dev/null
728 @@ -1,141 +0,0 @@
729 -# Copyright 1999-2017 Gentoo Foundation
730 -# Distributed under the terms of the GNU General Public License v2
731 -
732 -EAPI=6
733 -PYTHON_COMPAT=( python2_7 )
734 -PYTHON_REQ_USE='threads(+)'
735 -#EPYTHON='python2.7'
736 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
737 -
738 -DESCRIPTION="Digital Audio Workstation"
739 -HOMEPAGE="http://ardour.org/"
740 -
741 -if [[ ${PV} == *9999* ]]; then
742 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
743 - inherit git-r3
744 -else
745 - KEYWORDS="~amd64 ~x86"
746 - SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
747 - S="${WORKDIR}/Ardour-${PV}.0"
748 -fi
749 -
750 -LICENSE="GPL-2"
751 -SLOT="5"
752 -IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
753 -
754 -RDEPEND="
755 - >=dev-cpp/glibmm-2.32.0
756 - >=dev-cpp/gtkmm-2.16:2.4
757 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
758 - dev-libs/boost:=
759 - >=dev-libs/glib-2.10.1:2
760 - dev-libs/libsigc++:2
761 - >=dev-libs/libxml2-2.6:2
762 - dev-libs/libxslt
763 - >=gnome-base/libgnomecanvas-2
764 - media-libs/alsa-lib
765 - media-libs/aubio
766 - media-libs/flac
767 - media-libs/freetype:2
768 - media-libs/libart_lgpl
769 - media-libs/liblo
770 - >=media-libs/liblrdf-0.4.0-r20
771 - >=media-libs/libsamplerate-0.1
772 - >=media-libs/libsndfile-1.0.18
773 - >=media-libs/libsoundtouch-1.6.0
774 - media-libs/raptor:2
775 - >=media-libs/rubberband-1.6.0
776 - >=media-libs/taglib-1.7
777 - media-libs/vamp-plugin-sdk
778 - net-misc/curl
779 - sys-libs/readline:0=
780 - sci-libs/fftw:3.0[threads]
781 - virtual/libusb:0
782 - x11-libs/cairo
783 - >=x11-libs/gtk+-2.8.1:2
784 - x11-libs/pango
785 - jack? ( virtual/jack )
786 - >=media-libs/slv2-0.6.1
787 - media-libs/lilv
788 - media-libs/sratom
789 - dev-libs/sord
790 - >=media-libs/suil-0.6.10
791 - >=media-libs/lv2-1.4.0"
792 -
793 -DEPEND="${RDEPEND}
794 - ${PYTHON_DEPS}
795 - jack? ( virtual/jack )
796 - sys-devel/gettext
797 - virtual/pkgconfig
798 - doc? ( app-doc/doxygen[dot] )"
799 -
800 -pkg_setup() {
801 - if has_version \>=dev-libs/libsigc++-2.6 ; then
802 - append-cxxflags -std=c++11
803 - fi
804 - python-any-r1_pkg_setup
805 -}
806 -
807 -src_prepare(){
808 - eapply_user
809 - if ! [[ ${PV} == *9999* ]]; then
810 - eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
811 - touch "${S}/libs/ardour/revision.cc"
812 - fi
813 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
814 - MARCH=$(get-flag march)
815 - OPTFLAGS=""
816 - if use cpu_flags_x86_sse; then
817 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
818 - elog "You enabled sse but use an march that does not support sse!"
819 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
820 - fi
821 - OPTFLAGS="sse"
822 - fi
823 - if use cpu_flags_x86_mmx; then
824 - if [[ ${MARCH} == "i486" ]]; then
825 - elog "You enabled mmx with i486 set as march! You have been warned!"
826 - fi
827 - OPTFLAGS="${OPTFLAGS} mmx"
828 - fi
829 - if use cpu_flags_x86_3dnow; then
830 - OPTFLAGS="${OPTFLAGS} 3dnow"
831 - fi
832 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
833 - -i "${S}"/wscript || die
834 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
835 - append-flags "-lboost_system"
836 - python_fix_shebang "${S}"/wscript
837 - python_fix_shebang "${S}"/waf
838 -}
839 -
840 -src_configure() {
841 - tc-export CC CXX
842 - mkdir -p "${D}"
843 - waf-utils_src_configure \
844 - --destdir="${D}" \
845 - --prefix=/usr \
846 - --configdir=/etc \
847 - --nls \
848 - --optimize \
849 - --lv2 \
850 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
851 - $(usex doc "--docs" '') \
852 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
853 -}
854 -
855 -src_install() {
856 - waf-utils_src_install
857 - mv ${PN}.1 ${PN}${SLOT}.1
858 - doman ${PN}${SLOT}.1
859 - newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
860 - make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
861 -}
862 -
863 -pkg_postinst() {
864 - elog "If you are using Ardour and want to keep its development alive"
865 - elog "then please consider to make a donation upstream at ${HOMEPAGE}."
866 - elog "Please do _not_ report problems with the package to ${PN} upstream."
867 - elog "If you think you've found a bug, check the upstream binary package"
868 - elog "before you report anything to upstream."
869 -}
870
871 diff --git a/media-sound/ardour/ardour-5.6-r1.ebuild b/media-sound/ardour/ardour-5.6-r1.ebuild
872 deleted file mode 100644
873 index 8998723b507..00000000000
874 --- a/media-sound/ardour/ardour-5.6-r1.ebuild
875 +++ /dev/null
876 @@ -1,141 +0,0 @@
877 -# Copyright 1999-2017 Gentoo Foundation
878 -# Distributed under the terms of the GNU General Public License v2
879 -
880 -EAPI=6
881 -PYTHON_COMPAT=( python2_7 )
882 -PYTHON_REQ_USE='threads(+)'
883 -#EPYTHON='python2.7'
884 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
885 -
886 -DESCRIPTION="Digital Audio Workstation"
887 -HOMEPAGE="http://ardour.org/"
888 -
889 -if [[ ${PV} == *9999* ]]; then
890 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
891 - inherit git-r3
892 -else
893 - KEYWORDS="~amd64 ~x86"
894 - SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
895 - S="${WORKDIR}/Ardour-${PV}.0"
896 -fi
897 -
898 -LICENSE="GPL-2"
899 -SLOT="5"
900 -IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
901 -
902 -RDEPEND="
903 - >=dev-cpp/glibmm-2.32.0
904 - >=dev-cpp/gtkmm-2.16:2.4
905 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
906 - dev-libs/boost:=
907 - >=dev-libs/glib-2.10.1:2
908 - dev-libs/libsigc++:2
909 - >=dev-libs/libxml2-2.6:2
910 - dev-libs/libxslt
911 - >=gnome-base/libgnomecanvas-2
912 - media-libs/alsa-lib
913 - media-libs/aubio
914 - media-libs/flac
915 - media-libs/freetype:2
916 - media-libs/libart_lgpl
917 - media-libs/liblo
918 - >=media-libs/liblrdf-0.4.0-r20
919 - >=media-libs/libsamplerate-0.1
920 - >=media-libs/libsndfile-1.0.18
921 - >=media-libs/libsoundtouch-1.6.0
922 - media-libs/raptor:2
923 - >=media-libs/rubberband-1.6.0
924 - >=media-libs/taglib-1.7
925 - media-libs/vamp-plugin-sdk
926 - net-misc/curl
927 - sys-libs/readline:0=
928 - sci-libs/fftw:3.0[threads]
929 - virtual/libusb:0
930 - x11-libs/cairo
931 - >=x11-libs/gtk+-2.8.1:2
932 - x11-libs/pango
933 - jack? ( virtual/jack )
934 - >=media-libs/slv2-0.6.1
935 - media-libs/lilv
936 - media-libs/sratom
937 - dev-libs/sord
938 - >=media-libs/suil-0.6.10
939 - >=media-libs/lv2-1.4.0"
940 -
941 -DEPEND="${RDEPEND}
942 - ${PYTHON_DEPS}
943 - jack? ( virtual/jack )
944 - sys-devel/gettext
945 - virtual/pkgconfig
946 - doc? ( app-doc/doxygen[dot] )"
947 -
948 -pkg_setup() {
949 - if has_version \>=dev-libs/libsigc++-2.6 ; then
950 - append-cxxflags -std=c++11
951 - fi
952 - python-any-r1_pkg_setup
953 -}
954 -
955 -src_prepare(){
956 - eapply_user
957 - if ! [[ ${PV} == *9999* ]]; then
958 - eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
959 - touch "${S}/libs/ardour/revision.cc"
960 - fi
961 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
962 - MARCH=$(get-flag march)
963 - OPTFLAGS=""
964 - if use cpu_flags_x86_sse; then
965 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
966 - elog "You enabled sse but use an march that does not support sse!"
967 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
968 - fi
969 - OPTFLAGS="sse"
970 - fi
971 - if use cpu_flags_x86_mmx; then
972 - if [[ ${MARCH} == "i486" ]]; then
973 - elog "You enabled mmx with i486 set as march! You have been warned!"
974 - fi
975 - OPTFLAGS="${OPTFLAGS} mmx"
976 - fi
977 - if use cpu_flags_x86_3dnow; then
978 - OPTFLAGS="${OPTFLAGS} 3dnow"
979 - fi
980 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
981 - -i "${S}"/wscript || die
982 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
983 - append-flags "-lboost_system"
984 - python_fix_shebang "${S}"/wscript
985 - python_fix_shebang "${S}"/waf
986 -}
987 -
988 -src_configure() {
989 - tc-export CC CXX
990 - mkdir -p "${D}"
991 - waf-utils_src_configure \
992 - --destdir="${D}" \
993 - --prefix=/usr \
994 - --configdir=/etc \
995 - --nls \
996 - --optimize \
997 - --lv2 \
998 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
999 - $(usex doc "--docs" '') \
1000 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
1001 -}
1002 -
1003 -src_install() {
1004 - waf-utils_src_install
1005 - mv ${PN}.1 ${PN}${SLOT}.1
1006 - doman ${PN}${SLOT}.1
1007 - newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
1008 - make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
1009 -}
1010 -
1011 -pkg_postinst() {
1012 - elog "If you are using Ardour and want to keep its development alive"
1013 - elog "then please consider to make a donation upstream at ${HOMEPAGE}."
1014 - elog "Please do _not_ report problems with the package to ${PN} upstream."
1015 - elog "If you think you've found a bug, check the upstream binary package"
1016 - elog "before you report anything to upstream."
1017 -}
1018
1019 diff --git a/media-sound/ardour/ardour-5.8-r1.ebuild b/media-sound/ardour/ardour-5.8-r1.ebuild
1020 deleted file mode 100644
1021 index 8998723b507..00000000000
1022 --- a/media-sound/ardour/ardour-5.8-r1.ebuild
1023 +++ /dev/null
1024 @@ -1,141 +0,0 @@
1025 -# Copyright 1999-2017 Gentoo Foundation
1026 -# Distributed under the terms of the GNU General Public License v2
1027 -
1028 -EAPI=6
1029 -PYTHON_COMPAT=( python2_7 )
1030 -PYTHON_REQ_USE='threads(+)'
1031 -#EPYTHON='python2.7'
1032 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
1033 -
1034 -DESCRIPTION="Digital Audio Workstation"
1035 -HOMEPAGE="http://ardour.org/"
1036 -
1037 -if [[ ${PV} == *9999* ]]; then
1038 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
1039 - inherit git-r3
1040 -else
1041 - KEYWORDS="~amd64 ~x86"
1042 - SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
1043 - S="${WORKDIR}/Ardour-${PV}.0"
1044 -fi
1045 -
1046 -LICENSE="GPL-2"
1047 -SLOT="5"
1048 -IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
1049 -
1050 -RDEPEND="
1051 - >=dev-cpp/glibmm-2.32.0
1052 - >=dev-cpp/gtkmm-2.16:2.4
1053 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
1054 - dev-libs/boost:=
1055 - >=dev-libs/glib-2.10.1:2
1056 - dev-libs/libsigc++:2
1057 - >=dev-libs/libxml2-2.6:2
1058 - dev-libs/libxslt
1059 - >=gnome-base/libgnomecanvas-2
1060 - media-libs/alsa-lib
1061 - media-libs/aubio
1062 - media-libs/flac
1063 - media-libs/freetype:2
1064 - media-libs/libart_lgpl
1065 - media-libs/liblo
1066 - >=media-libs/liblrdf-0.4.0-r20
1067 - >=media-libs/libsamplerate-0.1
1068 - >=media-libs/libsndfile-1.0.18
1069 - >=media-libs/libsoundtouch-1.6.0
1070 - media-libs/raptor:2
1071 - >=media-libs/rubberband-1.6.0
1072 - >=media-libs/taglib-1.7
1073 - media-libs/vamp-plugin-sdk
1074 - net-misc/curl
1075 - sys-libs/readline:0=
1076 - sci-libs/fftw:3.0[threads]
1077 - virtual/libusb:0
1078 - x11-libs/cairo
1079 - >=x11-libs/gtk+-2.8.1:2
1080 - x11-libs/pango
1081 - jack? ( virtual/jack )
1082 - >=media-libs/slv2-0.6.1
1083 - media-libs/lilv
1084 - media-libs/sratom
1085 - dev-libs/sord
1086 - >=media-libs/suil-0.6.10
1087 - >=media-libs/lv2-1.4.0"
1088 -
1089 -DEPEND="${RDEPEND}
1090 - ${PYTHON_DEPS}
1091 - jack? ( virtual/jack )
1092 - sys-devel/gettext
1093 - virtual/pkgconfig
1094 - doc? ( app-doc/doxygen[dot] )"
1095 -
1096 -pkg_setup() {
1097 - if has_version \>=dev-libs/libsigc++-2.6 ; then
1098 - append-cxxflags -std=c++11
1099 - fi
1100 - python-any-r1_pkg_setup
1101 -}
1102 -
1103 -src_prepare(){
1104 - eapply_user
1105 - if ! [[ ${PV} == *9999* ]]; then
1106 - eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
1107 - touch "${S}/libs/ardour/revision.cc"
1108 - fi
1109 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
1110 - MARCH=$(get-flag march)
1111 - OPTFLAGS=""
1112 - if use cpu_flags_x86_sse; then
1113 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
1114 - elog "You enabled sse but use an march that does not support sse!"
1115 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
1116 - fi
1117 - OPTFLAGS="sse"
1118 - fi
1119 - if use cpu_flags_x86_mmx; then
1120 - if [[ ${MARCH} == "i486" ]]; then
1121 - elog "You enabled mmx with i486 set as march! You have been warned!"
1122 - fi
1123 - OPTFLAGS="${OPTFLAGS} mmx"
1124 - fi
1125 - if use cpu_flags_x86_3dnow; then
1126 - OPTFLAGS="${OPTFLAGS} 3dnow"
1127 - fi
1128 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
1129 - -i "${S}"/wscript || die
1130 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
1131 - append-flags "-lboost_system"
1132 - python_fix_shebang "${S}"/wscript
1133 - python_fix_shebang "${S}"/waf
1134 -}
1135 -
1136 -src_configure() {
1137 - tc-export CC CXX
1138 - mkdir -p "${D}"
1139 - waf-utils_src_configure \
1140 - --destdir="${D}" \
1141 - --prefix=/usr \
1142 - --configdir=/etc \
1143 - --nls \
1144 - --optimize \
1145 - --lv2 \
1146 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
1147 - $(usex doc "--docs" '') \
1148 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
1149 -}
1150 -
1151 -src_install() {
1152 - waf-utils_src_install
1153 - mv ${PN}.1 ${PN}${SLOT}.1
1154 - doman ${PN}${SLOT}.1
1155 - newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
1156 - make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
1157 -}
1158 -
1159 -pkg_postinst() {
1160 - elog "If you are using Ardour and want to keep its development alive"
1161 - elog "then please consider to make a donation upstream at ${HOMEPAGE}."
1162 - elog "Please do _not_ report problems with the package to ${PN} upstream."
1163 - elog "If you think you've found a bug, check the upstream binary package"
1164 - elog "before you report anything to upstream."
1165 -}
1166
1167 diff --git a/media-sound/ardour/ardour-5.9.ebuild b/media-sound/ardour/ardour-5.9.ebuild
1168 deleted file mode 100644
1169 index 8998723b507..00000000000
1170 --- a/media-sound/ardour/ardour-5.9.ebuild
1171 +++ /dev/null
1172 @@ -1,141 +0,0 @@
1173 -# Copyright 1999-2017 Gentoo Foundation
1174 -# Distributed under the terms of the GNU General Public License v2
1175 -
1176 -EAPI=6
1177 -PYTHON_COMPAT=( python2_7 )
1178 -PYTHON_REQ_USE='threads(+)'
1179 -#EPYTHON='python2.7'
1180 -inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
1181 -
1182 -DESCRIPTION="Digital Audio Workstation"
1183 -HOMEPAGE="http://ardour.org/"
1184 -
1185 -if [[ ${PV} == *9999* ]]; then
1186 - EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
1187 - inherit git-r3
1188 -else
1189 - KEYWORDS="~amd64 ~x86"
1190 - SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
1191 - S="${WORKDIR}/Ardour-${PV}.0"
1192 -fi
1193 -
1194 -LICENSE="GPL-2"
1195 -SLOT="5"
1196 -IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
1197 -
1198 -RDEPEND="
1199 - >=dev-cpp/glibmm-2.32.0
1200 - >=dev-cpp/gtkmm-2.16:2.4
1201 - >=dev-cpp/libgnomecanvasmm-2.26:2.6
1202 - dev-libs/boost:=
1203 - >=dev-libs/glib-2.10.1:2
1204 - dev-libs/libsigc++:2
1205 - >=dev-libs/libxml2-2.6:2
1206 - dev-libs/libxslt
1207 - >=gnome-base/libgnomecanvas-2
1208 - media-libs/alsa-lib
1209 - media-libs/aubio
1210 - media-libs/flac
1211 - media-libs/freetype:2
1212 - media-libs/libart_lgpl
1213 - media-libs/liblo
1214 - >=media-libs/liblrdf-0.4.0-r20
1215 - >=media-libs/libsamplerate-0.1
1216 - >=media-libs/libsndfile-1.0.18
1217 - >=media-libs/libsoundtouch-1.6.0
1218 - media-libs/raptor:2
1219 - >=media-libs/rubberband-1.6.0
1220 - >=media-libs/taglib-1.7
1221 - media-libs/vamp-plugin-sdk
1222 - net-misc/curl
1223 - sys-libs/readline:0=
1224 - sci-libs/fftw:3.0[threads]
1225 - virtual/libusb:0
1226 - x11-libs/cairo
1227 - >=x11-libs/gtk+-2.8.1:2
1228 - x11-libs/pango
1229 - jack? ( virtual/jack )
1230 - >=media-libs/slv2-0.6.1
1231 - media-libs/lilv
1232 - media-libs/sratom
1233 - dev-libs/sord
1234 - >=media-libs/suil-0.6.10
1235 - >=media-libs/lv2-1.4.0"
1236 -
1237 -DEPEND="${RDEPEND}
1238 - ${PYTHON_DEPS}
1239 - jack? ( virtual/jack )
1240 - sys-devel/gettext
1241 - virtual/pkgconfig
1242 - doc? ( app-doc/doxygen[dot] )"
1243 -
1244 -pkg_setup() {
1245 - if has_version \>=dev-libs/libsigc++-2.6 ; then
1246 - append-cxxflags -std=c++11
1247 - fi
1248 - python-any-r1_pkg_setup
1249 -}
1250 -
1251 -src_prepare(){
1252 - eapply_user
1253 - if ! [[ ${PV} == *9999* ]]; then
1254 - eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
1255 - touch "${S}/libs/ardour/revision.cc"
1256 - fi
1257 - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
1258 - MARCH=$(get-flag march)
1259 - OPTFLAGS=""
1260 - if use cpu_flags_x86_sse; then
1261 - if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
1262 - elog "You enabled sse but use an march that does not support sse!"
1263 - elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
1264 - fi
1265 - OPTFLAGS="sse"
1266 - fi
1267 - if use cpu_flags_x86_mmx; then
1268 - if [[ ${MARCH} == "i486" ]]; then
1269 - elog "You enabled mmx with i486 set as march! You have been warned!"
1270 - fi
1271 - OPTFLAGS="${OPTFLAGS} mmx"
1272 - fi
1273 - if use cpu_flags_x86_3dnow; then
1274 - OPTFLAGS="${OPTFLAGS} 3dnow"
1275 - fi
1276 - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
1277 - -i "${S}"/wscript || die
1278 - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
1279 - append-flags "-lboost_system"
1280 - python_fix_shebang "${S}"/wscript
1281 - python_fix_shebang "${S}"/waf
1282 -}
1283 -
1284 -src_configure() {
1285 - tc-export CC CXX
1286 - mkdir -p "${D}"
1287 - waf-utils_src_configure \
1288 - --destdir="${D}" \
1289 - --prefix=/usr \
1290 - --configdir=/etc \
1291 - --nls \
1292 - --optimize \
1293 - --lv2 \
1294 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
1295 - $(usex doc "--docs" '') \
1296 - $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
1297 -}
1298 -
1299 -src_install() {
1300 - waf-utils_src_install
1301 - mv ${PN}.1 ${PN}${SLOT}.1
1302 - doman ${PN}${SLOT}.1
1303 - newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
1304 - make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
1305 -}
1306 -
1307 -pkg_postinst() {
1308 - elog "If you are using Ardour and want to keep its development alive"
1309 - elog "then please consider to make a donation upstream at ${HOMEPAGE}."
1310 - elog "Please do _not_ report problems with the package to ${PN} upstream."
1311 - elog "If you think you've found a bug, check the upstream binary package"
1312 - elog "before you report anything to upstream."
1313 -}
1314
1315 diff --git a/media-sound/ardour/files/ardour-2.8.11-flags.patch b/media-sound/ardour/files/ardour-2.8.11-flags.patch
1316 deleted file mode 100644
1317 index 607b072cffa..00000000000
1318 --- a/media-sound/ardour/files/ardour-2.8.11-flags.patch
1319 +++ /dev/null
1320 @@ -1,28 +0,0 @@
1321 ---- ardour-2.8.11/SConstruct.orig
1322 -+++ ardour-2.8.11/SConstruct
1323 -@@ -414,6 +414,15 @@
1324 - if os.environ.has_key('CXX'):
1325 - context['CXX'] = os.environ['CXX']
1326 -
1327 -+ if os.environ.has_key('CFLAGS'):
1328 -+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
1329 -+
1330 -+ if os.environ.has_key('CXXFLAGS'):
1331 -+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
1332 -+
1333 -+ if os.environ.has_key('LDFLAGS'):
1334 -+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
1335 -+
1336 - if os.environ.has_key('DISTCC_HOSTS'):
1337 - context['ENV']['DISTCC_HOSTS'] = os.environ['DISTCC_HOSTS']
1338 - context['ENV']['HOME'] = os.environ['HOME']
1339 -@@ -807,9 +816,6 @@
1340 - if env['DEBUG'] == 1:
1341 - env.Append(CCFLAGS=" ".join (debug_flags))
1342 - env.Append(LINKFLAGS=" ".join (debug_flags))
1343 --else:
1344 -- env.Append(CCFLAGS=" ".join (opt_flags))
1345 -- env.Append(LINKFLAGS=" ".join (opt_flags))
1346 -
1347 - if env['STL_DEBUG'] == 1:
1348 - env.Append(CXXFLAGS="-D_GLIBCXX_DEBUG")
1349
1350 diff --git a/media-sound/ardour/files/ardour-2.8.14-boost-150.patch b/media-sound/ardour/files/ardour-2.8.14-boost-150.patch
1351 deleted file mode 100644
1352 index 0d23568a309..00000000000
1353 --- a/media-sound/ardour/files/ardour-2.8.14-boost-150.patch
1354 +++ /dev/null
1355 @@ -1,13 +0,0 @@
1356 ---- /home/mad/ardour-2.8.14/SConstruct 2012-11-21 00:30:54.000000000 +0100
1357 -+++ SConstruct 2012-11-21 17:34:02.000000000 +0100
1358 -@@ -955,7 +961,9 @@
1359 - # FLAC ....
1360 - #
1361 -
1362 --# boost (we don't link against boost, just use some header files)
1363 -+# boost (we need to link against boost with >=1.50. header files alone will not work anymore)
1364 -+
1365 -+env.Append(LIBS=['boost_system'])
1366 -
1367 - libraries['boost'] = LibraryInfo ()
1368 - prep_libcheck(env, libraries['boost'])
1369
1370 diff --git a/media-sound/ardour/files/ardour-2.8.14-syslibs.patch b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch
1371 deleted file mode 100644
1372 index a06c3b04e27..00000000000
1373 --- a/media-sound/ardour/files/ardour-2.8.14-syslibs.patch
1374 +++ /dev/null
1375 @@ -1,108 +0,0 @@
1376 ---- SConstruct
1377 -+++ SConstruct
1378 -@@ -891,39 +891,6 @@
1379 -
1380 -
1381 - #
1382 --# these are part of the Ardour source tree because they are C++
1383 --#
1384 --
1385 --libraries['vamp'] = LibraryInfo (LIBS='vampsdk',
1386 -- LIBPATH='#libs/vamp-sdk',
1387 -- CPPPATH='#libs/vamp-sdk')
1388 --libraries['vamphost'] = LibraryInfo (LIBS='vamphostsdk',
1389 -- LIBPATH='#libs/vamp-sdk',
1390 -- CPPPATH='#libs/vamp-sdk')
1391 --
1392 --env['RUBBERBAND'] = False
1393 --
1394 --conf = Configure (env)
1395 --
1396 --if conf.CheckHeader ('fftw3.h'):
1397 -- env['RUBBERBAND'] = True
1398 -- libraries['rubberband'] = LibraryInfo (LIBS='rubberband',
1399 -- LIBPATH='#libs/rubberband',
1400 -- CPPPATH='#libs/rubberband',
1401 -- CCFLAGS='-DUSE_RUBBERBAND')
1402 --else:
1403 -- print ""
1404 -- print "-------------------------------------------------------------------------"
1405 -- print "You do not have the FFTW single-precision development package installed."
1406 -- print "This prevents Ardour from using the Rubberband library for timestretching"
1407 -- print "and pitchshifting. It will fall back on SoundTouch for timestretch, and "
1408 -- print "pitchshifting will not be available."
1409 -- print "-------------------------------------------------------------------------"
1410 -- print ""
1411 --
1412 --conf.Finish()
1413 --
1414 --#
1415 - # Check for libusb
1416 -
1417 - libraries['usb'] = LibraryInfo ()
1418 -@@ -1109,10 +1076,22 @@
1419 - # Comment the previous line and uncomment this for old versions of Debian:
1420 - #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch')
1421 -
1422 -- libraries['appleutility'] = LibraryInfo(LIBS='libappleutility',
1423 -- LIBPATH='#libs/appleutility',
1424 -- CPPPATH='#libs/appleutility')
1425 -+ #libraries['appleutility'] = LibraryInfo(LIBS='libappleutility',
1426 -+ # LIBPATH='#libs/appleutility',
1427 -+ # CPPPATH='#libs/appleutility')
1428 -
1429 -+ env['RUBBERBAND'] = True
1430 -+ env.Append (CXXFLAGS="-DUSE_RUBBERBAND")
1431 -+ libraries['rubberband'] = LibraryInfo()
1432 -+ libraries['rubberband'].ParseConfig ('pkg-config --cflags --libs rubberband')
1433 -+
1434 -+ libraries['vamp-sdk'] = LibraryInfo()
1435 -+ libraries['vamp-sdk'].ParseConfig ('pkg-config --cflags --libs vamp-sdk')
1436 -+ libraries['vamp'] = LibraryInfo()
1437 -+ libraries['vamp'].ParseConfig ('pkg-config --cflags --libs vamp-sdk')
1438 -+ libraries['vamphost'] = LibraryInfo()
1439 -+ libraries['vamphost'].ParseConfig ('pkg-config --cflags --libs vamp-hostsdk')
1440 -+
1441 - coredirs = [
1442 - 'templates',
1443 - 'manual'
1444 -@@ -1122,7 +1101,6 @@
1445 - 'libs/pbd',
1446 - 'libs/midi++2',
1447 - 'libs/ardour',
1448 -- 'libs/vamp-sdk',
1449 - 'libs/vamp-plugins/',
1450 - # these are unconditionally included but have
1451 - # tests internally to avoid compilation etc
1452 -@@ -1138,8 +1116,7 @@
1453 - gtk_subdirs = [
1454 - # 'libs/flowcanvas',
1455 - 'libs/gtkmm2ext',
1456 -- 'gtk2_ardour',
1457 -- clearlooks_version
1458 -+ 'gtk2_ardour'
1459 - ]
1460 -
1461 - else:
1462 -@@ -1251,9 +1228,9 @@
1463 - # timestretch libraries
1464 - #
1465 -
1466 --timefx_subdirs = []
1467 --if env['RUBBERBAND']:
1468 -- timefx_subdirs += ['libs/rubberband']
1469 -+#timefx_subdirs = []
1470 -+#if env['RUBBERBAND']:
1471 -+# timefx_subdirs += ['libs/rubberband']
1472 -
1473 - #
1474 - # Tools
1475 -@@ -1441,7 +1418,7 @@
1476 - for subdir in coredirs:
1477 - SConscript (subdir + '/SConscript')
1478 -
1479 --for sublistdir in [ subdirs, timefx_subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]:
1480 -+for sublistdir in [ subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]:
1481 - for subdir in sublistdir:
1482 - SConscript (subdir + '/SConscript')
1483 -
1484
1485 diff --git a/media-sound/ardour/files/ardour-4.0-lv2.patch b/media-sound/ardour/files/ardour-4.0-lv2.patch
1486 deleted file mode 100644
1487 index a79e3f20c44..00000000000
1488 --- a/media-sound/ardour/files/ardour-4.0-lv2.patch
1489 +++ /dev/null
1490 @@ -1,56 +0,0 @@
1491 -diff -rupN ardour-4.0-vanilla/libs/ardour/automatable.cc ardour-4.0/libs/ardour/automatable.cc
1492 ---- ardour-4.0-vanilla/libs/ardour/automatable.cc 2015-04-18 00:23:10.000000000 +0200
1493 -+++ ardour-4.0/libs/ardour/automatable.cc 2015-04-21 16:32:14.943812000 +0200
1494 -@@ -34,7 +34,11 @@
1495 - #include "ardour/plugin.h"
1496 - #include "ardour/plugin_insert.h"
1497 - #include "ardour/session.h"
1498 -+
1499 -+#ifdef LV2_SUPPORT
1500 - #include "ardour/uri_map.h"
1501 -+#endif
1502 -+
1503 - #include "ardour/value_as_string.h"
1504 -
1505 - #include "i18n.h"
1506 -diff -rupN ardour-4.0-vanilla/libs/ardour/buffer_set.cc ardour-4.0/libs/ardour/buffer_set.cc
1507 ---- ardour-4.0-vanilla/libs/ardour/buffer_set.cc 2015-04-18 00:23:10.000000000 +0200
1508 -+++ ardour-4.0/libs/ardour/buffer_set.cc 2015-04-21 16:40:44.216812000 +0200
1509 -@@ -34,8 +34,8 @@
1510 - #include "ardour/midi_buffer.h"
1511 - #include "ardour/port.h"
1512 - #include "ardour/port_set.h"
1513 --#include "ardour/uri_map.h"
1514 - #ifdef LV2_SUPPORT
1515 -+#include "ardour/uri_map.h"
1516 - #include "ardour/lv2_plugin.h"
1517 - #include "lv2_evbuf.h"
1518 - #endif
1519 -diff -rupN ardour-4.0-vanilla/libs/ardour/event_type_map.cc ardour-4.0/libs/ardour/event_type_map.cc
1520 ---- ardour-4.0-vanilla/libs/ardour/event_type_map.cc 2015-04-18 00:23:10.000000000 +0200
1521 -+++ ardour-4.0/libs/ardour/event_type_map.cc 2015-04-21 16:47:28.489812000 +0200
1522 -@@ -24,7 +24,9 @@
1523 - #include "ardour/event_type_map.h"
1524 - #include "ardour/parameter_descriptor.h"
1525 - #include "ardour/parameter_types.h"
1526 -+#ifdef LV2_SUPPORT
1527 - #include "ardour/uri_map.h"
1528 -+#endif
1529 - #include "evoral/Parameter.hpp"
1530 - #include "evoral/ParameterDescriptor.hpp"
1531 - #include "evoral/midi_events.h"
1532 -diff -rupN ardour-4.0-vanilla/libs/ardour/globals.cc ardour-4.0/libs/ardour/globals.cc
1533 ---- ardour-4.0-vanilla/libs/ardour/globals.cc 2015-04-18 00:23:10.000000000 +0200
1534 -+++ ardour-4.0/libs/ardour/globals.cc 2015-04-21 16:54:33.404812000 +0200
1535 -@@ -106,8 +106,9 @@
1536 - #include "ardour/runtime_functions.h"
1537 - #include "ardour/session_event.h"
1538 - #include "ardour/source_factory.h"
1539 -+#ifdef LV2_SUPPORT
1540 - #include "ardour/uri_map.h"
1541 --
1542 -+#endif
1543 - #include "audiographer/routines.h"
1544 -
1545 - #if defined (__APPLE__)
1546 -
1547
1548 diff --git a/media-sound/ardour/files/ardour-4.7-gcc.patch b/media-sound/ardour/files/ardour-4.7-gcc.patch
1549 deleted file mode 100644
1550 index 685eb2ab117..00000000000
1551 --- a/media-sound/ardour/files/ardour-4.7-gcc.patch
1552 +++ /dev/null
1553 @@ -1,100 +0,0 @@
1554 ---- libs/gtkmm2ext/actions.cc.old 2016-02-19 02:28:56.000000000 +0100
1555 -+++ libs/gtkmm2ext/actions.cc 2017-06-05 03:32:48.762688016 +0200
1556 -@@ -401,7 +401,7 @@
1557 - gtkmm2.6, so we fall back to the C level.
1558 - */
1559 -
1560 -- if (ui_manager == 0) {
1561 -+ if (ui_manager == (Glib::RefPtr<Gtk::UIManager>) 0) {
1562 - return RefPtr<Action> ();
1563 - }
1564 -
1565 ---- libs/gtkmm2ext/fastmeter.cc.old 2016-02-19 02:28:56.000000000 +0100
1566 -+++ libs/gtkmm2ext/fastmeter.cc 2017-06-05 05:01:57.075834979 +0200
1567 -@@ -731,7 +731,7 @@
1568 -
1569 - Glib::RefPtr<Gdk::Window> win;
1570 -
1571 -- if ((win = get_window()) == 0) {
1572 -+ if ((win = get_window()) == (Glib::RefPtr<Gdk::Window>) 0) {
1573 - queue_draw ();
1574 - return;
1575 - }
1576 -
1577 ---- gtk2_ardour/editor.cc.old 2016-02-19 02:28:56.000000000 +0100
1578 -+++ gtk2_ardour/editor.cc 2017-06-05 05:38:20.971481110 +0200
1579 -@@ -714,16 +714,16 @@
1580 - list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
1581 - Glib::RefPtr<Gdk::Pixbuf> icon;
1582 -
1583 -- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
1584 -+ if (icon = ::get_icon ("ardour_icon_16px")) {
1585 - window_icons.push_back (icon);
1586 - }
1587 -- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
1588 -+ if (icon = ::get_icon ("ardour_icon_22px")) {
1589 - window_icons.push_back (icon);
1590 - }
1591 -- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
1592 -+ if (icon = ::get_icon ("ardour_icon_32px")) {
1593 - window_icons.push_back (icon);
1594 - }
1595 -- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
1596 -+ if (icon = ::get_icon ("ardour_icon_48px")) {
1597 - window_icons.push_back (icon);
1598 - }
1599 - if (!window_icons.empty()) {
1600 -
1601 ---- gtk2_ardour/fft_graph.cc.old 2016-02-19 02:28:56.000000000 +0100
1602 -+++ gtk2_ardour/fft_graph.cc 2017-06-05 06:21:56.644212996 +0200
1603 -@@ -203,7 +203,7 @@
1604 -
1605 -
1606 -
1607 -- if (graph_gc == 0) {
1608 -+ if (graph_gc == (Glib::RefPtr<Gdk::GC>) 0) {
1609 - graph_gc = GC::create( get_window() );
1610 - }
1611 -
1612 -@@ -213,7 +213,7 @@
1613 -
1614 - graph_gc->set_rgb_fg_color( grey );
1615 -
1616 -- if (layout == 0) {
1617 -+ if (layout == (Glib::RefPtr<Pango::Layout>) 0) {
1618 - layout = create_pango_layout ("");
1619 - layout->set_font_description (get_style()->get_font());
1620 - }
1621 -
1622 ---- gtk2_ardour/startup.cc.old 2016-02-19 02:28:56.000000000 +0100
1623 -+++ gtk2_ardour/startup.cc 2017-06-05 06:41:27.091051601 +0200
1624 -@@ -79,23 +79,23 @@
1625 - set_position (WIN_POS_CENTER);
1626 - set_border_width (12);
1627 -
1628 -- if ((icon_pixbuf = ::get_icon ("ardour_icon_48px")) == 0) {
1629 -+ if ((icon_pixbuf = ::get_icon ("ardour_icon_48px")) == (Glib::RefPtr<Gdk::Pixbuf>) 0) {
1630 - throw failed_constructor();
1631 - }
1632 -
1633 - list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
1634 - Glib::RefPtr<Gdk::Pixbuf> icon;
1635 -
1636 -- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
1637 -+ if (icon = ::get_icon ("ardour_icon_16px")) {
1638 - window_icons.push_back (icon);
1639 - }
1640 -- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
1641 -+ if (icon = ::get_icon ("ardour_icon_22px")) {
1642 - window_icons.push_back (icon);
1643 - }
1644 -- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
1645 -+ if (icon = ::get_icon ("ardour_icon_32px")) {
1646 - window_icons.push_back (icon);
1647 - }
1648 -- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
1649 -+ if (icon = ::get_icon ("ardour_icon_48px")) {
1650 - window_icons.push_back (icon);
1651 - }
1652 - if (!window_icons.empty ()) {
1653 -
1654
1655 diff --git a/media-sound/ardour/metadata.xml b/media-sound/ardour/metadata.xml
1656 index c770fdfe0e9..20dec2c8d4e 100644
1657 --- a/media-sound/ardour/metadata.xml
1658 +++ b/media-sound/ardour/metadata.xml
1659 @@ -5,9 +5,6 @@
1660 <email>proaudio@g.o</email>
1661 <name>Gentoo ProAudio Project</name>
1662 </maintainer>
1663 - <use>
1664 - <flag name="lv2">Add support for Ladspa V2</flag>
1665 - </use>
1666 <upstream>
1667 <remote-id type="github">Ardour/ardour</remote-id>
1668 </upstream>