diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-09-04 19:08:54 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-09-04 19:08:54 +0200 |
commit | db350ac3e2064ba09d81173abea589f70fe1a106 (patch) | |
tree | e46e8de0d1a79c5c39c6fddeb63eb0722d134646 | |
parent | 9a28912f2601a9363f5f2d9b9a14878d0852400c (diff) | |
download | rockbox-db350ac3e2064ba09d81173abea589f70fe1a106.tar.gz rockbox-db350ac3e2064ba09d81173abea589f70fe1a106.zip |
themeeditor: Get revision info from git.
We're not using svn anymore. This isn't used, but at least try to get
the right value.
Change-Id: I66e726d28b504a0f15d5b6497a02963243ba466a
-rw-r--r-- | utils/themeeditor/themeeditor.pro | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro index b7795555d3..452720e2dd 100644 --- a/utils/themeeditor/themeeditor.pro +++ b/utils/themeeditor/themeeditor.pro | |||
@@ -1,8 +1,8 @@ | |||
1 | # Setting the binary name | 1 | # Setting the binary name |
2 | TARGET = rbthemeeditor | 2 | TARGET = rbthemeeditor |
3 | VERSION = 0.5 | 3 | VERSION = 0.5 |
4 | CONFIG(debug) { | 4 | CONFIG(debug) { |
5 | REVISION = $$system(svnversion) | 5 | REVISION = $$system(git rev-parse --verify --short=10 HEAD) |
6 | VERSION = $$join(VERSION,,,r) | 6 | VERSION = $$join(VERSION,,,r) |
7 | VERSION = $$join(VERSION,,,$$REVISION) | 7 | VERSION = $$join(VERSION,,,$$REVISION) |
8 | } | 8 | } |
@@ -34,14 +34,14 @@ INCLUDEPATH += graphics | |||
34 | INCLUDEPATH += quazip | 34 | INCLUDEPATH += quazip |
35 | INCLUDEPATH += qtfindreplacedialog | 35 | INCLUDEPATH += qtfindreplacedialog |
36 | DEFINES += FINDREPLACE_NOLIB | 36 | DEFINES += FINDREPLACE_NOLIB |
37 | cross { | 37 | cross { |
38 | message("Crossbuilding for W32 binary") | 38 | message("Crossbuilding for W32 binary") |
39 | 39 | ||
40 | # retrieve ar binary for w32 cross compile. This might be specific to | 40 | # retrieve ar binary for w32 cross compile. This might be specific to |
41 | # Fedora mingw32 packages of Qt. Using member() here is needed because at | 41 | # Fedora mingw32 packages of Qt. Using member() here is needed because at |
42 | # least the F13 packages add ar options to the variable. | 42 | # least the F13 packages add ar options to the variable. |
43 | CROSSOPTIONS += AR=$$member(QMAKE_LIB) TARGETPLATFORM=\"MinGW\" | 43 | CROSSOPTIONS += AR=$$member(QMAKE_LIB) TARGETPLATFORM=\"MinGW\" |
44 | 44 | ||
45 | # make sure we use the correct subsystem to prevent a console window coming up. | 45 | # make sure we use the correct subsystem to prevent a console window coming up. |
46 | LIBS += -Wl,-subsystem,windows | 46 | LIBS += -Wl,-subsystem,windows |
47 | } | 47 | } |
@@ -202,7 +202,7 @@ FORMS += gui/editorwindow.ui \ | |||
202 | gui/rbconsole.ui | 202 | gui/rbconsole.ui |
203 | RESOURCES += resources.qrc | 203 | RESOURCES += resources.qrc |
204 | win32:RC_FILE = themeeditor.rc | 204 | win32:RC_FILE = themeeditor.rc |
205 | macx { | 205 | macx { |
206 | QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk | 206 | QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk |
207 | QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \ | 207 | QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \ |
208 | -arch \ | 208 | -arch \ |