From 96ac00b41aa368aa08038cc87e2032534cd44bc7 Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Tue, 21 Apr 2020 16:26:58 +0100 Subject: [PATCH] Stop build from appending "dirty" to version string --- nodirtyversion.patch | 13 +++++++++++++ org.DolphinEmu.dolphin-emu.json | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 nodirtyversion.patch diff --git a/nodirtyversion.patch b/nodirtyversion.patch new file mode 100644 index 0000000..20b6f3c --- /dev/null +++ b/nodirtyversion.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9af66009a1..2acd3bed9a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -149,7 +149,7 @@ if(GIT_FOUND) + OUTPUT_VARIABLE DOLPHIN_WC_REVISION + OUTPUT_STRIP_TRAILING_WHITESPACE) + # defines DOLPHIN_WC_DESCRIBE +- execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long --dirty ++ execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long + OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE + OUTPUT_STRIP_TRAILING_WHITESPACE) + diff --git a/org.DolphinEmu.dolphin-emu.json b/org.DolphinEmu.dolphin-emu.json index 24d375b..5d75c66 100644 --- a/org.DolphinEmu.dolphin-emu.json +++ b/org.DolphinEmu.dolphin-emu.json @@ -75,6 +75,10 @@ "type": "patch", "path": "forcexdg.patch" }, + { + "type": "patch", + "path": "nodirtyversion.patch" + }, { "type": "file", "path": "appdata.xml"