2010-07-28 18:37:12 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010 Dominik Riebeling
|
|
|
|
#
|
|
|
|
# All files in this archive are subject to the GNU General Public License.
|
|
|
|
# See the file COPYING in the source tree root for full license agreement.
|
|
|
|
#
|
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
|
|
|
#
|
|
|
|
|
|
|
|
import deploy
|
|
|
|
|
|
|
|
deploy.program = "RockboxUtility"
|
|
|
|
deploy.project = "rbutil/rbutilqt/rbutilqt.pro"
|
|
|
|
deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
|
|
|
|
deploy.svnpaths = \
|
|
|
|
[ "rbutil/",
|
|
|
|
"tools/ucl",
|
|
|
|
"tools/rbspeex",
|
2012-01-05 10:51:57 +00:00
|
|
|
"utils/imxtools",
|
2019-11-10 06:38:36 +00:00
|
|
|
"utils/nwztools",
|
2011-06-26 01:32:25 +00:00
|
|
|
"lib/rbcodec/codecs/libspeex",
|
2010-07-28 18:37:12 +00:00
|
|
|
"docs/COPYING",
|
2010-09-04 18:50:12 +00:00
|
|
|
"docs/gpl-2.0.html",
|
2011-06-04 20:31:11 +00:00
|
|
|
"docs/logo/rockbox-clef.svg",
|
2010-07-28 18:37:12 +00:00
|
|
|
"docs/CREDITS",
|
|
|
|
"tools/iriver.c",
|
|
|
|
"tools/Makefile",
|
|
|
|
"tools/mkboot.h",
|
|
|
|
"tools/voicefont.c",
|
|
|
|
"tools/VOICE_PAUSE.wav",
|
2011-10-19 21:50:01 +00:00
|
|
|
"tools/voice-corrections.txt",
|
2010-07-28 18:37:12 +00:00
|
|
|
"tools/wavtrim.h",
|
|
|
|
"tools/iriver.h",
|
|
|
|
"tools/mkboot.c",
|
|
|
|
"tools/telechips.c",
|
|
|
|
"tools/telechips.h",
|
|
|
|
"tools/voicefont.h",
|
|
|
|
"tools/wavtrim.c",
|
|
|
|
"tools/sapi_voice.vbs" ]
|
|
|
|
deploy.useupx = False
|
|
|
|
deploy.bundlecopy = {
|
|
|
|
"icons/rbutilqt.icns" : "Contents/Resources/",
|
|
|
|
"Info.plist" : "Contents/"
|
|
|
|
}
|
2011-03-06 00:04:26 +00:00
|
|
|
deploy.progexe = {
|
|
|
|
"win32" : "release/RockboxUtility.exe",
|
|
|
|
"darwin" : "RockboxUtility.app",
|
2011-03-07 21:22:57 +00:00
|
|
|
"linux2" : "RockboxUtility"
|
2011-03-06 00:04:26 +00:00
|
|
|
}
|
2011-04-06 20:17:29 +00:00
|
|
|
deploy.regreplace = {
|
2012-03-06 20:45:54 +00:00
|
|
|
"rbutil/rbutilqt/version.h" : [["\$Rev\$", "%REVISION%"],
|
2012-03-06 21:06:40 +00:00
|
|
|
["(^#define BUILDID).*", "\\1 \"%BUILDID%\""]],
|
2012-03-06 20:45:54 +00:00
|
|
|
"rbutil/rbutilqt/Info.plist" : [["\$Rev\$", "%REVISION%"]],
|
2011-04-06 20:17:29 +00:00
|
|
|
}
|
2011-03-06 00:04:26 +00:00
|
|
|
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
|
|
|
|
# compatible with 10.4 requires using gcc-4.0.
|
|
|
|
deploy.qmakespec = {
|
|
|
|
"win32" : "",
|
|
|
|
"darwin" : "macx-g++40",
|
2011-03-07 21:22:57 +00:00
|
|
|
"linux2" : ""
|
2011-03-06 00:04:26 +00:00
|
|
|
}
|
|
|
|
deploy.make = {
|
|
|
|
"win32" : "mingw32-make",
|
|
|
|
"darwin" : "make",
|
2011-03-07 21:22:57 +00:00
|
|
|
"linux2" : "make"
|
2011-03-06 00:04:26 +00:00
|
|
|
}
|
|
|
|
|
2010-07-28 18:37:12 +00:00
|
|
|
# all files of the program. Will get put into an archive after building
|
|
|
|
# (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
|
2011-03-06 00:04:26 +00:00
|
|
|
# progexe will get added automatically.
|
|
|
|
deploy.programfiles = [ ]
|
|
|
|
deploy.nsisscript = ""
|
2010-07-28 18:37:12 +00:00
|
|
|
|
|
|
|
deploy.deploy()
|