mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Update and simplify tomahawk.nsi
This commit is contained in:
@@ -17,6 +17,9 @@ SET( TOMAHAWK_VERSION "0.1.0" )
|
|||||||
# set paths
|
# set paths
|
||||||
SET( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/CMakeModules" )
|
SET( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/CMakeModules" )
|
||||||
SET( THIRDPARTY_DIR ${CMAKE_SOURCE_DIR}/thirdparty )
|
SET( THIRDPARTY_DIR ${CMAKE_SOURCE_DIR}/thirdparty )
|
||||||
|
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||||
|
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||||
|
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||||
|
|
||||||
# Check if we need qtgui:
|
# Check if we need qtgui:
|
||||||
IF( "${gui}" STREQUAL "no" )
|
IF( "${gui}" STREQUAL "no" )
|
||||||
|
@@ -33,9 +33,11 @@
|
|||||||
!delfile revision.txt
|
!delfile revision.txt
|
||||||
!appendfile revision.txt ${REVISION}
|
!appendfile revision.txt ${REVISION}
|
||||||
|
|
||||||
!define VER_MAJOR "0"
|
!ifndef VER_MAJOR && VER_MINOR && VER_BUILD
|
||||||
!define VER_MINOR "0"
|
!define VER_MAJOR "0"
|
||||||
!define VER_BUILD "3"
|
!define VER_MINOR "1"
|
||||||
|
!define VER_BUILD "0"
|
||||||
|
!endif
|
||||||
|
|
||||||
!define VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}"
|
!define VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}"
|
||||||
|
|
||||||
@@ -273,7 +275,6 @@ Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
|
|||||||
|
|
||||||
File "${INSTALL_PATH}\lib\libqxtweb-standalone.dll"
|
File "${INSTALL_PATH}\lib\libqxtweb-standalone.dll"
|
||||||
File "${INSTALL_PATH}\lib\libtomahawk_jdns.dll"
|
File "${INSTALL_PATH}\lib\libtomahawk_jdns.dll"
|
||||||
File "${INSTALL_PATH}\lib\libtomahawk_qtweetlib.dll"
|
|
||||||
File "${INSTALL_PATH}\lib\libtomahawk_lastfm2.dll"
|
File "${INSTALL_PATH}\lib\libtomahawk_lastfm2.dll"
|
||||||
File "${INSTALL_PATH}\lib\libtomahawklib.dll"
|
File "${INSTALL_PATH}\lib\libtomahawklib.dll"
|
||||||
File "${INSTALL_PATH}\lib\libtomahawk_sipjabber.dll"
|
File "${INSTALL_PATH}\lib\libtomahawk_sipjabber.dll"
|
||||||
@@ -283,11 +284,12 @@ Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
|
|||||||
!ifndef INSTALL_PATH
|
!ifndef INSTALL_PATH
|
||||||
;Main executable.
|
;Main executable.
|
||||||
File "${BUILD_PATH}\tomahawk.exe"
|
File "${BUILD_PATH}\tomahawk.exe"
|
||||||
File "${BUILD_PATH}\thirdparty\qxt\qxtweb-standalone\libqxtweb-standalone.dll"
|
|
||||||
File "${BUILD_PATH}\thirdparty\jdns\libtomahawk_jdns.dll"
|
File "${BUILD_PATH}\libtomahawklib.dll"
|
||||||
File "${BUILD_PATH}\thirdparty\qtweetlib\libtomahawk_qtweetlib.dll"
|
File "${BUILD_PATH}\libqxtweb-standalone.dll"
|
||||||
File "${BUILD_PATH}\thirdparty\liblastfm2\src\libtomahawk_lastfm2.dll"
|
File "${BUILD_PATH}\libtomahawk_jdns.dll"
|
||||||
File "${BUILD_PATH}\src\libtomahawk\libtomahawklib.dll"
|
File "${BUILD_PATH}\libtomahawk_portfwd.dll"
|
||||||
|
File "${BUILD_PATH}\libtomahawk_lastfm2.dll"
|
||||||
File "${BUILD_PATH}\libtomahawk_sipjabber.dll"
|
File "${BUILD_PATH}\libtomahawk_sipjabber.dll"
|
||||||
File "${BUILD_PATH}\libtomahawk_siptwitter.dll"
|
File "${BUILD_PATH}\libtomahawk_siptwitter.dll"
|
||||||
File "${BUILD_PATH}\libtomahawk_sipzeroconf.dll"
|
File "${BUILD_PATH}\libtomahawk_sipzeroconf.dll"
|
||||||
@@ -340,6 +342,9 @@ Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
|
|||||||
|
|
||||||
File "${MING_DLL_PATH}\libechonest.dll"
|
File "${MING_DLL_PATH}\libechonest.dll"
|
||||||
File "${MING_DLL_PATH}\liblastfm.dll"
|
File "${MING_DLL_PATH}\liblastfm.dll"
|
||||||
|
File "${MING_BIN}\libQTweetLib.dll"
|
||||||
|
File "${MING_BIN}\libjreen.dll"
|
||||||
|
File "${MING_BIN}\libqca.dll"
|
||||||
|
|
||||||
File "${MING_LIB}\libclucene-core.dll"
|
File "${MING_LIB}\libclucene-core.dll"
|
||||||
File "${MING_LIB}\libclucene-shared.dll"
|
File "${MING_LIB}\libclucene-shared.dll"
|
||||||
|
Reference in New Issue
Block a user