Rockbox Utility now requires voice-corrections.txt.
[maemo-rb.git] / utils / common / deploy-rbutil.py
blobe78043a3e824725cfd186511b316b46a820b82c6
1 #!/usr/bin/python
2 # __________ __ ___.
3 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 # \/ \/ \/ \/ \/
8 # $Id$
10 # Copyright (c) 2010 Dominik Riebeling
12 # All files in this archive are subject to the GNU General Public License.
13 # See the file COPYING in the source tree root for full license agreement.
15 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 # KIND, either express or implied.
19 import deploy
21 deploy.program = "RockboxUtility"
22 deploy.project = "rbutil/rbutilqt/rbutilqt.pro"
23 deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
24 deploy.svnpaths = \
25 [ "rbutil/",
26 "tools/ucl",
27 "tools/rbspeex",
28 "apps/codecs/libspeex",
29 "docs/COPYING",
30 "docs/gpl-2.0.html",
31 "docs/logo/rockbox-clef.svg",
32 "docs/CREDITS",
33 "tools/iriver.c",
34 "tools/Makefile",
35 "tools/mkboot.h",
36 "tools/voicefont.c",
37 "tools/VOICE_PAUSE.wav",
38 "tools/voice-corrections.txt",
39 "tools/wavtrim.h",
40 "tools/iriver.h",
41 "tools/mkboot.c",
42 "tools/telechips.c",
43 "tools/telechips.h",
44 "tools/voicefont.h",
45 "tools/wavtrim.c",
46 "tools/sapi_voice.vbs" ]
47 deploy.useupx = False
48 deploy.bundlecopy = {
49 "icons/rbutilqt.icns" : "Contents/Resources/",
50 "Info.plist" : "Contents/"
52 deploy.progexe = {
53 "win32" : "release/RockboxUtility.exe",
54 "darwin" : "RockboxUtility.app",
55 "linux2" : "RockboxUtility"
57 deploy.regreplace = {
58 "rbutil/rbutilqt/version.h" : [["SVN \$.*\$", "SVN r%REVISION%"],
59 ["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
60 "rbutil/rbutilqt/Info.plist" : [["SVN \$.*\$", "SVN r%REVISION%"]],
62 # OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
63 # compatible with 10.4 requires using gcc-4.0.
64 deploy.qmakespec = {
65 "win32" : "",
66 "darwin" : "macx-g++40",
67 "linux2" : ""
69 deploy.make = {
70 "win32" : "mingw32-make",
71 "darwin" : "make",
72 "linux2" : "make"
75 # all files of the program. Will get put into an archive after building
76 # (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
77 # progexe will get added automatically.
78 deploy.programfiles = [ ]
79 deploy.nsisscript = ""
81 deploy.deploy()