blob: e78043a3e824725cfd186511b316b46a820b82c6 [file] [log] [blame]
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +00001#!/usr/bin/python
2# __________ __ ___.
3# Open \______ \ ____ ____ | | _\_ |__ _______ ___
4# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7# \/ \/ \/ \/ \/
8# $Id$
9#
10# Copyright (c) 2010 Dominik Riebeling
11#
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.
14#
15# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16# KIND, either express or implied.
17#
18
19import deploy
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000020
21deploy.program = "RockboxUtility"
22deploy.project = "rbutil/rbutilqt/rbutilqt.pro"
23deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
24deploy.svnpaths = \
25 [ "rbutil/",
26 "tools/ucl",
27 "tools/rbspeex",
28 "apps/codecs/libspeex",
29 "docs/COPYING",
Dominik Riebeling839f7772010-09-04 18:50:12 +000030 "docs/gpl-2.0.html",
Dominik Riebeling9b7b6532011-06-04 20:31:11 +000031 "docs/logo/rockbox-clef.svg",
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000032 "docs/CREDITS",
33 "tools/iriver.c",
34 "tools/Makefile",
35 "tools/mkboot.h",
36 "tools/voicefont.c",
37 "tools/VOICE_PAUSE.wav",
Dominik Riebelingb458d332011-10-19 21:50:01 +000038 "tools/voice-corrections.txt",
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000039 "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" ]
47deploy.useupx = False
48deploy.bundlecopy = {
49 "icons/rbutilqt.icns" : "Contents/Resources/",
50 "Info.plist" : "Contents/"
51}
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000052deploy.progexe = {
53 "win32" : "release/RockboxUtility.exe",
54 "darwin" : "RockboxUtility.app",
Dominik Riebeling80593472011-03-07 21:22:57 +000055 "linux2" : "RockboxUtility"
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000056}
Dominik Riebeling2c297762011-04-06 20:17:29 +000057deploy.regreplace = {
Dominik Riebeling6ba552c2011-05-05 17:19:00 +000058 "rbutil/rbutilqt/version.h" : [["SVN \$.*\$", "SVN r%REVISION%"],
59 ["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
60 "rbutil/rbutilqt/Info.plist" : [["SVN \$.*\$", "SVN r%REVISION%"]],
Dominik Riebeling2c297762011-04-06 20:17:29 +000061}
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000062# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
63# compatible with 10.4 requires using gcc-4.0.
64deploy.qmakespec = {
65 "win32" : "",
66 "darwin" : "macx-g++40",
Dominik Riebeling80593472011-03-07 21:22:57 +000067 "linux2" : ""
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000068}
69deploy.make = {
70 "win32" : "mingw32-make",
71 "darwin" : "make",
Dominik Riebeling80593472011-03-07 21:22:57 +000072 "linux2" : "make"
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000073}
74
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000075# 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.
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000077# progexe will get added automatically.
78deploy.programfiles = [ ]
79deploy.nsisscript = ""
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000080
81deploy.deploy()