Merge pull request #1 from wsnipex/master

fix build and debian packaging
fix cmake version macro
use xbmc macros
[packaging] add debug package, copyright and use lto
Merge pull request #2 from wsnipex/macros

[packaging] add debug package, copyright and use lto
adjust to new macros
fix lib names in addon.xml