mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* APPLICATION_NAME is now Tomahawk instead of Player. A few more build system fixes.
This commit is contained in:
@@ -6,7 +6,7 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
|
|||||||
###
|
###
|
||||||
SET( ORGANIZATION_NAME "Tomahawk" )
|
SET( ORGANIZATION_NAME "Tomahawk" )
|
||||||
SET( ORGANIZATION_DOMAIN "tomahawk-player.org" )
|
SET( ORGANIZATION_DOMAIN "tomahawk-player.org" )
|
||||||
SET( APPLICATION_NAME "Player" )
|
SET( APPLICATION_NAME "Tomahawk" )
|
||||||
SET( VERSION "0.0.1" )
|
SET( VERSION "0.0.1" )
|
||||||
|
|
||||||
|
|
||||||
@@ -18,10 +18,10 @@ SET( THIRDPARTY_DIR ${CMAKE_SOURCE_DIR}/thirdparty )
|
|||||||
IF( "${gui}" STREQUAL "no" )
|
IF( "${gui}" STREQUAL "no" )
|
||||||
ADD_DEFINITIONS( -DENABLE_HEADLESS )
|
ADD_DEFINITIONS( -DENABLE_HEADLESS )
|
||||||
MESSAGE( STATUS "Building in HEADLESS mode ***" )
|
MESSAGE( STATUS "Building in HEADLESS mode ***" )
|
||||||
FIND_PACKAGE( Qt4 4.6.0 COMPONENTS QtCore QtXml QtNetwork REQUIRED )
|
FIND_PACKAGE( Qt4 4.7.0 COMPONENTS QtCore QtXml QtNetwork REQUIRED )
|
||||||
ELSE()
|
ELSE()
|
||||||
MESSAGE( STATUS "Building full GUI version ***" )
|
MESSAGE( STATUS "Building full GUI version ***" )
|
||||||
FIND_PACKAGE( Qt4 4.6.0 COMPONENTS QtGui QtCore QtXml QtNetwork REQUIRED )
|
FIND_PACKAGE( Qt4 4.7.0 COMPONENTS QtGui QtCore QtXml QtNetwork REQUIRED )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
#deps
|
#deps
|
||||||
|
@@ -5,9 +5,9 @@
|
|||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>English</string>
|
<string>English</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>tomahawk</string>
|
<string>Tomahawk</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.tomahawk-player.org.Tomahawk</string>
|
<string>org.tomahawk-player.Tomahawk</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
|
@@ -48,8 +48,9 @@ CREATEDMG='1'
|
|||||||
header "Running install_name_tool"
|
header "Running install_name_tool"
|
||||||
$ROOT/../admin/mac/deposx.sh
|
$ROOT/../admin/mac/deposx.sh
|
||||||
|
|
||||||
header "Renaming icon & copying Info.plist"
|
header "Renaming files & copying Info.plist"
|
||||||
mv Contents/Resources/tomahawkSources.icns Contents/Resources/Tomahawk.icns
|
mv Contents/Resources/tomahawkSources.icns Contents/Resources/Tomahawk.icns
|
||||||
|
mv Contents/MacOS/tomahawk Contents/MacOS/Tomahawk
|
||||||
cp $ROOT/../admin/mac/Info.plist Contents/Info.plist
|
cp $ROOT/../admin/mac/Info.plist Contents/Info.plist
|
||||||
|
|
||||||
header "Copying Sparkle pubkey & framework, and qt.conf"
|
header "Copying Sparkle pubkey & framework, and qt.conf"
|
||||||
|
Reference in New Issue
Block a user