if WIN32_PKG
package: all win32inst.nsi
+ cp -fu `which libHalf-4.dll` src/modules/mod_openexr/.libs/
+ cp -fu `which libIlmImf-4.dll` src/modules/mod_openexr/.libs/
+ cp -fu `which libIlmThread-4.dll` src/modules/mod_openexr/.libs/
+ cp -fu `which libIex-4.dll` src/modules/mod_openexr/.libs/
makensis win32inst.nsi
else
if MACOSX_PKG
; Put file there
File /oname=mod_openexr.dll "src\modules\mod_openexr\.libs\libmod_openexr-0.dll"
+ SetOutPath "$INSTDIR\bin"
+ File /oname=libHalf-4.dll "src\modules\mod_openexr\.libs\libHalf-4.dll"
+ File /oname=libIlmImf-4.dll "src\modules\mod_openexr\.libs\libIlmImf-4.dll"
+ File /oname=libIlmThread-4.dll "src\modules\mod_openexr\.libs\libIlmThread-4.dll"
+ File /oname=libIex-4.dll "src\modules\mod_openexr\.libs\libIex-4.dll"
FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
FileSeek $0 0 END
Section "un.mod_openexr"
+ Delete "$INSTDIR\bin\libIex-4.dll"
+ Delete "$INSTDIR\bin\libIlmImf-4.dll"
+ Delete "$INSTDIR\bin\libIlmThread-4.dll"
+ Delete "$INSTDIR\bin\libHalf-4.dll"
Delete "$INSTDIR\lib\synfig\modules\mod_openexr.dll"
RMDir "$INSTDIR\lib\synfig\modules"
RMDir "$INSTDIR\lib\synfig"
RMDir "$INSTDIR\lib"
+ RMDir "$INSTDIR\bin"
RMDir "$INSTDIR"
SectionEnd
!include "@srcdir@\src\modules\mod_gif\mod_gif.nsh"
!include "@srcdir@\src\modules\mod_imagemagick\mod_imagemagick.nsh"
!include "@srcdir@\src\modules\mod_jpeg\mod_jpeg.nsh"
+!include "@srcdir@\src\modules\mod_openexr\mod_openexr.nsh"
!include "@srcdir@\src\modules\mod_png\mod_png.nsh"
!include "@srcdir@\src\modules\mod_ppm\mod_ppm.nsh"
!include "@srcdir@\src\modules\mod_yuv420p\mod_yuv420p.nsh"
!include "@srcdir@\src\modules\mod_gif\unmod_gif.nsh"
!include "@srcdir@\src\modules\mod_imagemagick\unmod_imagemagick.nsh"
!include "@srcdir@\src\modules\mod_jpeg\unmod_jpeg.nsh"
+!include "@srcdir@\src\modules\mod_openexr\unmod_openexr.nsh"
!include "@srcdir@\src\modules\mod_png\unmod_png.nsh"
!include "@srcdir@\src\modules\mod_ppm\unmod_ppm.nsh"
!include "@srcdir@\src\modules\mod_yuv420p\unmod_yuv420p.nsh"