GIT_SHA1 points to the sha1 of upstream.
authorSandro Knauß <hefee@debian.org>
Tue, 30 Jul 2024 10:35:29 +0000 (12:35 +0200)
committerSandro Knauß <hefee@debian.org>
Sat, 15 Feb 2025 02:29:54 +0000 (03:29 +0100)
Origin: Debian
Forwarded: not-needed
Last-Update: 2024-07-30

Gbp-Pq: Name 0004-GIT_SHA1-points-to-the-sha1-of-upstream.patch

CMakeLists.txt

index 3c1d91f800855fc9349221cace85fe68e664a488..caee8ead39d2b425f99df088655142b3778dcf89 100644 (file)
@@ -112,9 +112,8 @@ include(GNUInstallDirs)
 include(DefineInstallationPaths)
 include(GenerateExportHeader)
 
-include(GetGitRevisionDescription)
-
-get_git_head_revision(GIT_REFSPEC GIT_SHA1)
+# On Debian we always have use a released version
+set(GIT_SHA1 "GITDIR-NOTFOUND")
 
 add_definitions(
     -DQT_DISABLE_DEPRECATED_BEFORE=0x051200