diff options
author | Andreas Schuerch <nativemad@gentoo.org> | 2014-10-24 19:14:34 +0000 |
---|---|---|
committer | Andreas Schuerch <nativemad@gentoo.org> | 2014-10-24 19:14:34 +0000 |
commit | 0c24e60d80e1c1453cf9e0d17e2ce267df7215fe (patch) | |
tree | 37c54cde842ec185f5a1e9ac330f59cfb7a789e3 /media-sound | |
parent | New package, ebuild by Yuri Karaban and Kent Fredric (diff) | |
download | gentoo-2-0c24e60d80e1c1453cf9e0d17e2ce267df7215fe.tar.gz gentoo-2-0c24e60d80e1c1453cf9e0d17e2ce267df7215fe.tar.bz2 gentoo-2-0c24e60d80e1c1453cf9e0d17e2ce267df7215fe.zip |
update 9999 to 3.5.403 again
(Portage version: 2.2.8-r2/cvs/Linux i686, signed Manifest commit with key C1DE54B2)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ardour/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/ardour/ardour-9999.ebuild | 25 |
2 files changed, 18 insertions, 12 deletions
diff --git a/media-sound/ardour/ChangeLog b/media-sound/ardour/ChangeLog index 8dc5299a5410..5fb0ebff2637 100644 --- a/media-sound/ardour/ChangeLog +++ b/media-sound/ardour/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/ardour # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.134 2014/10/24 19:07:19 nativemad Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.135 2014/10/24 19:14:34 nativemad Exp $ + + 24 Oct 2014; Andreas Schuerch <nativemad@gentoo.org> ardour-9999.ebuild: + update 9999 to 3.5.403 again 24 Oct 2014; Andreas Schuerch <nativemad@gentoo.org> ardour-3.5.403.ebuild, +files/ardour-3.5.403-sse.patch: diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild index a38e74c3a960..6f7c9e538994 100644 --- a/media-sound/ardour/ardour-9999.ebuild +++ b/media-sound/ardour/ardour-9999.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-9999.ebuild,v 1.10 2014/10/23 18:13:02 nativemad Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-9999.ebuild,v 1.11 2014/10/24 19:14:34 nativemad Exp $ -EAPI=4 +EAPI=5 inherit eutils toolchain-funcs flag-o-matic waf-utils DESCRIPTION="Digital Audio Workstation" @@ -68,13 +68,6 @@ DEPEND="${RDEPEND} DEPEND="${DEPEND}" fi -pkg_pretend() { - MARCH=$(get-flag march) - if ! gcc -march=${MARCH} -Q --help=target | grep "msse" | grep "enabled" >/dev/null; then - die "Ardour fails to build with an march that is not sse capable!" - fi -} - src_unpack() { if [ ${PV} = 9999 ]; then git-2_src_unpack @@ -83,17 +76,27 @@ src_unpack() { fi } +pkg_pretend() { + if use sse; then + MARCH=$(get-flag march) + for ARCHWOSSE in i686 i486; do + if [[ ${MARCH} = ${ARCHWOSSE} ]]; then + is-flag -msse || is-flag -msse2 || die "Ardour fails to build with USE=sse and an march that is not sse capable, unless the -msse or -msse2 cflag are set also!" + fi + done + 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/python/python2/' -i waf -# sed 's/'FLAGS\'\,\ optimization_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript sed 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ \'\''/g' -i "${S}"/wscript append-flags "-lboost_system" } |