nativemad 14/10/24 19:14:34 Modified: ChangeLog ardour-9999.ebuild Log: update 9999 to 3.5.403 again (Portage version: 2.2.8-r2/cvs/Linux i686, signed Manifest commit with key C1DE54B2)
Revision Changes Path 1.135 media-sound/ardour/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/ChangeLog?rev=1.135&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/ChangeLog?rev=1.135&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/ChangeLog?r1=1.134&r2=1.135 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v retrieving revision 1.134 retrieving revision 1.135 diff -u -r1.134 -r1.135 --- ChangeLog 24 Oct 2014 19:07:19 -0000 1.134 +++ ChangeLog 24 Oct 2014 19:14:34 -0000 1.135 @@ -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 <[email protected]> ardour-9999.ebuild: + update 9999 to 3.5.403 again 24 Oct 2014; Andreas Schuerch <[email protected]> ardour-3.5.403.ebuild, +files/ardour-3.5.403-sse.patch: 1.11 media-sound/ardour/ardour-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/ardour-9999.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/ardour-9999.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/ardour/ardour-9999.ebuild?r1=1.10&r2=1.11 Index: ardour-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-9999.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ardour-9999.ebuild 23 Oct 2014 18:13:02 -0000 1.10 +++ ardour-9999.ebuild 24 Oct 2014 19:14:34 -0000 1.11 @@ -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="${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 @@ 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" }
