summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-04 19:08:54 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-04 19:08:54 +0200
commitdb350ac3e2064ba09d81173abea589f70fe1a106 (patch)
treee46e8de0d1a79c5c39c6fddeb63eb0722d134646
parent9a28912f2601a9363f5f2d9b9a14878d0852400c (diff)
downloadrockbox-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.pro12
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
2TARGET = rbthemeeditor 2TARGET = rbthemeeditor
3VERSION = 0.5 3VERSION = 0.5
4CONFIG(debug) { 4CONFIG(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
34INCLUDEPATH += quazip 34INCLUDEPATH += quazip
35INCLUDEPATH += qtfindreplacedialog 35INCLUDEPATH += qtfindreplacedialog
36DEFINES += FINDREPLACE_NOLIB 36DEFINES += FINDREPLACE_NOLIB
37cross { 37cross {
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
203RESOURCES += resources.qrc 203RESOURCES += resources.qrc
204win32:RC_FILE = themeeditor.rc 204win32:RC_FILE = themeeditor.rc
205macx { 205macx {
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 \