Incidentally, many of these would probably be more readable as oneliners with postfixed if/unless:

```ruby
formats << 'darwin' if build.with? 'darwin'
formats << 'vorbis' if build.with? 'libogg' && build.with? 'libvorbis'
# etc
```