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>
Wed, 4 Dec 2024 18:52:37 +0000 (19:52 +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 351b3eaa00c41b31bdb54aa7dc50f59ac2b4e23f..a33566fe98214000f3599cd3d63d0f216c7c41ac 100644 (file)
@@ -110,9 +110,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