Lines 195-211
src_configure() {
Link Here
|
195 |
# Multiple rendering bugs on youtube, github, etc without this, bug #547224 |
195 |
# Multiple rendering bugs on youtube, github, etc without this, bug #547224 |
196 |
append-flags $(test-flags -fno-strict-aliasing) |
196 |
append-flags $(test-flags -fno-strict-aliasing) |
197 |
|
197 |
|
198 |
local ruby_interpreter="" |
198 |
local ruby ruby_interpreter |
199 |
|
199 |
|
200 |
if has_version "virtual/rubygems[ruby_targets_ruby23]"; then |
200 |
for ruby in ${RUBY_TARGETS_PREFERENCE}; do |
201 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby23)" |
201 |
if has ${ruby} ${USE_RUBY} && has_version "virtual/rubygems[ruby_targets_${ruby}]"; then |
202 |
elif has_version "virtual/rubygems[ruby_targets_ruby22]"; then |
202 |
ruby_interpreter="-DRUBY_EXECUTABLE=${ruby_path}" |
203 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby22)" |
203 |
break |
204 |
elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then |
204 |
fi |
205 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby21)" |
205 |
done |
206 |
else |
|
|
207 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby20)" |
208 |
fi |
209 |
|
206 |
|
210 |
# TODO: Check Web Audio support |
207 |
# TODO: Check Web Audio support |
211 |
# should somehow let user select between them? |
208 |
# should somehow let user select between them? |