blob: 8b66e5aef4225d18a82c147f08de36219a9bc84f [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
Dominik Riebeling05e5fbf2010-07-28 18:46:20 +000021deploy.program = "rbthemeeditor"
22deploy.project = "utils/themeeditor/themeeditor.pro"
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000023deploy.svnserver = "svn://svn.rockbox.org/rockbox/"
24deploy.svnpaths = \
Dominik Riebeling05e5fbf2010-07-28 18:46:20 +000025 [ "utils/themeeditor/",
Dominik Riebeling93c81dc2010-08-08 20:56:58 +000026 "lib/skin_parser/",
27 "docs/COPYING" ]
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000028deploy.useupx = False
29deploy.bundlecopy = {
Dominik Riebeling05e5fbf2010-07-28 18:46:20 +000030 "resources/windowicon.icns" : "Contents/Resources/",
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000031 "Info.plist" : "Contents/"
32}
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000033deploy.progexe = {
34 "win32" : "release/rbthemeeditor.exe",
35 "darwin" : "rbthemeeditor.app",
Dominik Riebeling80593472011-03-07 21:22:57 +000036 "linux2" : "rbthemeeditor"
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000037}
Dominik Riebeling2c297762011-04-06 20:17:29 +000038deploy.regreplace = {}
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000039# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
40# compatible with 10.4 requires using gcc-4.0.
41deploy.qmakespec = {
42 "win32" : "",
43 "darwin" : "macx-g++40",
Dominik Riebeling80593472011-03-07 21:22:57 +000044 "linux2" : ""
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000045}
46deploy.make = {
47 "win32" : "mingw32-make",
48 "darwin" : "make",
Dominik Riebeling80593472011-03-07 21:22:57 +000049 "linux2" : "make"
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000050}
51
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000052# all files of the program. Will get put into an archive after building
53# (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
Dominik Riebeling43a40ca2011-03-06 00:04:26 +000054# progexe will get added automatically.
55deploy.programfiles = [ ]
Dominik Riebeling93c81dc2010-08-08 20:56:58 +000056deploy.nsisscript = "utils/themeeditor/themeeditor.nsi"
Dominik Riebelinga9acd1f2010-07-28 18:37:12 +000057
58deploy.deploy()
59