From edd9dd5af94aaadfd71eaf2ce832b6bbfc7a82d3 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Wed, 21 Apr 2010 18:30:03 +0000 Subject: [PATCH] Update the nullsoft installer script with new gstreamer plugins --- dist/windows/clementine.nsi | 132 ++++++++++++++++++++++++++++++------ 1 file changed, 113 insertions(+), 19 deletions(-) diff --git a/dist/windows/clementine.nsi b/dist/windows/clementine.nsi index 56ab0bbaf..3da4d4399 100644 --- a/dist/windows/clementine.nsi +++ b/dist/windows/clementine.nsi @@ -2,7 +2,7 @@ !define PRODUCT_PUBLISHER "Clementine" !define PRODUCT_VERSION_MAJOR 0 !define PRODUCT_VERSION_MINOR 2 -!define PRODUCT_DISPLAY_VERSION "0.2" +!define PRODUCT_DISPLAY_VERSION "0.3-beta2" !define PRODUCT_WEB_SITE "http://code.google.com/p/clementine-player/" !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" !define PRODUCT_UNINST_ROOT_KEY "HKLM" @@ -44,24 +44,71 @@ Section "Clementine" Clementine File "/oname=clementine.exe" "clementine.exe" File "/oname=clementine.ico" "clementine.ico" File "/oname=lastfm.lib" "lastfm.lib" - File "/oname=libgcc_s_dw2-1.dll" "libgcc_s_dw2-1.dll" - File "/oname=libgcc_s_sjlj-1.dll" "libgcc_s_sjlj-1.dll" - File "/oname=libtag.dll" "libtag.dll" - File "/oname=mingwm10.dll" "mingwm10.dll" - File "/oname=phonon4.dll" "phonon4.dll" - File "/oname=QtCore4.dll" "QtCore4.dll" - File "/oname=QtGui4.dll" "QtGui4.dll" - File "/oname=QtNetwork4.dll" "QtNetwork4.dll" - File "/oname=QtSql4.dll" "QtSql4.dll" - File "/oname=QtXml4.dll" "QtXml4.dll" - File "/oname=zlib1.dll" "zlib1.dll" + File "iconv.dll" + File "libgcc_s_dw2-1.dll" + File "libgcc_s_sjlj-1.dll" + File "libgio-2.0-0.dll" + File "libglib-2.0-0.dll" + File "libgmodule-2.0-0.dll" + File "libgobject-2.0-0.dll" + File "libgstaudio-0.10.dll" + File "libgstbase-0.10.dll" + File "libgstcontroller-0.10.dll" + File "libgstdshow-0.10.dll" + File "libgstinterfaces-0.10.dll" + File "libgstnet-0.10.dll" + File "libgstpbutils-0.10.dll" + File "libgstreamer-0.10.dll" + File "libgstriff-0.10.dll" + File "libgstrtp-0.10.dll" + File "libgstrtsp-0.10.dll" + File "libgstsdp-0.10.dll" + File "libgsttag-0.10.dll" + File "libgthread-2.0-0.dll" + File "libmp3lame-0.dll" + File "libogg-0.dll" + File "liboil-0.3-0.dll" + File "libopenjpeg-2.dll" + File "libschroedinger-1.0-0.dll" + File "libsoup-2.4-1.dll" + File "libspeex-1.dll" + File "libtag.dll" + File "libtheoradec-1.dll" + File "libtheoraenc-1.dll" + File "libvorbis-0.dll" + File "libvorbisenc-2.dll" + File "libxml2-2.dll" + File "libxml2.dll" + File "mingwm10.dll" + File "QtCore4.dll" + File "QtGui4.dll" + File "QtNetwork4.dll" + File "QtSql4.dll" + File "QtXml4.dll" + File "xvidcore.dll" + File "zlib1.dll" SectionEnd -Section "Phonon Backends" phonon_backend - SetOutPath "$INSTDIR\phonon_backend" +Section "Gstreamer plugins" gstreamer-plugins + SetOutPath "$INSTDIR\gstreamer-plugins" SetOverwrite ifnewer - File "/oname=phonon_ds94.dll" "phonon_backend\phonon_ds94.dll" + File "/oname=libgstasfdemux.dll" "gstreamer-plugins\libgstasfdemux.dll" + File "/oname=libgstaudioconvert.dll" "gstreamer-plugins\libgstaudioconvert.dll" + File "/oname=libgstaudioresample.dll" "gstreamer-plugins\libgstaudioresample.dll" + File "/oname=libgstautodetect.dll" "gstreamer-plugins\libgstautodetect.dll" + File "/oname=libgstcoreelements.dll" "gstreamer-plugins\libgstcoreelements.dll" + File "/oname=libgstdecodebin.dll" "gstreamer-plugins\libgstdecodebin.dll" + File "/oname=libgstdirectsound.dll" "gstreamer-plugins\libgstdirectsound.dll" + File "/oname=libgstffmpeggpl.dll" "gstreamer-plugins\libgstffmpeggpl.dll" + File "/oname=libgstgio.dll" "gstreamer-plugins\libgstgio.dll" + File "/oname=libgstid3demux.dll" "gstreamer-plugins\libgstid3demux.dll" + File "/oname=libgstogg.dll" "gstreamer-plugins\libgstogg.dll" + File "/oname=libgstspeex.dll" "gstreamer-plugins\libgstspeex.dll" + File "/oname=libgsttypefindfunctions.dll" "gstreamer-plugins\libgsttypefindfunctions.dll" + File "/oname=libgstvolume.dll" "gstreamer-plugins\libgstvolume.dll" + File "/oname=libgstvorbis.dll" "gstreamer-plugins\libgstvorbis.dll" + File "/oname=libgstwavparse.dll" "gstreamer-plugins\libgstwavparse.dll" SectionEnd Section "Start menu items" startmenu @@ -89,22 +136,69 @@ Section "Uninstall" ; Delete all the files Delete "$INSTDIR\clementine.ico" Delete "$INSTDIR\clementine.exe" - Delete "$INSTDIR\lastfm.lib" + Delete "$INSTDIR\iconv.dll" Delete "$INSTDIR\libgcc_s_dw2-1.dll" Delete "$INSTDIR\libgcc_s_sjlj-1.dll" + Delete "$INSTDIR\libgio-2.0-0.dll" + Delete "$INSTDIR\libglib-2.0-0.dll" + Delete "$INSTDIR\libgmodule-2.0-0.dll" + Delete "$INSTDIR\libgobject-2.0-0.dll" + Delete "$INSTDIR\libgstaudio-0.10.dll" + Delete "$INSTDIR\libgstbase-0.10.dll" + Delete "$INSTDIR\libgstcontroller-0.10.dll" + Delete "$INSTDIR\libgstdshow-0.10.dll" + Delete "$INSTDIR\libgstinterfaces-0.10.dll" + Delete "$INSTDIR\libgstnet-0.10.dll" + Delete "$INSTDIR\libgstpbutils-0.10.dll" + Delete "$INSTDIR\libgstreamer-0.10.dll" + Delete "$INSTDIR\libgstriff-0.10.dll" + Delete "$INSTDIR\libgstrtp-0.10.dll" + Delete "$INSTDIR\libgstrtsp-0.10.dll" + Delete "$INSTDIR\libgstsdp-0.10.dll" + Delete "$INSTDIR\libgsttag-0.10.dll" + Delete "$INSTDIR\libgthread-2.0-0.dll" + Delete "$INSTDIR\libmp3lame-0.dll" + Delete "$INSTDIR\libogg-0.dll" + Delete "$INSTDIR\liboil-0.3-0.dll" + Delete "$INSTDIR\libopenjpeg-2.dll" + Delete "$INSTDIR\libschroedinger-1.0-0.dll" + Delete "$INSTDIR\libsoup-2.4-1.dll" + Delete "$INSTDIR\libspeex-1.dll" Delete "$INSTDIR\libtag.dll" + Delete "$INSTDIR\libtheoradec-1.dll" + Delete "$INSTDIR\libtheoraenc-1.dll" + Delete "$INSTDIR\libvorbis-0.dll" + Delete "$INSTDIR\libvorbisenc-2.dll" + Delete "$INSTDIR\libxml2-2.dll" + Delete "$INSTDIR\libxml2.dll" Delete "$INSTDIR\mingwm10.dll" - Delete "$INSTDIR\phonon4.dll" Delete "$INSTDIR\QtCore4.dll" Delete "$INSTDIR\QtGui4.dll" Delete "$INSTDIR\QtNetwork4.dll" Delete "$INSTDIR\QtSql4.dll" Delete "$INSTDIR\QtXml4.dll" + Delete "$INSTDIR\xvidcore.dll" Delete "$INSTDIR\zlib1.dll" - Delete "$INSTDIR\phonon_backend\phonon_ds94.dll" + + Delete "$INSTDIR\gstreamer-plugins\libgstasfdemux.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstaudioconvert.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstaudioresample.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstautodetect.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstcoreelements.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstdecodebin.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstdirectsound.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstffmpeggpl.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstgio.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstid3demux.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstogg.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstspeex.dll" + Delete "$INSTDIR\gstreamer-plugins\libgsttypefindfunctions.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstvolume.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstvorbis.dll" + Delete "$INSTDIR\gstreamer-plugins\libgstwavparse.dll" ; Remove the installation folder. - RMDir "$INSTDIR\phonon_backend" + RMDir "$INSTDIR\gstreamer-plugins" RMDir "$INSTDIR" ; Remove the Shortcuts