|
|
installed('cdparanoia') ? puts("cdparanoia found...") : puts("cdparanoia NOT found") | installed('cdparanoia') ? puts("cdparanoia found...") : puts("cdparanoia NOT found") |
| |
puts "\nChecking the OPTIONAL dependencies..." | puts "\nChecking the OPTIONAL dependencies..." |
|
|
puts "Testing support for the graphical frontend..." |
#Removed to due load problem when not emerging in a X server |
begin |
# puts "Testing support for the graphical frontend..." |
require 'gtk2' |
# begin |
puts "ruby-gtk2 bindings found" |
# require 'gtk2' |
rescue LoadError |
# puts "ruby-gtk2 bindings found" |
puts "ruby-gtk2 is not found. The graphical frontend won't work!" |
# rescue LoadError |
end |
# puts "ruby-gtk2 is not found. The graphical frontend won't work!" |
|
# end |
| |
puts "\nTesting support for freedb metadata fetching..." | puts "\nTesting support for freedb metadata fetching..." |
(installed('cd-discid') || installed('discid')) ? puts("cd-discid or discid found...") : puts("Neither cd-discid or discid could be found.") | (installed('cd-discid') || installed('discid')) ? puts("cd-discid or discid found...") : puts("Neither cd-discid or discid could be found.") |