diff options
author | montellese <montellese@xbmc.org> | 2014-11-06 22:09:22 +0100 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2015-09-04 09:46:52 +0200 |
commit | 43dbe2509b3621cd5a6feebcff8488a7959d70ca (patch) | |
tree | f67550be3cb6b9d8d04cf9de4169a2e9868668ec /project/Win32BuildSetup | |
parent | 8585408ffa957e82c9ce8b0314d0f50f2c41e445 (diff) |
[win32] update build scripts to handle visualization addons
Diffstat (limited to 'project/Win32BuildSetup')
-rw-r--r-- | project/Win32BuildSetup/genNsisIncludes.bat | 16 | ||||
-rw-r--r-- | project/Win32BuildSetup/genNsisInstaller.nsi | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/project/Win32BuildSetup/genNsisIncludes.bat b/project/Win32BuildSetup/genNsisIncludes.bat index 985fd32041..ef01b27a23 100644 --- a/project/Win32BuildSetup/genNsisIncludes.bat +++ b/project/Win32BuildSetup/genNsisIncludes.bat @@ -76,6 +76,22 @@ IF EXIST BUILD_WIN32\addons\adsp.* ( ) SET Counter=1 +IF EXIST BUILD_WIN32\addons\visualization.* ( + ECHO SectionGroup "Music Visualization Add-ons" SecVisualizationAddons >> visualization-addons.nsi + FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\addons\visualization.*') DO ( + SET "output=%%P" + SET output=!output:visualization.=! + ECHO Section "!output!" SecVisualizationAddons!Counter! >> visualization-addons.nsi + ECHO SectionIn 1 2 3 #section is in installtype Full >> visualization-addons.nsi + ECHO SetOutPath "$INSTDIR\addons\%%P" >> visualization-addons.nsi + ECHO File /r "${app_root}\addons\%%P\*.*" >> visualization-addons.nsi + ECHO SectionEnd >> visualization-addons.nsi + SET /A Counter = !Counter! + 1 + ) + ECHO SectionGroupEnd >> visualization-addons.nsi +) + +SET Counter=1 IF EXIST BUILD_WIN32\addons\skin.* ( ECHO SectionGroup "Skin Add-ons" SecSkinAddons >> skin-addons.nsi FOR /F "tokens=*" %%P IN ('dir /B /AD BUILD_WIN32\addons\skin.*') DO ( diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index 50289c6ea1..5603a47851 100644 --- a/project/Win32BuildSetup/genNsisInstaller.nsi +++ b/project/Win32BuildSetup/genNsisInstaller.nsi @@ -283,6 +283,7 @@ SectionEnd !include /nonfatal "audiodsp-addons.nsi" !include /nonfatal "pvr-addons.nsi" !include /nonfatal "skin-addons.nsi" +!include /nonfatal "visualization-addons.nsi" ;-------------------------------- ;Descriptions |