Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 571734
Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +8 lines)
Line  Link Here
0
-- media-sound/ardour/ardour-4.6.ebuild.orig   2016-01-13 12:13:45.833062068 -0800
0
++ media-sound/ardour/ardour-4.6.ebuild        2016-01-13 12:59:09.831934383 -0800
Lines 73-78 pkg_setup() { Link Here
73
       if has_version \>=dev-libs/libsigc++-2.6 ; then
73
       if has_version \>=dev-libs/libsigc++-2.6 ; then
74
               append-cxxflags -std=c++11
74
               append-cxxflags -std=c++11
75
       fi
75
       fi
76
       python-any-r1_pkg_setup
76
}
77
}
77
78
78
src_prepare(){
79
src_prepare(){
Lines 81-87 src_prepare(){ Link Here
81
               touch "${S}/libs/ardour/revision.cc"
82
               touch "${S}/libs/ardour/revision.cc"
82
       fi
83
       fi
83
       use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
84
       use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch
84
       sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript
85
       sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
85
       MARCH=$(get-flag march)
86
       MARCH=$(get-flag march)
86
       if use cpu_flags_x86_sse; then
87
       if use cpu_flags_x86_sse; then
87
               if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
88
               if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
Lines 99-108 src_prepare(){ Link Here
99
       if use cpu_flags_x86_3dnow; then
100
       if use cpu_flags_x86_3dnow; then
100
               OPTFLAGS="${OPTFLAGS} 3dnow"
101
               OPTFLAGS="${OPTFLAGS} 3dnow"
101
       fi
102
       fi
102
       sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '${OPTFLAGS}' just some place holders\"/' \
103
       sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
103
               -i "${S}"/wscript
104
               -i "${S}"/wscript || die
104
       sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript
105
       sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
105
       append-flags "-lboost_system"
106
       append-flags "-lboost_system"
107
       python_fix_shebang "${S}"/wscript
108
       python_fix_shebang "${S}"/waf
106
}
109
}
107
110
108
src_configure() {
111
src_configure() {

Return to bug 571734