Commits
Joshua Root authored 774913e39dc
26 26 | universal_variant no |
27 27 | |
28 28 | use_bzip2 yes |
29 29 | |
30 30 | master_sites macports:ardour2 |
31 31 | |
32 32 | checksums md5 054640c746e806be81857754fc72c02e \ |
33 33 | sha1 ac3c589b2355211b8ea12f1fba656e66b3007bb4 \ |
34 34 | rmd160 6dcb714f8e0a7d4fba497f96918a61fb67318bc7 |
35 35 | |
36 - | depends_build port:gcc43 \ |
37 - | port:pkgconfig \ |
36 + | depends_build port:pkgconfig \ |
38 37 | port:scons |
39 38 | |
40 39 | depends_lib port:jack \ |
41 40 | port:gtk2 \ |
42 41 | port:libgnomecanvas \ |
43 42 | port:liblrdf \ |
44 43 | port:boost \ |
45 44 | port:fftw-3 \ |
46 45 | port:fftw-3-single \ |
47 46 | port:libusb-compat \ |
52 51 | patch-libs-pbd-mountpoint.cc.diff \ |
53 52 | patch-libs-pbd-pathscanner.cc.diff \ |
54 53 | patch-gtk2_ardour-SConscript.diff \ |
55 54 | patch-gtk2_ardour-nag.cc.diff |
56 55 | |
57 56 | post-patch { |
58 57 | reinplace "s%@MP_PREFIX@%${prefix}%g" ${worksrcpath}/SConstruct |
59 58 | reinplace "s%@MP_CPP@%${configure.cpp}%g" ${worksrcpath}/gtk2_ardour/SConscript |
60 59 | } |
61 60 | |
62 - | configure.compiler macports-gcc-4.3 |
63 61 | use_configure no |
64 62 | |
65 63 | build.cmd scons |
66 64 | build.target |
67 65 | build.args PREFIX=${prefix} VST=0 AUBIO=1 FREESOUND=1 LV2=0 |
68 - | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
69 66 | |
70 67 | destroot.cmd scons |
71 - | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
72 68 | |
73 69 | # Fix gettext bug on Leopard (and later?); see #19886 |
74 70 | destroot.env-append VERSION_CONTROL=off |
75 71 | |
76 72 | variant lv2 description {Add support for LV2 plugins (currently broken)} { |
77 73 | build.args-delete LV2=0 |
78 74 | build.args-append LV2=1 |
79 75 | depends_lib-append port:slv2 |
80 76 | } |
81 77 | |
78 + | variant gcc43 conflicts gcc44 description {build with gcc 4.3} { |
79 + | depends_build-append port:gcc43 |
80 + | configure.compiler macports-gcc-4.3 |
81 + | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
82 + | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
83 + | } |
84 + | |
85 + | variant gcc44 conflicts gcc43 description {build with gcc 4.4} { |
86 + | depends_build-append port:gcc44 |
87 + | configure.compiler macports-gcc-4.4 |
88 + | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
89 + | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
90 + | } |
91 + | |
92 + | if {![variant_isset gcc43]} { |
93 + | default_variants +gcc44 |
94 + | } |
95 + | |
82 96 | livecheck.type regex |
83 97 | livecheck.url ${homepage} |
84 98 | livecheck.regex "current release: ardour (\\d+(?:\\.\\d+)*)" |