summaryrefslogtreecommitdiff
path: root/media-sound/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/ardour')
-rw-r--r--media-sound/ardour/Manifest27
-rw-r--r--media-sound/ardour/ardour-2.8.16-r1.ebuild82
-rw-r--r--media-sound/ardour/ardour-4.7-r1.ebuild138
-rw-r--r--media-sound/ardour/ardour-4.7-r2.ebuild139
-rw-r--r--media-sound/ardour/ardour-5.10.ebuild141
-rw-r--r--media-sound/ardour/ardour-5.3-r1.ebuild143
-rw-r--r--media-sound/ardour/ardour-5.5-r1.ebuild141
-rw-r--r--media-sound/ardour/ardour-5.6-r1.ebuild141
-rw-r--r--media-sound/ardour/ardour-5.8-r1.ebuild141
-rw-r--r--media-sound/ardour/ardour-5.9.ebuild141
-rw-r--r--media-sound/ardour/ardour-9999.ebuild141
-rw-r--r--media-sound/ardour/files/ardour-2.8.11-flags.patch28
-rw-r--r--media-sound/ardour/files/ardour-2.8.14-boost-150.patch13
-rw-r--r--media-sound/ardour/files/ardour-2.8.14-syslibs.patch108
-rw-r--r--media-sound/ardour/files/ardour-4.0-lv2.patch56
-rw-r--r--media-sound/ardour/files/ardour-4.7-gcc.patch100
-rw-r--r--media-sound/ardour/files/ardour-4.x-revision-naming.patch38
-rw-r--r--media-sound/ardour/metadata.xml14
18 files changed, 1732 insertions, 0 deletions
diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest
new file mode 100644
index 000000000000..cb40c56db25b
--- /dev/null
+++ b/media-sound/ardour/Manifest
@@ -0,0 +1,27 @@
+AUX ardour-2.8.11-flags.patch 926 SHA256 1b4762c15c329dbc89dba7149358ba5f82670f4d3e550dc166d55dda4e243304 SHA512 fbce5a750aad9eb2ffb1546a61b247bd39ffd37f757cdd545c319bbe427a2077a7334ff9171bc40d32ed0c0c25ac4ff170da159f0628ab4af6976127dcf70499 WHIRLPOOL e887017f5c64d60cba6eb88122ad8e5ef12c177973a0991e66249a3a880a838788398f35f9c35c6ee77277bb5fa4dcc39508dcb5b67f68bc45b480955d72f0ca
+AUX ardour-2.8.14-boost-150.patch 446 SHA256 e4b463dc007bdfdbbafdaf686a2a52ff34b5a519c26ef68364f3c27b2947a685 SHA512 3bccf463afd7a647f398c60498566b7103ca88702e630215afe4b75954a4eb96a333aab2f02c056bed7499eb7e64454c430a81c3d5d7abe0a7cb323b3111f0ef WHIRLPOOL 4c53083e420042d3ff6fb8e97852b5b70b619e8c5664b6127e6dcb50cb660db1f0e575b28da76e249a2bc395ba5bce67d74082871ab89720dcb3ab8d5552ce5f
+AUX ardour-2.8.14-syslibs.patch 3766 SHA256 44ad92ade9e0e06bf557b52ade3e20a9bb2631846efb08a84b40a92a81b3dcdc SHA512 16d1d37ea3474d0d393839d0e815096094fb3d5a914ccd041154cee11a627f7c236f070aff2379b1b4098b4da3909f0434aaa3ab52c9ac3be1ff7c8e6d3468eb WHIRLPOOL 28ded8c29de811b4dbcd6f3659d8787ec81d29718194d9877aebd9d25c06aae7dedf9530028cc410e03dc49b0fe4c1424d6e08a4064874e199263093bd76e23d
+AUX ardour-4.0-lv2.patch 2095 SHA256 b6c598bcd614c72a1071eb75e9f656824af65b06b542bb87560046a1824f4fd2 SHA512 77688faf865874b8d64785b33d3837a47c16de640bcfc5ef20006aaf2f21df0b5a81c89c8d7cf1456dbf160cdea91c5c02488a15fad202d9bfdb5aff04cf1c73 WHIRLPOOL 4aa0938f445c9257ea3ab32b3573f6777237ef204f78f31f287f1e1a3617ad2bb69b1a6a503909eed6f855725610d1bbb27d5758a630b85ace75325e19fbbaa9
+AUX ardour-4.7-gcc.patch 3081 SHA256 39640aa1aef34ff5be23b4574c02b5f92caff7294851fb207647a31f0eec4f1f SHA512 f01b60d00f2e66731cc0265a4c5fefb154eefd2b2a68bbfbefe483c37480c5b66e4978804e32fc700f20d75a67cff7076eec58ffff9efdfe4b3475d4f2c823af WHIRLPOOL 0e11b5e432abd6009b1e0dafed0ca057d38d1a4dbb3dd83de7680f91fbdafa78149d7391198327eea6d8dd64872e903e51ddd3d551e45987a31353da0950b045
+AUX ardour-4.x-revision-naming.patch 1107 SHA256 0da701e90e39fc1a7dcfa255136641bd4fd3382c1a9f05b42f7dfd9f493d602b SHA512 f9c742345b4f89bc0cabc7a7fe86c4084c99f962c3b3770a0e14b259fa4ca9a3f2cdac35c3b9214816f895fd083befab16e38d2b753cbe6ab94ca7da7b251580 WHIRLPOOL 6f1c2b53c5a3295b394d38f5e3458c4cac2c41d5946e11719054aa584bf0661c46b027669e35f2228026b88e71ce22429877e6b6953f9d21c49b425f95637eae
+DIST ardour-2.8.16.tar.bz2 2169916 SHA256 37ee32119ba105fa0883faa7e18c58ecd5276894568da224a554d9ef49075e40 SHA512 02e74883cf466fcd5588ec8f2fd9d032b4611071d630b412c853a7ae7cb46045c0cde4308abbc78da3f54aae0ab1c32a980b8d1e1a965c8633ef43d8e08e0d0d WHIRLPOOL 357b45e506da05b1ce17f006c3e2b22b17150b5556e06785b961b308d958fb66fa82b3e01d1d5e596e43caf6b9d1c83287696a6c694e54114fed5825e2fc5a51
+DIST ardour-4.7.tar.gz 9863149 SHA256 dfa3d102b3f7bb0702969153d22d9311ac98c587f691760ab0f1d3f4f455a86d SHA512 5daff563ec0b2dc38ec6ca55bb12526ef54da9d8d5a29a9fd6d869f54b83e6fe5ff3c28ef654e6700455110b4a46ce42a33902eb66d96330c6c0948eb3cd3096 WHIRLPOOL eb94b56a919d0088a312414f45475f53ee8c7f618d85f9ffcf5f27719422c2035ff4608108ecbe0f521d54ed1ad40c06ada0a1cb8f7d70531320f40aa107e4b4
+DIST ardour-5.10.tar.bz2 8844840 SHA256 2d88fad771e8f4df4c1ff06836152d486f392a71b4f369759934419b679ddd0f SHA512 4dc8c43ed81b931e855f4a19b5674712a8322edaa06f466d5dd0eb93076a67da12795944c8f17b30b89bb5e87f54279fc2b21d147d48e98e5cb69a3f965a8bb8 WHIRLPOOL 1b8d23c58a5ecb04410df29daa0e73c308b58b843b000a607e4ef2cd78b94e250252654e1c39d34373b5482f141491532914298589bd13e260864044f0ee8b1a
+DIST ardour-5.3.tar.bz2 8244811 SHA256 1289002cb81e372b663f9d66e2923c066b64c48f9bec3a9884f7a59cb007945a SHA512 464c311cd3f3f4a580ad451be7a8143a3f2f7454364426c952e757999aba92af6611d0bc31f4d5e0ca301a3c79e4cd1ec19b01ec9941f34e6fa4cf338149291f WHIRLPOOL b7d999805f2b5dda2dc1fd92cbec76d499b15c0f7517c208e7c6b46b624dcd759b0c25a4ee9ec23d974500873c93a8b76e1f45395a25936d5641e47e3027f038
+DIST ardour-5.5.tar.bz2 9237459 SHA256 867605614f6840341d37c388f6c5acf803579172b7d7edbebb4c8e36c8bfde1f SHA512 63132681dda7890b8f455a8142935f0bdce28e718b98d1d79a9207ad86b25d31698285d28871bb5043b3b859efd8b1fb8b7b7324fa3abd952a7a9c8e1691e09c WHIRLPOOL 16a7cdc5b5893bbd4e6e86bf3f6d06dc236ad3c7062ba51f313fc472fd46e63f9508f761e9d20ff929e915591fc1d3153098b115909671e4c357003b6c21f733
+DIST ardour-5.6.tar.bz2 8590451 SHA256 d8a55121540e1de8c1a040162316434a2c82d75b8c9e9673ab2143662c848372 SHA512 6d7c72f4bb91e0d9d63dfb2273108e3f61bddac9c21f1f58fe6cb73d5f0a028e735d226c3aa2d1404916b566a103d556a2934b083a4c5d629ec7e28c0abd34f9 WHIRLPOOL a55ac78ad64b56678ca0a6f278a6a4e118d5a0aa8e2d5fa7309583c20f87d5df58408b3deee6cbb0b7a1390fa73ec3a766445d08d94709be02869cbc1aa059da
+DIST ardour-5.8.tar.bz2 8669692 SHA256 0138a7cdc30353a3ceb520fab4d636a9ffca2d4d031839d5aa4cd36dcccba886 SHA512 96b3a81f8c48f66839fb8cddeec5ed0c4a95a6092eab15eacb69007cf093cc6572c308e37c8acbc0194eeecf809980c22c04449fe65d683c298d8d0611e7950e WHIRLPOOL 9e2cdda574d39f8abbc9ef2a127124b132011de84eb9808c4d1ae44a746aa96b550ba49365d545d5614559df1fe0d9f844befec59c82bf9c5da956971a77d5e7
+DIST ardour-5.9.tar.bz2 8830842 SHA256 dffebbee16d3fce71e5f5657e99adb97a88515a6607e45397dd774e77b22f559 SHA512 1ba713f3953456260df9d183b30730c959f2707f8c9dd1280a3ab5eb5d9dbdd0e81db98150346f60f777f6bd02eeaaf9f9bcf43cf2ec0b5addce3b50fcbf7413 WHIRLPOOL 6fb7d0711b6d6bfeaf4c7f52bb3f518377f84a94eec3e27364b00998c83964e418127c7ad5d6726b88ef7ecf360a95e176a4d0feb0054018c83956afdeca2678
+EBUILD ardour-2.8.16-r1.ebuild 1885 SHA256 103e88e8c306e4271acfad57c5ad3410ba41d32b5659f4ee3c3957b410a85013 SHA512 f635237138d56fb03c6dd4704b76ebc6e7a667b50175324f5c83a4ae5b3cf581d987899efa50830a5608492a18067fc583d9c40d619a1309b64bf41f067b15a3 WHIRLPOOL 04ee7a80aa5fe8839a549bd89c8c8b19fbe2c8638025172c3c80e22ebb535c1e2c9ca018d5541afaa3717fc86139a4730f8bcef8a6e2619c2a7235e3f263ef5f
+EBUILD ardour-4.7-r1.ebuild 3751 SHA256 bc8db519b77bac1f1763380d1a2c31cf5c706a3f3c1c488e5622d812203c5fc6 SHA512 4dd4e31544c7ad9ac7d011bcb26c5c9fe6749fff0832283191b18b89d5812ede37449eb839af0668a7b28ecac7559396a1c0f5da7cb180edefef20edebbff43e WHIRLPOOL 1282d9bf4277f00ac4a0ce9c96e9cb984c174dbdb7f54df13fc88e079c17790c5981c1df1d8dc5c055f8053d3392b5c85d5e446e774431e02449a917801fd718
+EBUILD ardour-4.7-r2.ebuild 3794 SHA256 2852d89ddb924fe87fe6cce997d325565dddc7c2487ff5b6e67208fd8b18366f SHA512 6fda1d81f66b6dc64c68ad179bca25868c7cb136937e173e82357e42f88bdaff4b198bf52b7c6e1a8b06d4e4814f3bce69c9cdf41f802ba64f30a8deaeecce77 WHIRLPOOL e072ae27efbe6994b34f7d94d5ce400fc1b0b1ba338760143e86d36639b1d28fdd2395bca599ab09ac9faf7ff2a8eeabbd5188be3e80907acc73ae27883fe994
+EBUILD ardour-5.10.ebuild 3921 SHA256 28e2001029c463127e56136baf28ed50a790ef17010fcadb8e93ae6847c90472 SHA512 c65c934f7a275c814d609e372940c58ca85e6515a31506157087d0fd4d6e6f53ca50ab1a9545c0fc2971693b351a642937019419b203f8013b1c16b1cb823a92 WHIRLPOOL bff52735ca17437470fb19781ac20a18ca5b67a75c41c1f0a5e8862ecb890f0eaf41376488ed764b2a5c8a6dccd92b06c15c6089084c9d60460b2d0e9842ccc0
+EBUILD ardour-5.3-r1.ebuild 4021 SHA256 ce777ce90ca3af3bb31a5b01361efc86158d24a95475f21674e2895df2095c97 SHA512 5a369fb2317720d8ede4ecb266acef8d69e963c20b1300ab5a47d2dc69d8df2860c2a8c5363f20148c0c71c5f988bfdc6f9a62c92291bf3863b03357d4cfdf13 WHIRLPOOL 3d0556de6073a67454ff1a50a803b78db6ce75654c8afc8d67f1f1962f7a1066fbd5c26963e5045fd78314fc0c1b79daab6d714a251d89420fae609c8b2745c3
+EBUILD ardour-5.5-r1.ebuild 3921 SHA256 28e2001029c463127e56136baf28ed50a790ef17010fcadb8e93ae6847c90472 SHA512 c65c934f7a275c814d609e372940c58ca85e6515a31506157087d0fd4d6e6f53ca50ab1a9545c0fc2971693b351a642937019419b203f8013b1c16b1cb823a92 WHIRLPOOL bff52735ca17437470fb19781ac20a18ca5b67a75c41c1f0a5e8862ecb890f0eaf41376488ed764b2a5c8a6dccd92b06c15c6089084c9d60460b2d0e9842ccc0
+EBUILD ardour-5.6-r1.ebuild 3921 SHA256 28e2001029c463127e56136baf28ed50a790ef17010fcadb8e93ae6847c90472 SHA512 c65c934f7a275c814d609e372940c58ca85e6515a31506157087d0fd4d6e6f53ca50ab1a9545c0fc2971693b351a642937019419b203f8013b1c16b1cb823a92 WHIRLPOOL bff52735ca17437470fb19781ac20a18ca5b67a75c41c1f0a5e8862ecb890f0eaf41376488ed764b2a5c8a6dccd92b06c15c6089084c9d60460b2d0e9842ccc0
+EBUILD ardour-5.8-r1.ebuild 3921 SHA256 28e2001029c463127e56136baf28ed50a790ef17010fcadb8e93ae6847c90472 SHA512 c65c934f7a275c814d609e372940c58ca85e6515a31506157087d0fd4d6e6f53ca50ab1a9545c0fc2971693b351a642937019419b203f8013b1c16b1cb823a92 WHIRLPOOL bff52735ca17437470fb19781ac20a18ca5b67a75c41c1f0a5e8862ecb890f0eaf41376488ed764b2a5c8a6dccd92b06c15c6089084c9d60460b2d0e9842ccc0
+EBUILD ardour-5.9.ebuild 3921 SHA256 28e2001029c463127e56136baf28ed50a790ef17010fcadb8e93ae6847c90472 SHA512 c65c934f7a275c814d609e372940c58ca85e6515a31506157087d0fd4d6e6f53ca50ab1a9545c0fc2971693b351a642937019419b203f8013b1c16b1cb823a92 WHIRLPOOL bff52735ca17437470fb19781ac20a18ca5b67a75c41c1f0a5e8862ecb890f0eaf41376488ed764b2a5c8a6dccd92b06c15c6089084c9d60460b2d0e9842ccc0
+EBUILD ardour-9999.ebuild 3920 SHA256 f605d5a6ed6c803ccc7677521df268a7400be77aaee94bef0bb3b26232f031df SHA512 5d9ad35b47af782156639584e2c6c420d45f60fbfa5b98317f12e5c31cac06087c420ec0a62576443ffd9b175479a0d7b92fa745883d066b1d4204b4be7b6556 WHIRLPOOL 639756fe95703842fa8b998ff675c654fcc7cb06e00f28bd684a586651461b23588b55b39f952d269984433d7fa3563c616e26664b7f64872d3dc51117090172
+MISC ChangeLog 7557 SHA256 a59a122b4049a4e46e9c6ff5f8fc31867c4bc8e029ec1c7e7d1339eed4d089b6 SHA512 ab34e3b2332a475fdf66c2aa25a08be4ab8b1150ef3f04dbddc6cbb76a27f7cd34a7ee67dc20f2584b620691d4c1123ac1046c0ad302abcfd798e6e0575e71f7 WHIRLPOOL ce878a45e496787a8303f8755ae7665f23be550dd232e2a1971ec324da359e6f1aacd4f3b29d0e3fc0fb9a6fbb16442eda22edd6eb6663d0c2903cccee3d5111
+MISC ChangeLog-2015 24185 SHA256 e0746693507301ef37ee18f601929d5e1947ceca02e02ef091ff56a03d67a8b9 SHA512 4c4503240986267c5c6f7bc319da85ca4f6d9fda1f0e6b9867621caa18903ff25d2be4760b86e8f2eea16de6518ee48ae21fa2b5fba9d989fac12823532e6437 WHIRLPOOL f0ecd6b8aa4793af5c2cae22d7c9d4148f070a81aa7d3d6567e61946636bd2acaf5e01e0ea96967cba0b0458a33bcff500b125c3eda0c001c764641be2ca0f46
+MISC metadata.xml 418 SHA256 54445d1e3836dc00dba09de5f61c822b7ffcbfeff37adfef449d1dd694314054 SHA512 763a4192a9cd9d124a11d5f65449f68ac20bca1689f03ef97112d2e988b49949f82ca3478285b85644284982a9c267e6bd41938fb8298ddd0e84aaa7d617d27f WHIRLPOOL 604582209fe38e55f7c16d90a3e20e2af7a4d3bf791595d13075ab1fb8452ff5f03c6926e93d18b7c1b1fad8076000699664fe0bd9eaa36895c2c24165934945
diff --git a/media-sound/ardour/ardour-2.8.16-r1.ebuild b/media-sound/ardour/ardour-2.8.16-r1.ebuild
new file mode 100644
index 000000000000..20db704fb18c
--- /dev/null
+++ b/media-sound/ardour/ardour-2.8.16-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils flag-o-matic toolchain-funcs scons-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="altivec curl debug nls lv2 cpu_flags_x86_sse"
+
+RDEPEND="media-libs/aubio
+ media-libs/liblo
+ sci-libs/fftw:3.0
+ media-libs/freetype:2
+ >=dev-libs/glib-2.10.1:2
+ dev-cpp/glibmm:2
+ >=x11-libs/gtk+-2.8.1:2
+ >=dev-libs/libxml2-2.6:2
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/flac
+ media-libs/raptor:2
+ >=media-libs/liblrdf-0.4.0-r20
+ virtual/jack
+ >=gnome-base/libgnomecanvas-2
+ media-libs/vamp-plugin-sdk
+ dev-libs/libxslt
+ dev-libs/libsigc++:2
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ media-libs/alsa-lib
+ x11-libs/pango
+ x11-libs/cairo
+ media-libs/libart_lgpl
+ virtual/libusb:0
+ dev-libs/boost
+ curl? ( net-misc/curl )
+ lv2? (
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/suil
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-2.8.11-flags.patch \
+ "${FILESDIR}"/${PN}-2.8.14-syslibs.patch \
+ "${FILESDIR}"/${PN}-2.8.14-boost-150.patch
+}
+
+src_compile() {
+ local FPU_OPTIMIZATION=$($(use altivec || use cpu_flags_x86_sse) && echo 1 || echo 0)
+ tc-export CC CXX
+ mkdir -p "${D}"
+
+ escons \
+ DESTDIR="${D}" \
+ FPU_OPTIMIZATION="${FPU_OPTIMIZATION}" \
+ PREFIX=/usr \
+ SYSLIBS=1 \
+ $(use_scons curl FREESOUND) \
+ $(use_scons debug DEBUG) \
+ $(use_scons nls NLS) \
+ $(use_scons lv2 LV2)
+}
+
+src_install() {
+ escons install
+ doman ${PN}.1
+ newicon icons/icon/ardour_icon_mac.png ${PN}.png
+ make_desktop_entry ardour2 ardour2 ardour AudioVideo
+}
diff --git a/media-sound/ardour/ardour-4.7-r1.ebuild b/media-sound/ardour/ardour-4.7-r1.ebuild
new file mode 100644
index 000000000000..166114e42cd3
--- /dev/null
+++ b/media-sound/ardour/ardour-4.7-r1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-2"
+SLOT="4"
+IUSE="altivec doc jack lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sci-libs/fftw:3.0
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ lv2? (
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0
+ )"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ if ! [[ ${PV} == *9999* ]]; then
+ epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex lv2 "--lv2" "--no-lv2") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon icons/icon/ardour_icon_tango_48px_red.png ${PN}${SLOT}.png
+ make_desktop_entry ardour4 ardour4 ardour4 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}"
+}
diff --git a/media-sound/ardour/ardour-4.7-r2.ebuild b/media-sound/ardour/ardour-4.7-r2.ebuild
new file mode 100644
index 000000000000..968572f28b59
--- /dev/null
+++ b/media-sound/ardour/ardour-4.7-r2.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-2"
+SLOT="4"
+IUSE="altivec doc jack lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sci-libs/fftw:3.0
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ lv2? (
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0
+ )"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ if ! [[ ${PV} == *9999* ]]; then
+ epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ epatch "${FILESDIR}"/${PN}-4.7-gcc.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex lv2 "--lv2" "--no-lv2") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon icons/icon/ardour_icon_tango_48px_red.png ${PN}${SLOT}.png
+ make_desktop_entry ardour4 ardour4 ardour4 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}"
+}
diff --git a/media-sound/ardour/ardour-5.10.ebuild b/media-sound/ardour/ardour-5.10.ebuild
new file mode 100644
index 000000000000..8998723b5075
--- /dev/null
+++ b/media-sound/ardour/ardour-5.10.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ eapply_user
+ if ! [[ ${PV} == *9999* ]]; then
+ eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ --lv2 \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/ardour-5.3-r1.ebuild b/media-sound/ardour/ardour-5.3-r1.ebuild
new file mode 100644
index 000000000000..d6f899d24322
--- /dev/null
+++ b/media-sound/ardour/ardour-5.3-r1.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="http://fossies.org/linux/misc/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ lv2? (
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0
+ )"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ if ! [[ ${PV} == *9999* ]]; then
+ epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex lv2 "--lv2" "--no-lv2") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/ardour-5.5-r1.ebuild b/media-sound/ardour/ardour-5.5-r1.ebuild
new file mode 100644
index 000000000000..8998723b5075
--- /dev/null
+++ b/media-sound/ardour/ardour-5.5-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ eapply_user
+ if ! [[ ${PV} == *9999* ]]; then
+ eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ --lv2 \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/ardour-5.6-r1.ebuild b/media-sound/ardour/ardour-5.6-r1.ebuild
new file mode 100644
index 000000000000..8998723b5075
--- /dev/null
+++ b/media-sound/ardour/ardour-5.6-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ eapply_user
+ if ! [[ ${PV} == *9999* ]]; then
+ eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ --lv2 \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/ardour-5.8-r1.ebuild b/media-sound/ardour/ardour-5.8-r1.ebuild
new file mode 100644
index 000000000000..8998723b5075
--- /dev/null
+++ b/media-sound/ardour/ardour-5.8-r1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ eapply_user
+ if ! [[ ${PV} == *9999* ]]; then
+ eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ --lv2 \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/ardour-5.9.ebuild b/media-sound/ardour/ardour-5.9.ebuild
new file mode 100644
index 000000000000..8998723b5075
--- /dev/null
+++ b/media-sound/ardour/ardour-5.9.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ eapply_user
+ if ! [[ ${PV} == *9999* ]]; then
+ eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ --lv2 \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild
new file mode 100644
index 000000000000..67a60199f1ba
--- /dev/null
+++ b/media-sound/ardour/ardour-9999.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+#EPYTHON='python2.7'
+inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
+
+DESCRIPTION="Digital Audio Workstation"
+HOMEPAGE="http://ardour.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="git://git.ardour.org/ardour/ardour.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ S="${WORKDIR}/Ardour-${PV}.0"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+
+RDEPEND="
+ >=dev-cpp/glibmm-2.32.0
+ >=dev-cpp/gtkmm-2.16:2.4
+ >=dev-cpp/libgnomecanvasmm-2.26:2.6
+ dev-libs/boost:=
+ >=dev-libs/glib-2.10.1:2
+ dev-libs/libsigc++:2
+ >=dev-libs/libxml2-2.6:2
+ dev-libs/libxslt
+ >=gnome-base/libgnomecanvas-2
+ media-libs/alsa-lib
+ media-libs/aubio
+ media-libs/flac
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ media-libs/liblo
+ >=media-libs/liblrdf-0.4.0-r20
+ >=media-libs/libsamplerate-0.1
+ >=media-libs/libsndfile-1.0.18
+ >=media-libs/libsoundtouch-1.6.0
+ media-libs/raptor:2
+ >=media-libs/rubberband-1.6.0
+ >=media-libs/taglib-1.7
+ media-libs/vamp-plugin-sdk
+ net-misc/curl
+ sys-libs/readline:0=
+ sci-libs/fftw:3.0[threads]
+ virtual/libusb:0
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.8.1:2
+ x11-libs/pango
+ jack? ( virtual/jack )
+ >=media-libs/slv2-0.6.1
+ media-libs/lilv
+ media-libs/sratom
+ dev-libs/sord
+ >=media-libs/suil-0.6.10
+ >=media-libs/lv2-1.4.0"
+
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ jack? ( virtual/jack )
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )"
+
+pkg_setup() {
+ if has_version \>=dev-libs/libsigc++-2.6 ; then
+ append-cxxflags -std=c++11
+ fi
+ python-any-r1_pkg_setup
+}
+
+src_prepare(){
+ eapply_user
+ if ! [[ ${PV} == *9999* ]]; then
+ eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
+ touch "${S}/libs/ardour/revision.cc"
+ fi
+ sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
+ MARCH=$(get-flag march)
+ OPTFLAGS=""
+ if use cpu_flags_x86_sse; then
+ if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled sse but use an march that does not support sse!"
+ elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
+ fi
+ OPTFLAGS="sse"
+ fi
+ if use cpu_flags_x86_mmx; then
+ if [[ ${MARCH} == "i486" ]]; then
+ elog "You enabled mmx with i486 set as march! You have been warned!"
+ fi
+ OPTFLAGS="${OPTFLAGS} mmx"
+ fi
+ if use cpu_flags_x86_3dnow; then
+ OPTFLAGS="${OPTFLAGS} 3dnow"
+ fi
+ sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
+ -i "${S}"/wscript || die
+ sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
+ append-flags "-lboost_system"
+ python_fix_shebang "${S}"/wscript
+ python_fix_shebang "${S}"/waf
+}
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+ waf-utils_src_configure \
+ --destdir="${D}" \
+ --prefix=/usr \
+ --configdir=/etc \
+ --nls \
+ --optimize \
+ --lv2 \
+ $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
+ $(usex doc "--docs" '') \
+ $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
+}
+
+src_install() {
+ waf-utils_src_install
+ mv ${PN}.1 ${PN}${SLOT}.1
+ doman ${PN}${SLOT}.1
+ newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
+ make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
+}
+
+pkg_postinst() {
+ elog "If you are using Ardour and want to keep its development alive"
+ elog "then please consider to make a donation upstream at ${HOMEPAGE}."
+ elog "Please do _not_ report problems with the package to ${PN} upstream."
+ elog "If you think you've found a bug, check the upstream binary package"
+ elog "before you report anything to upstream."
+}
diff --git a/media-sound/ardour/files/ardour-2.8.11-flags.patch b/media-sound/ardour/files/ardour-2.8.11-flags.patch
new file mode 100644
index 000000000000..607b072cffa2
--- /dev/null
+++ b/media-sound/ardour/files/ardour-2.8.11-flags.patch
@@ -0,0 +1,28 @@
+--- ardour-2.8.11/SConstruct.orig
++++ ardour-2.8.11/SConstruct
+@@ -414,6 +414,15 @@
+ if os.environ.has_key('CXX'):
+ context['CXX'] = os.environ['CXX']
+
++ if os.environ.has_key('CFLAGS'):
++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
++
++ if os.environ.has_key('CXXFLAGS'):
++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
++
++ if os.environ.has_key('LDFLAGS'):
++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
++
+ if os.environ.has_key('DISTCC_HOSTS'):
+ context['ENV']['DISTCC_HOSTS'] = os.environ['DISTCC_HOSTS']
+ context['ENV']['HOME'] = os.environ['HOME']
+@@ -807,9 +816,6 @@
+ if env['DEBUG'] == 1:
+ env.Append(CCFLAGS=" ".join (debug_flags))
+ env.Append(LINKFLAGS=" ".join (debug_flags))
+-else:
+- env.Append(CCFLAGS=" ".join (opt_flags))
+- env.Append(LINKFLAGS=" ".join (opt_flags))
+
+ if env['STL_DEBUG'] == 1:
+ env.Append(CXXFLAGS="-D_GLIBCXX_DEBUG")
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
new file mode 100644
index 000000000000..0d23568a309c
--- /dev/null
+++ b/media-sound/ardour/files/ardour-2.8.14-boost-150.patch
@@ -0,0 +1,13 @@
+--- /home/mad/ardour-2.8.14/SConstruct 2012-11-21 00:30:54.000000000 +0100
++++ SConstruct 2012-11-21 17:34:02.000000000 +0100
+@@ -955,7 +961,9 @@
+ # FLAC ....
+ #
+
+-# boost (we don't link against boost, just use some header files)
++# boost (we need to link against boost with >=1.50. header files alone will not work anymore)
++
++env.Append(LIBS=['boost_system'])
+
+ libraries['boost'] = LibraryInfo ()
+ prep_libcheck(env, libraries['boost'])
diff --git a/media-sound/ardour/files/ardour-2.8.14-syslibs.patch b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch
new file mode 100644
index 000000000000..a06c3b04e276
--- /dev/null
+++ b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch
@@ -0,0 +1,108 @@
+--- SConstruct
++++ SConstruct
+@@ -891,39 +891,6 @@
+
+
+ #
+-# these are part of the Ardour source tree because they are C++
+-#
+-
+-libraries['vamp'] = LibraryInfo (LIBS='vampsdk',
+- LIBPATH='#libs/vamp-sdk',
+- CPPPATH='#libs/vamp-sdk')
+-libraries['vamphost'] = LibraryInfo (LIBS='vamphostsdk',
+- LIBPATH='#libs/vamp-sdk',
+- CPPPATH='#libs/vamp-sdk')
+-
+-env['RUBBERBAND'] = False
+-
+-conf = Configure (env)
+-
+-if conf.CheckHeader ('fftw3.h'):
+- env['RUBBERBAND'] = True
+- libraries['rubberband'] = LibraryInfo (LIBS='rubberband',
+- LIBPATH='#libs/rubberband',
+- CPPPATH='#libs/rubberband',
+- CCFLAGS='-DUSE_RUBBERBAND')
+-else:
+- print ""
+- print "-------------------------------------------------------------------------"
+- print "You do not have the FFTW single-precision development package installed."
+- print "This prevents Ardour from using the Rubberband library for timestretching"
+- print "and pitchshifting. It will fall back on SoundTouch for timestretch, and "
+- print "pitchshifting will not be available."
+- print "-------------------------------------------------------------------------"
+- print ""
+-
+-conf.Finish()
+-
+-#
+ # Check for libusb
+
+ libraries['usb'] = LibraryInfo ()
+@@ -1109,10 +1076,22 @@
+ # Comment the previous line and uncomment this for old versions of Debian:
+ #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch')
+
+- libraries['appleutility'] = LibraryInfo(LIBS='libappleutility',
+- LIBPATH='#libs/appleutility',
+- CPPPATH='#libs/appleutility')
++ #libraries['appleutility'] = LibraryInfo(LIBS='libappleutility',
++ # LIBPATH='#libs/appleutility',
++ # CPPPATH='#libs/appleutility')
+
++ env['RUBBERBAND'] = True
++ env.Append (CXXFLAGS="-DUSE_RUBBERBAND")
++ libraries['rubberband'] = LibraryInfo()
++ libraries['rubberband'].ParseConfig ('pkg-config --cflags --libs rubberband')
++
++ libraries['vamp-sdk'] = LibraryInfo()
++ libraries['vamp-sdk'].ParseConfig ('pkg-config --cflags --libs vamp-sdk')
++ libraries['vamp'] = LibraryInfo()
++ libraries['vamp'].ParseConfig ('pkg-config --cflags --libs vamp-sdk')
++ libraries['vamphost'] = LibraryInfo()
++ libraries['vamphost'].ParseConfig ('pkg-config --cflags --libs vamp-hostsdk')
++
+ coredirs = [
+ 'templates',
+ 'manual'
+@@ -1122,7 +1101,6 @@
+ 'libs/pbd',
+ 'libs/midi++2',
+ 'libs/ardour',
+- 'libs/vamp-sdk',
+ 'libs/vamp-plugins/',
+ # these are unconditionally included but have
+ # tests internally to avoid compilation etc
+@@ -1138,8 +1116,7 @@
+ gtk_subdirs = [
+ # 'libs/flowcanvas',
+ 'libs/gtkmm2ext',
+- 'gtk2_ardour',
+- clearlooks_version
++ 'gtk2_ardour'
+ ]
+
+ else:
+@@ -1251,9 +1228,9 @@
+ # timestretch libraries
+ #
+
+-timefx_subdirs = []
+-if env['RUBBERBAND']:
+- timefx_subdirs += ['libs/rubberband']
++#timefx_subdirs = []
++#if env['RUBBERBAND']:
++# timefx_subdirs += ['libs/rubberband']
+
+ #
+ # Tools
+@@ -1441,7 +1418,7 @@
+ for subdir in coredirs:
+ SConscript (subdir + '/SConscript')
+
+-for sublistdir in [ subdirs, timefx_subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]:
++for sublistdir in [ subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]:
+ for subdir in sublistdir:
+ SConscript (subdir + '/SConscript')
+
diff --git a/media-sound/ardour/files/ardour-4.0-lv2.patch b/media-sound/ardour/files/ardour-4.0-lv2.patch
new file mode 100644
index 000000000000..a79e3f20c447
--- /dev/null
+++ b/media-sound/ardour/files/ardour-4.0-lv2.patch
@@ -0,0 +1,56 @@
+diff -rupN ardour-4.0-vanilla/libs/ardour/automatable.cc ardour-4.0/libs/ardour/automatable.cc
+--- ardour-4.0-vanilla/libs/ardour/automatable.cc 2015-04-18 00:23:10.000000000 +0200
++++ ardour-4.0/libs/ardour/automatable.cc 2015-04-21 16:32:14.943812000 +0200
+@@ -34,7 +34,11 @@
+ #include "ardour/plugin.h"
+ #include "ardour/plugin_insert.h"
+ #include "ardour/session.h"
++
++#ifdef LV2_SUPPORT
+ #include "ardour/uri_map.h"
++#endif
++
+ #include "ardour/value_as_string.h"
+
+ #include "i18n.h"
+diff -rupN ardour-4.0-vanilla/libs/ardour/buffer_set.cc ardour-4.0/libs/ardour/buffer_set.cc
+--- ardour-4.0-vanilla/libs/ardour/buffer_set.cc 2015-04-18 00:23:10.000000000 +0200
++++ ardour-4.0/libs/ardour/buffer_set.cc 2015-04-21 16:40:44.216812000 +0200
+@@ -34,8 +34,8 @@
+ #include "ardour/midi_buffer.h"
+ #include "ardour/port.h"
+ #include "ardour/port_set.h"
+-#include "ardour/uri_map.h"
+ #ifdef LV2_SUPPORT
++#include "ardour/uri_map.h"
+ #include "ardour/lv2_plugin.h"
+ #include "lv2_evbuf.h"
+ #endif
+diff -rupN ardour-4.0-vanilla/libs/ardour/event_type_map.cc ardour-4.0/libs/ardour/event_type_map.cc
+--- ardour-4.0-vanilla/libs/ardour/event_type_map.cc 2015-04-18 00:23:10.000000000 +0200
++++ ardour-4.0/libs/ardour/event_type_map.cc 2015-04-21 16:47:28.489812000 +0200
+@@ -24,7 +24,9 @@
+ #include "ardour/event_type_map.h"
+ #include "ardour/parameter_descriptor.h"
+ #include "ardour/parameter_types.h"
++#ifdef LV2_SUPPORT
+ #include "ardour/uri_map.h"
++#endif
+ #include "evoral/Parameter.hpp"
+ #include "evoral/ParameterDescriptor.hpp"
+ #include "evoral/midi_events.h"
+diff -rupN ardour-4.0-vanilla/libs/ardour/globals.cc ardour-4.0/libs/ardour/globals.cc
+--- ardour-4.0-vanilla/libs/ardour/globals.cc 2015-04-18 00:23:10.000000000 +0200
++++ ardour-4.0/libs/ardour/globals.cc 2015-04-21 16:54:33.404812000 +0200
+@@ -106,8 +106,9 @@
+ #include "ardour/runtime_functions.h"
+ #include "ardour/session_event.h"
+ #include "ardour/source_factory.h"
++#ifdef LV2_SUPPORT
+ #include "ardour/uri_map.h"
+-
++#endif
+ #include "audiographer/routines.h"
+
+ #if defined (__APPLE__)
+
diff --git a/media-sound/ardour/files/ardour-4.7-gcc.patch b/media-sound/ardour/files/ardour-4.7-gcc.patch
new file mode 100644
index 000000000000..685eb2ab1178
--- /dev/null
+++ b/media-sound/ardour/files/ardour-4.7-gcc.patch
@@ -0,0 +1,100 @@
+--- libs/gtkmm2ext/actions.cc.old 2016-02-19 02:28:56.000000000 +0100
++++ libs/gtkmm2ext/actions.cc 2017-06-05 03:32:48.762688016 +0200
+@@ -401,7 +401,7 @@
+ gtkmm2.6, so we fall back to the C level.
+ */
+
+- if (ui_manager == 0) {
++ if (ui_manager == (Glib::RefPtr<Gtk::UIManager>) 0) {
+ return RefPtr<Action> ();
+ }
+
+--- libs/gtkmm2ext/fastmeter.cc.old 2016-02-19 02:28:56.000000000 +0100
++++ libs/gtkmm2ext/fastmeter.cc 2017-06-05 05:01:57.075834979 +0200
+@@ -731,7 +731,7 @@
+
+ Glib::RefPtr<Gdk::Window> win;
+
+- if ((win = get_window()) == 0) {
++ if ((win = get_window()) == (Glib::RefPtr<Gdk::Window>) 0) {
+ queue_draw ();
+ return;
+ }
+
+--- gtk2_ardour/editor.cc.old 2016-02-19 02:28:56.000000000 +0100
++++ gtk2_ardour/editor.cc 2017-06-05 05:38:20.971481110 +0200
+@@ -714,16 +714,16 @@
+ list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
+ Glib::RefPtr<Gdk::Pixbuf> icon;
+
+- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_16px")) {
+ window_icons.push_back (icon);
+ }
+- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_22px")) {
+ window_icons.push_back (icon);
+ }
+- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_32px")) {
+ window_icons.push_back (icon);
+ }
+- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_48px")) {
+ window_icons.push_back (icon);
+ }
+ if (!window_icons.empty()) {
+
+--- gtk2_ardour/fft_graph.cc.old 2016-02-19 02:28:56.000000000 +0100
++++ gtk2_ardour/fft_graph.cc 2017-06-05 06:21:56.644212996 +0200
+@@ -203,7 +203,7 @@
+
+
+
+- if (graph_gc == 0) {
++ if (graph_gc == (Glib::RefPtr<Gdk::GC>) 0) {
+ graph_gc = GC::create( get_window() );
+ }
+
+@@ -213,7 +213,7 @@
+
+ graph_gc->set_rgb_fg_color( grey );
+
+- if (layout == 0) {
++ if (layout == (Glib::RefPtr<Pango::Layout>) 0) {
+ layout = create_pango_layout ("");
+ layout->set_font_description (get_style()->get_font());
+ }
+
+--- gtk2_ardour/startup.cc.old 2016-02-19 02:28:56.000000000 +0100
++++ gtk2_ardour/startup.cc 2017-06-05 06:41:27.091051601 +0200
+@@ -79,23 +79,23 @@
+ set_position (WIN_POS_CENTER);
+ set_border_width (12);
+
+- if ((icon_pixbuf = ::get_icon ("ardour_icon_48px")) == 0) {
++ if ((icon_pixbuf = ::get_icon ("ardour_icon_48px")) == (Glib::RefPtr<Gdk::Pixbuf>) 0) {
+ throw failed_constructor();
+ }
+
+ list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
+ Glib::RefPtr<Gdk::Pixbuf> icon;
+
+- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_16px")) {
+ window_icons.push_back (icon);
+ }
+- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_22px")) {
+ window_icons.push_back (icon);
+ }
+- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_32px")) {
+ window_icons.push_back (icon);
+ }
+- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
++ if (icon = ::get_icon ("ardour_icon_48px")) {
+ window_icons.push_back (icon);
+ }
+ if (!window_icons.empty ()) {
+
diff --git a/media-sound/ardour/files/ardour-4.x-revision-naming.patch b/media-sound/ardour/files/ardour-4.x-revision-naming.patch
new file mode 100644
index 000000000000..d558f4792a84
--- /dev/null
+++ b/media-sound/ardour/files/ardour-4.x-revision-naming.patch
@@ -0,0 +1,38 @@
+--- ardour-4.2/wscript
++++ ardour-4.2/wscript
+@@ -162,7 +162,7 @@
+ if os.path.isdir (os.path.join(os.getcwd(), '.git')):
+ rev = fetch_git_revision ()
+ else:
+- rev = fetch_tarball_revision ()
++ rev = os.environ['PV']
+
+ #
+ # rev is now of the form MAJOR.MINOR[-rcX]-rev-commit
+@@ -238,16 +238,16 @@
+ return version
+
+ def create_stored_revision():
+- rev = ""
+- if os.path.exists('.git'):
+- rev = fetch_git_revision();
+- print("Git version: " + rev + "\n")
+- elif os.path.exists('libs/ardour/revision.cc'):
+- print("Using packaged revision")
+- return
+- else:
+- print("Missing libs/ardour/revision.cc. Blame the packager.")
+- sys.exit(-1)
++ rev = os.environ['PV'] + "-gentoo"
++# if os.path.exists('.git'):
++# rev = fetch_git_revision();
++# print("Git version: " + rev + "\n")
++# elif os.path.exists('libs/ardour/revision.cc'):
++# print("Using packaged revision")
++# return
++# else:
++# print("Missing libs/ardour/revision.cc. Blame the packager.")
++# sys.exit(-1)
+
+ try:
+ #
diff --git a/media-sound/ardour/metadata.xml b/media-sound/ardour/metadata.xml
new file mode 100644
index 000000000000..c770fdfe0e97
--- /dev/null
+++ b/media-sound/ardour/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <use>
+ <flag name="lv2">Add support for Ladspa V2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Ardour/ardour</remote-id>
+ </upstream>
+</pkgmetadata>