[neon/kde/breeze-plymouth/Neon/unstable] debian: improve versioning in breeze-plymouth
Carlos De Maine
null at kde.org
Sat May 10 13:13:58 BST 2025
Git commit 65e1a482dcae94f433098daa193306b73944e0c5 by Carlos De Maine.
Committed on 10/05/2025 at 12:13.
Pushed by carlosdem into branch 'Neon/unstable'.
improve versioning in breeze-plymouth
M +4 -1 debian/rules
https://invent.kde.org/neon/kde/breeze-plymouth/-/commit/65e1a482dcae94f433098daa193306b73944e0c5
diff --git a/debian/rules b/debian/rules
index 651cbd7..4cce191 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,14 @@
export DEB_CFLAGS_MAINT_APPEND = -Werror -Wno-error=unused-result -Wno-error=sign-compare
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed
+UNAME_OS := $(shell lsb_release -sd)
+UNAME_VERSION := $(shell sed -n "/^set(PROJECT_VERSION .*)$$/ {s/[^0-9.]//g;p}" CMakeLists.txt)
+
%:
dh $@ --with kf6 --buildsystem kf6
override_dh_auto_configure:
- dh_auto_configure -- -DDISTRO_NAME="KDE neon" -DDISTRO_LOGO=neon
+ dh_auto_configure -- -DDISTRO_NAME='${UNAME_OS} ${DEB_TARGET_ARCH}' -DDISTRO_LOGO=neon -DDISTRO_VERSION='KDE Plasma ${UNAME_VERSION}'
override_dh_auto_install:
dh_auto_install
More information about the Neon-commits
mailing list