Lines 196-213
src_configure() {
Link Here
|
196 |
# Multiple rendering bugs on youtube, github, etc without this, bug #547224 |
196 |
# Multiple rendering bugs on youtube, github, etc without this, bug #547224 |
197 |
append-flags $(test-flags -fno-strict-aliasing) |
197 |
append-flags $(test-flags -fno-strict-aliasing) |
198 |
|
198 |
|
199 |
local ruby_interpreter="" |
|
|
200 |
|
201 |
if has_version "virtual/rubygems[ruby_targets_ruby24]"; then |
202 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby24)" |
203 |
elif has_version "virtual/rubygems[ruby_targets_ruby23]"; then |
204 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby23)" |
205 |
elif has_version "virtual/rubygems[ruby_targets_ruby22]"; then |
206 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby22)" |
207 |
else |
208 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby21)" |
209 |
fi |
210 |
|
211 |
# TODO: Check Web Audio support |
199 |
# TODO: Check Web Audio support |
212 |
# should somehow let user select between them? |
200 |
# should somehow let user select between them? |
213 |
# |
201 |
# |
Lines 254-260
src_configure() {
Link Here
|
254 |
-DENABLE_ACCELERATED_2D_CANVAS=${canvas_enabled} |
242 |
-DENABLE_ACCELERATED_2D_CANVAS=${canvas_enabled} |
255 |
-DCMAKE_BUILD_TYPE=Release |
243 |
-DCMAKE_BUILD_TYPE=Release |
256 |
-DPORT=GTK |
244 |
-DPORT=GTK |
257 |
${ruby_interpreter} |
245 |
-DRUBY_EXECUTABLE="$(ruby_single_implementation_command)" |
258 |
) |
246 |
) |
259 |
|
247 |
|
260 |
# Allow it to use GOLD when possible as it has all the magic to |
248 |
# Allow it to use GOLD when possible as it has all the magic to |