diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/ardour | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/ardour')
21 files changed, 1556 insertions, 0 deletions
diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest new file mode 100644 index 000000000000..83d4442cf401 --- /dev/null +++ b/media-sound/ardour/Manifest @@ -0,0 +1,8 @@ +DIST ardour-2.8.14.tar.bz2 2169985 SHA256 e07e483a12354c00d821dafbec5f5d2690062b758205daceab723bf1e9a633fe SHA512 0d861cfe99645ff5f7847b5e3296a1dfb6d8f15e8686ac79819b114843988b669b117bcfce89a77435d7af252b50bbfa790eb206f69dfff39f7c97126cf26540 WHIRLPOOL 75382e17152d7eea18820f7e72fff2f29553edfd4e15609f73842411edf5605d1ca2a2a8497e08747f5c210393822dc32a1b90e72cdff9774ab4c2a060de6073 +DIST ardour-2.8.16.tar.bz2 2169916 SHA256 37ee32119ba105fa0883faa7e18c58ecd5276894568da224a554d9ef49075e40 SHA512 02e74883cf466fcd5588ec8f2fd9d032b4611071d630b412c853a7ae7cb46045c0cde4308abbc78da3f54aae0ab1c32a980b8d1e1a965c8633ef43d8e08e0d0d WHIRLPOOL 357b45e506da05b1ce17f006c3e2b22b17150b5556e06785b961b308d958fb66fa82b3e01d1d5e596e43caf6b9d1c83287696a6c694e54114fed5825e2fc5a51 +DIST ardour-3.5.308.tar.gz 8578598 SHA256 8fe7d396d182c1cecc377d70e788f4bcaeca6276dc7474a6589e6469acd77d8b SHA512 64b1719c8262840bf8f02d5843640efecd1a7cb1e0a706b778db9d8f849d7cb611bc34bec3fee8291f3b01491b913e5d5239c772ba40ce883ee00d6bfeb48b41 WHIRLPOOL a5422a5f8e6addcd0bd03a11d18a057e06d82c8b7039128f25de7f6d9c906c2fd05a7c46e54403e1f18c0b7b06c1722638c66a7a0f1d55f7e04d6b0dabfd2baf +DIST ardour-3.5.357.tar.gz 8579943 SHA256 1c13a3200bfa0fb8c0adddd3439102e0caa7f219a0f2518a4ba0d233924ef0b7 SHA512 8ee6d3b3f8e05547b3e9487e56344c2795fbc4781f6ac03a0c1684c534940570e3138023df4e57ce904c99e152ff212ddf67d83c1c95ac8542cc55a6e379c90d WHIRLPOOL a32508b6b54909111bf9a074df72d312f164a18840c28e96d1c38e368a13f8ea8f9dc6d9fb4fc600af97e06ce79fdd21a58f1701125a02c5a26ea919d823d2ae +DIST ardour-3.5.380.tar.gz 8580892 SHA256 476829114565b56f6dd9f05d1e93752d36db6db453f0f69c09ed43f6b3ed88e1 SHA512 286290186e400cdc9fe350dce3e785de8193adac7a7de951b78ee91d0ab8a29ee4dfb113f2e996a821e6e26079749a7a2f09583451b364f5497027c0b52d7f0d WHIRLPOOL 2a59c5618690d8570a782ea7b2ad2882de7affc7b98a1d0d834bdb2b2a36031570b7e9e68e83f2b8fd19e224fef2393601b47a633659f8fca5fbb11102b957f9 +DIST ardour-3.5.403.tar.gz 8583763 SHA256 46490623479d9a25e2ab98b817c1f5c42b1d042f62afba1d1828d869a0c2d395 SHA512 e00053faf6c4f62dc80c85d82bbdb4b65de2111c9c9efc9d9e03b73be353a7cd652c02a2989566fd30491b1a07d02a7ff15e4523966163cf2e5e4c708a12aac0 WHIRLPOOL 726b66d236a9488a58fe333cbe720bdbd6beaf993d0e738ff8757cf7f657be164d5d0e390da09c773ab3b590c3bcf73be03a358164d54bd19fa7b025ff13118b +DIST ardour-4.0.tar.gz 9189038 SHA256 ea1131a24774d5f8dcab4ac7ea3b36bd427b1e4d0bef6f3db0681bc4ca131cf1 SHA512 2317c5818fe89386319f12062f0af0d08b07f569d6f775b7ecfa4f3a4bb1f565e05f3ff32f05f591c5628bdd402eda5bce4be4f8fa89da6c2092d5edb2c9ae7a WHIRLPOOL 854145ed135f6b23222ab2d6022e31b09221cac0d326fa17c5ee88e4e8ebd033e69c447fcbac35a925ff23974cc8b2b13c076014118977bbc88836124a912ad4 +DIST ardour-4.1.tar.gz 9247567 SHA256 1d5eac009f3c84aee11c4e7d1c548747cb5a43eddac92b4e640342b79cc808b9 SHA512 5e13301ca5d8140498256d43729d770c6222b220d2c817651304746a7cc20fe8450b094d978bc9559b9ec7b5a7a95ca1c5131be5b51c78835e75b3b7bbb1be82 WHIRLPOOL 3699ea7f29c9df30ddfa3ad9a1e05f6a3cbccddaf5ae1804679b6c1a50e8b800e14f06760e8d9d44a4ac2631f32db595048640c01b9c967f060bfaee11f28a73 diff --git a/media-sound/ardour/ardour-2.8.14-r1.ebuild b/media-sound/ardour/ardour-2.8.14-r1.ebuild new file mode 100644 index 000000000000..5d99b70f2a99 --- /dev/null +++ b/media-sound/ardour/ardour-2.8.14-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +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 + >=media-sound/jack-audio-connection-kit-0.120 + >=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}"/${P}-syslibs.patch \ + "${FILESDIR}"/${P}-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-2.8.16.ebuild b/media-sound/ardour/ardour-2.8.16.ebuild new file mode 100644 index 000000000000..ee5af30a08d4 --- /dev/null +++ b/media-sound/ardour/ardour-2.8.16.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 + >=media-sound/jack-audio-connection-kit-0.120 + >=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-3.5.308-r1.ebuild b/media-sound/ardour/ardour-3.5.308-r1.ebuild new file mode 100644 index 000000000000..9114305ad7b9 --- /dev/null +++ b/media-sound/ardour/ardour-3.5.308-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-2" +SLOT="3" +IUSE="altivec debug doc 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 + >=media-sound/jack-audio-connection-kit-0.120 + >=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 + >=media-libs/taglib-1.7 + net-misc/curl + 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} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + PVTEMP=`echo "${PV}" | sed "s/\./-/2"` + sed -e '/cmd = "git describe HEAD/,/utf-8/{s:cmd = \"git describe HEAD\":rev = \"'${PVTEMP}-gentoo'\":p;d}' -i "${S}"/wscript + sed -e 's/'os.getcwd\(\),\ \'.git'/'os.getcwd\(\),\ \'libs/'' -i "${S}"/wscript + sed -e 's/'os.path.exists\(\'.git'/'os.path.exists\(\'wscript/'' -i "${S}"/wscript + + fi + epatch "${FILESDIR}"/${PN}-3.5.7-syslibs.patch + sed 's/'FLAGS\'\,\ optimization_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript +} + +src_configure() { + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $(use nls && echo "--nls" || echo "--no-nls") \ + $(use debug && echo "--stl-debug" || echo "--optimize") \ + $((use altivec || use cpu_flags_x86_sse) && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.png ${PN}${SLOT}.png + make_desktop_entry ardour3 ardour3 ardour3 AudioVideo +} + +pkg_postinst() { + elog "If you are using Ardour and want to keep its development alive" + elog "then please consider to do a donation upstream at ardour.org. Thanks!" +} diff --git a/media-sound/ardour/ardour-3.5.357.ebuild b/media-sound/ardour/ardour-3.5.357.ebuild new file mode 100644 index 000000000000..9114305ad7b9 --- /dev/null +++ b/media-sound/ardour/ardour-3.5.357.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-2" +SLOT="3" +IUSE="altivec debug doc 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 + >=media-sound/jack-audio-connection-kit-0.120 + >=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 + >=media-libs/taglib-1.7 + net-misc/curl + 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} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + PVTEMP=`echo "${PV}" | sed "s/\./-/2"` + sed -e '/cmd = "git describe HEAD/,/utf-8/{s:cmd = \"git describe HEAD\":rev = \"'${PVTEMP}-gentoo'\":p;d}' -i "${S}"/wscript + sed -e 's/'os.getcwd\(\),\ \'.git'/'os.getcwd\(\),\ \'libs/'' -i "${S}"/wscript + sed -e 's/'os.path.exists\(\'.git'/'os.path.exists\(\'wscript/'' -i "${S}"/wscript + + fi + epatch "${FILESDIR}"/${PN}-3.5.7-syslibs.patch + sed 's/'FLAGS\'\,\ optimization_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript +} + +src_configure() { + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $(use nls && echo "--nls" || echo "--no-nls") \ + $(use debug && echo "--stl-debug" || echo "--optimize") \ + $((use altivec || use cpu_flags_x86_sse) && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.png ${PN}${SLOT}.png + make_desktop_entry ardour3 ardour3 ardour3 AudioVideo +} + +pkg_postinst() { + elog "If you are using Ardour and want to keep its development alive" + elog "then please consider to do a donation upstream at ardour.org. Thanks!" +} diff --git a/media-sound/ardour/ardour-3.5.380.ebuild b/media-sound/ardour/ardour-3.5.380.ebuild new file mode 100644 index 000000000000..ae3d03f871de --- /dev/null +++ b/media-sound/ardour/ardour-3.5.380.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-2" +SLOT="3" +IUSE="altivec debug doc 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.32.0 + >=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 + >=media-sound/jack-audio-connection-kit-0.120 + >=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 + >=media-libs/taglib-1.7 + net-misc/curl + 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} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + PVTEMP=`echo "${PV}" | sed "s/\./-/2"` + sed -e '/cmd = "git describe HEAD/,/utf-8/{s:cmd = \"git describe HEAD\":rev = \"'${PVTEMP}-gentoo'\":p;d}' -i "${S}"/wscript + sed -e 's/'os.getcwd\(\),\ \'.git'/'os.getcwd\(\),\ \'libs/'' -i "${S}"/wscript + sed -e 's/'os.path.exists\(\'.git'/'os.path.exists\(\'wscript/'' -i "${S}"/wscript + + fi + epatch "${FILESDIR}"/${PN}-3.5.7-syslibs.patch +# sed 's/'FLAGS\'\,\ optimization_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript + sed 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript + append-flags "-lboost_system" +} + +src_configure() { + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $(use nls && echo "--nls" || echo "--no-nls") \ + $(use debug && echo "--stl-debug" || echo "--optimize") \ + $((use altivec || use cpu_flags_x86_sse) && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.png ${PN}${SLOT}.png + make_desktop_entry ardour3 ardour3 ardour3 AudioVideo +} + +pkg_postinst() { + elog "If you are using Ardour and want to keep its development alive" + elog "then please consider to do a donation upstream at ardour.org. Thanks!" +} diff --git a/media-sound/ardour/ardour-3.5.403.ebuild b/media-sound/ardour/ardour-3.5.403.ebuild new file mode 100644 index 000000000000..0f9d5298c2d0 --- /dev/null +++ b/media-sound/ardour/ardour-3.5.403.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-2" +SLOT="3" +IUSE="altivec doc 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.32.0 + >=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 + >=media-sound/jack-audio-connection-kit-0.120 + >=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 + >=media-libs/taglib-1.7 + net-misc/curl + 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} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + PVTEMP=$(echo "${PV}" | sed "s/\./-/2") + sed -e '/cmd = "git describe HEAD/,/utf-8/{s:cmd = \"git describe HEAD\":rev = \"'${PVTEMP}-gentoo'\":p;d}' -i "${S}"/wscript + sed -e 's/'os.getcwd\(\),\ \'.git'/'os.getcwd\(\),\ \'libs/'' -i "${S}"/wscript + sed -e 's/'os.path.exists\(\'.git'/'os.path.exists\(\'wscript/'' -i "${S}"/wscript + fi + epatch "${FILESDIR}"/${PN}-3.5.7-syslibs.patch + epatch "${FILESDIR}"/${PN}-3.5.403-sse.patch + sed 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript + append-flags "-lboost_system" +} + +src_configure() { + if use cpu_flags_x86_sse; then + MARCH=$(get-flag march) + for ARCHWOSSE in i686 i486; do + if [[ ${MARCH} = ${ARCHWOSSE} ]]; then + for SSEOPT in -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2; do + is-flag ${SSEOPT} && SSEON="yes" + done + if [ -z ${SSEON} ]; then + append-flags -msse + elog "You enabled sse but use an march that does not support sse!" + elog "We add -msse to the cflags now, but please consider switching your march in make.conf!" + fi + fi + done + fi + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + --optimize \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $(use nls && echo "--nls" || echo "--no-nls") \ + $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.png ${PN}${SLOT}.png + make_desktop_entry ardour3 ardour3 ardour3 AudioVideo +} + +pkg_postinst() { + elog "If you are using Ardour and want to keep its development alive" + elog "then please consider to do a donation upstream at ardour.org. Thanks!" +} diff --git a/media-sound/ardour/ardour-4.0-r2.ebuild b/media-sound/ardour/ardour-4.0-r2.ebuild new file mode 100644 index 000000000000..225267ba04cc --- /dev/null +++ b/media-sound/ardour/ardour-4.0-r2.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +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" + +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.32.0 + >=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 + >=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 + >=media-libs/taglib-1.7 + net-misc/curl + jack? ( >=media-sound/jack-audio-connection-kit-0.120 ) + 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} + virtual/pkgconfig + >=media-sound/jack-audio-connection-kit-0.120 + sys-devel/gettext + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + epatch "${FILESDIR}"/${PN}-4.0-revision-naming.patch + touch "${S}/libs/ardour/revision.cc" + fi + $(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch) + epatch "${FILESDIR}"/${PN}-3.5.403-sse.patch + sed -e 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ program_flags'/g' -i "${S}"/wscript + sed -e 's/'compiler_flags.append\ \(\'-DPROGRAM_'/'program_flags.append\ \(\'-DPROGRAM_'/g' -i "${S}"/wscript + sed -e '/compiler_flags\ \=\ \[\]/a \ \ \ \ program_flags\ \=\ \[\]' -i "${S}"/wscript + append-flags "-lboost_system" +} + +src_configure() { + if use cpu_flags_x86_sse; then + MARCH=$(get-flag march) + for ARCHWOSSE in i686 i486; do + if [[ ${MARCH} = ${ARCHWOSSE} ]]; then + for SSEOPT in -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2; do + is-flag ${SSEOPT} && SSEON="yes" + done + if [ -z ${SSEON} ]; then + append-flags -msse + elog "You enabled sse but use an march that does not support sse!" + elog "We add -msse to the cflags now, but please consider switching your march in make.conf!" + fi + fi + done + fi + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + --optimize \ + --no-jack-metadata \ + --nls \ + $(use jack && echo "--with-backends=alsa,jack" || echo "--with-backends=alsa --no-jack --libjack=weak") \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.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 do a donation upstream at ardour.org. Thanks!" +} diff --git a/media-sound/ardour/ardour-4.1.ebuild b/media-sound/ardour/ardour-4.1.ebuild new file mode 100644 index 000000000000..4830a49f33ea --- /dev/null +++ b/media-sound/ardour/ardour-4.1.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +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" + +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.32.0 + >=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 + >=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:= + >=media-libs/taglib-1.7 + net-misc/curl + jack? ( >=media-sound/jack-audio-connection-kit-0.120 ) + 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} + virtual/pkgconfig + >=media-sound/jack-audio-connection-kit-0.120 + sys-devel/gettext + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + epatch "${FILESDIR}"/${PN}-4.0-revision-naming.patch + touch "${S}/libs/ardour/revision.cc" + fi + $(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch) + epatch "${FILESDIR}"/${PN}-3.5.403-sse.patch + sed -e 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ program_flags'/g' -i "${S}"/wscript + sed -e 's/'compiler_flags.append\ \(\'-DPROGRAM_'/'program_flags.append\ \(\'-DPROGRAM_'/g' -i "${S}"/wscript + sed -e '/compiler_flags\ \=\ \[\]/a \ \ \ \ program_flags\ \=\ \[\]' -i "${S}"/wscript + append-flags "-lboost_system" +} + +src_configure() { + if use cpu_flags_x86_sse; then + MARCH=$(get-flag march) + for ARCHWOSSE in i686 i486; do + if [[ ${MARCH} = ${ARCHWOSSE} ]]; then + for SSEOPT in -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2; do + is-flag ${SSEOPT} && SSEON="yes" + done + if [ -z ${SSEON} ]; then + append-flags -msse + elog "You enabled sse but use an march that does not support sse!" + elog "We add -msse to the cflags now, but please consider switching your march in make.conf!" + fi + fi + done + fi + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + --optimize \ + --nls \ + $(use jack && echo "--with-backends=alsa,jack" || echo "--with-backends=alsa --libjack=weak") \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.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 do a donation upstream at ardour.org. Thanks!" +} diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild new file mode 100644 index 000000000000..e91dce0bb458 --- /dev/null +++ b/media-sound/ardour/ardour-9999.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="http://ardour.org/" + +if [ ${PV} = 9999 ]; then + KEYWORDS="" + EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git" + inherit git-2 +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" + +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.32.0 + >=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 + >=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 + >=media-libs/taglib-1.7 + net-misc/curl + jack? ( >=media-sound/jack-audio-connection-kit-0.120 ) + 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} + virtual/pkgconfig + >=media-sound/jack-audio-connection-kit-0.120 + sys-devel/gettext + doc? ( app-doc/doxygen[dot] )" + if ! [ ${PV} = 9999 ]; then + DEPEND="${DEPEND}" + fi + +src_unpack() { + if [ ${PV} = 9999 ]; then + git-2_src_unpack + else + unpack ${A} + fi +} + +src_prepare(){ + if ! [ ${PV} = 9999 ]; then + epatch "${FILESDIR}"/${PN}-4.0-revision-naming.patch + touch "${S}/libs/ardour/revision.cc" + fi + $(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch) + epatch "${FILESDIR}"/${PN}-3.5.403-sse.patch + sed -e 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ program_flags'/g' -i "${S}"/wscript + sed -e 's/'compiler_flags.append\ \(\'-DPROGRAM_'/'program_flags.append\ \(\'-DPROGRAM_'/g' -i "${S}"/wscript + sed -e '/compiler_flags\ \=\ \[\]/a \ \ \ \ program_flags\ \=\ \[\]' -i "${S}"/wscript + append-flags "-lboost_system" +} + +src_configure() { + if use cpu_flags_x86_sse; then + MARCH=$(get-flag march) + for ARCHWOSSE in i686 i486; do + if [[ ${MARCH} = ${ARCHWOSSE} ]]; then + for SSEOPT in -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2; do + is-flag ${SSEOPT} && SSEON="yes" + done + if [ -z ${SSEON} ]; then + append-flags -msse + elog "You enabled sse but use an march that does not support sse!" + elog "We add -msse to the cflags now, but please consider switching your march in make.conf!" + fi + fi + done + fi + tc-export CC CXX + mkdir -p "${D}" + waf-utils_src_configure \ + --destdir="${D}" \ + --prefix=/usr \ + --configdir=/etc \ + --optimize \ + --nls \ + $(use jack && echo "--with-backends=alsa,jack" || echo "--with-backends=alsa --libjack=weak") \ + $(use lv2 && echo "--lv2" || echo "--no-lv2") \ + $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \ + $(use doc && echo "--docs") +} + +src_install() { + waf-utils_src_install + mv ${PN}.1 ${PN}${SLOT}.1 + doman ${PN}${SLOT}.1 + newicon icons/icon/ardour_icon_mac.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 do a donation upstream at ardour.org. Thanks!" +} 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-3.0-syslibs.patch b/media-sound/ardour/files/ardour-3.0-syslibs.patch new file mode 100644 index 000000000000..6b8deb641711 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.0-syslibs.patch @@ -0,0 +1,35 @@ +diff -rupN ardour-3.0/libs/ardour/wscript newardour-3.0/libs/ardour/wscript +--- ardour-3.0/libs/ardour/wscript 2013-03-10 22:13:52.000000000 +0100 ++++ newardour-3.0/libs/ardour/wscript 2013-03-15 08:04:07.428001597 +0100 +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -378,7 +379,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'JACK','SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvamphost', + 'libvampplugin','libtaglib','librubberband', + 'libaudiographer','libltc'] +diff -rupN ardour-3.0/wscript newardour-3.0/wscript +--- ardour-3.0/wscript 2013-03-10 22:13:59.000000000 +0100 ++++ newardour-3.0/wscript 2013-03-15 08:03:00.639999789 +0100 +@@ -31,9 +31,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/timecode', diff --git a/media-sound/ardour/files/ardour-3.2-syslibs.patch b/media-sound/ardour/files/ardour-3.2-syslibs.patch new file mode 100644 index 000000000000..6b8deb641711 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.2-syslibs.patch @@ -0,0 +1,35 @@ +diff -rupN ardour-3.0/libs/ardour/wscript newardour-3.0/libs/ardour/wscript +--- ardour-3.0/libs/ardour/wscript 2013-03-10 22:13:52.000000000 +0100 ++++ newardour-3.0/libs/ardour/wscript 2013-03-15 08:04:07.428001597 +0100 +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -378,7 +379,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'JACK','SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvamphost', + 'libvampplugin','libtaglib','librubberband', + 'libaudiographer','libltc'] +diff -rupN ardour-3.0/wscript newardour-3.0/wscript +--- ardour-3.0/wscript 2013-03-10 22:13:59.000000000 +0100 ++++ newardour-3.0/wscript 2013-03-15 08:03:00.639999789 +0100 +@@ -31,9 +31,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/timecode', diff --git a/media-sound/ardour/files/ardour-3.5-syslibs.patch b/media-sound/ardour/files/ardour-3.5-syslibs.patch new file mode 100644 index 000000000000..a80e3a34a7c5 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.5-syslibs.patch @@ -0,0 +1,37 @@ +diff --git a/libs/ardour/wscript b/libs/ardour/wscript +index 4d56983..41dd54a 100644 +--- a/libs/ardour/wscript ++++ b/libs/ardour/wscript +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -332,7 +333,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvamphost', + 'libvampplugin','libtaglib','librubberband', + 'libaudiographer','libltc','libtimecode'] +diff --git a/wscript b/wscript +index 3d01632..e84f4bf 100644 +--- a/wscript ++++ b/wscript +@@ -24,9 +24,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/backends', diff --git a/media-sound/ardour/files/ardour-3.5.403-sse.patch b/media-sound/ardour/files/ardour-3.5.403-sse.patch new file mode 100644 index 000000000000..194da5f08059 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.5.403-sse.patch @@ -0,0 +1,24 @@ +diff -rupN ardouroriginal/libs/ardour/wscript ardour-3.5.403/libs/ardour/wscript +--- ardouroriginal/libs/ardour/wscript 2014-10-24 19:18:10.981000000 +0200 ++++ ardour-3.5.403/libs/ardour/wscript 2014-10-24 19:19:36.115000000 +0200 +@@ -385,7 +385,7 @@ def build(bld): + if bld.is_defined('AUDIOUNIT_SUPPORT'): + obj.source += [ 'audio_unit.cc' ] + +- if Options.options.fpu_optimization: ++ if bld.env['FPU_OPTIMIZATION']: + if (bld.env['build_target'] == 'i386' or bld.env['build_target'] == 'i686'): + obj.source += [ 'sse_functions_xmm.cc', 'sse_functions.s' ] + elif bld.env['build_target'] == 'x86_64': +diff -rupN ardouroriginal/wscript ardour-3.5.403/wscript +--- ardouroriginal/wscript 2014-10-24 19:18:10.989000000 +0200 ++++ ardour-3.5.403/wscript 2014-10-24 19:20:20.160000000 +0200 +@@ -675,6 +675,8 @@ def configure(conf): + conf.env['PHONE_HOME'] = True + if opts.fpu_optimization: + conf.env['FPU_OPTIMIZATION'] = True ++ else: ++ conf.env['FPU_OPTIMIZATION'] = False + if opts.nls: + conf.define('ENABLE_NLS', 1) + conf.env['ENABLE_NLS'] = True diff --git a/media-sound/ardour/files/ardour-3.5.7-syslibs.patch b/media-sound/ardour/files/ardour-3.5.7-syslibs.patch new file mode 100644 index 000000000000..2f8ab10cf3d7 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.5.7-syslibs.patch @@ -0,0 +1,36 @@ +diff -rupN a/ardour-3.5.74/libs/ardour/wscript b/ardour-3.5.74/libs/ardour/wscript +--- a/ardour-3.5.74/libs/ardour/wscript 2013-11-05 20:20:03.000000000 +0100 ++++ b/ardour-3.5.74/libs/ardour/wscript 2013-11-08 09:51:41.553000000 +0100 +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -332,7 +333,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvampplugin', + 'libaudiographer','libltc','libtimecode'] + if bld.is_defined('USE_EXTERNAL_LIBS'): +diff -rupN a/ardour-3.5.74/wscript b/ardour-3.5.74/wscript +--- a/ardour-3.5.74/wscript 2013-11-05 20:20:03.000000000 +0100 ++++ b/ardour-3.5.74/wscript 2013-11-08 09:49:27.594000000 +0100 +@@ -56,9 +56,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/backends', + 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.0-revision-naming.patch b/media-sound/ardour/files/ardour-4.0-revision-naming.patch new file mode 100644 index 000000000000..360ddc6a515c --- /dev/null +++ b/media-sound/ardour/files/ardour-4.0-revision-naming.patch @@ -0,0 +1,78 @@ +diff -rupN ardour-4.0-vanilla/wscript ardour-4.0/wscript +--- ardour-4.0-vanilla/wscript 2015-04-18 00:23:10.000000000 +0200 ++++ ardour-4.0/wscript 2015-04-20 18:26:50.849812000 +0200 +@@ -137,29 +137,29 @@ def fetch_tarball_revision (): + if not os.path.exists ('libs/ardour/revision.cc'): + print ('This tarball was not created correctly - it is missing libs/ardour/revision.cc') + sys.exit (1) +- with open('libs/ardour/revision.cc') as f: +- content = f.readlines() +- remove_punctuation_map = dict((ord(char), None) for char in '";') +- return content[1].decode('utf-8').strip().split(' ')[7].translate (remove_punctuation_map) +- +-if os.path.isdir (os.path.join(os.getcwd(), '.git')): +- rev = fetch_git_revision () +-else: +- rev = fetch_tarball_revision () ++# with open('libs/ardour/revision.cc') as f: ++# content = f.readlines() ++# remove_punctuation_map = dict((ord(char), None) for char in '";') ++# return content[1].decode('utf-8').strip().split(' ')[7].translate (remove_punctuation_map) ++ ++#if os.path.isdir (os.path.join(os.getcwd(), '.git')): ++# rev = fetch_git_revision () ++#else: ++# rev = fetch_tarball_revision () + + # + # rev is now of the form MAJOR.MINOR[-rcX]-rev-commit + # or, if right at the same rev as a release, MAJOR.MINOR[-rcX] + # + +-parts = rev.split ('.', 1) +-MAJOR = parts[0] +-other = parts[1].split('-', 1) +-MINOR = other[0] +-if len(other) > 1: +- MICRO = other[1].rsplit('-',1)[0].replace('-','.') +-else: +- MICRO = '0' ++#parts = rev.split ('.', 1) ++MAJOR = '4' ++#other = parts[1].split('-', 1) ++MINOR = '0' ++#if len(other) > 1: ++# MICRO = other[1].rsplit('-',1)[0].replace('-','.') ++#else: ++MICRO = 'gentoo' + + V = MAJOR + '.' + MINOR + '.' + MICRO + VERSION = V +@@ -216,16 +216,16 @@ def fetch_gcc_version (CC): + 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 = "4.0-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..7a22596af972 --- /dev/null +++ b/media-sound/ardour/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proaudio</herd> + <use> + <flag name="lv2">Add support for Ladspa V2</flag> + </use> + <upstream> + <remote-id type="github">Ardour/ardour</remote-id> + </upstream> +</pkgmetadata> |