xbmc/xbmc — pull request #1881 by Montellese (2012-12-02 18:35:23+00:00)
Title: [win32] build xbmc-pvr-addons with BuildSetup.bat

These changes and especially the additional batch script allow to build the pvr addons through win32's BuildSetup.bat. BuildSetup.bat calls buildpvraddons.bat which first clones the git repo from @opdenkamp, then runs the DownloadBuildDeps.bat for the pvr addons and then builds the Visual Studio solution. After that it copies the built files into project/Win32BuildSetup/BUILD_WIN32/Xbmc/xbmc-pvr-addons. The script to build the languages.nsi script for the installer has been extended to also list all the PVR addons during the installation so the user can choose which PVR addons to install and which not. That's also why buildpvraddons.bat does not simply copy the build PVR addons into the Xbmc/addons directory.

Because of my lack of knowledge about PVR I made a few assumptions:
* It's enough to call DownloadBuildDeps.bat and then build the VS solution to get the PVR addons built properly.
* I exclude the generated *_win32.exp/.lib/.pdb and the addon.xml.in from being copied into the installer as they shouldn't be needed.
* I exclude the pvr.demo addon from being copied into the installer (maybe I could allow it to be installed but set the default to not install it if that's better)

The PVR addons add 3 MB to the size of the installer exe.

PS: I have only tested this locally so might be nice to make a test run on billy.