summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2016-12-05 11:03:34 +0100
committerAndreas Schuerch <nativemad@gentoo.org>2016-12-05 11:04:53 +0100
commit51b9275bd7d5affbd79848efe2a3dafb6707cae3 (patch)
tree231aafc7301901baa6cd697b5b5a5a93e1de7bd0 /media-sound/ardour/ardour-9999.ebuild
parentdev-cpp/libxmlpp: Version bump (diff)
downloadgentoo-51b9275bd7d5affbd79848efe2a3dafb6707cae3.tar.gz
gentoo-51b9275bd7d5affbd79848efe2a3dafb6707cae3.tar.bz2
gentoo-51b9275bd7d5affbd79848efe2a3dafb6707cae3.zip
media-sound/ardour: bump to 5.5, eapi upgrade, lvm2 now mandatory
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-sound/ardour/ardour-9999.ebuild')
-rw-r--r--media-sound/ardour/ardour-9999.ebuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild
index 233e102c3567..66fea7c7dda1 100644
--- a/media-sound/ardour/ardour-9999.ebuild
+++ b/media-sound/ardour/ardour-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='threads(+)'
#EPYTHON='python2.7'
@@ -16,13 +16,13 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
- SRC_URI="http://fossies.org/linux/misc/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
+ 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 lv2 cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
RDEPEND="
>=dev-cpp/glibmm-2.32.0
@@ -56,14 +56,12 @@ RDEPEND="
>=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
- )"
+ >=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}
@@ -80,11 +78,11 @@ pkg_setup() {
}
src_prepare(){
+ eapply_user
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=""
@@ -121,8 +119,8 @@ src_configure() {
--configdir=/etc \
--nls \
--optimize \
+ --lv2 \
$(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")
}