youker-assistant/0001-fix-compile-error-of-youker-assistant.patch
2023-05-23 09:36:26 +08:00

44 lines
1.1 KiB
Diff

From e32410f8b949a63684c5b0868e5d95f831fce684 Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Mon, 5 Dec 2022 16:31:59 +0800
Subject: [PATCH] fix compile error of youker-assistant
---
kylin-assistant.pro | 6 ++++++
src/src.pro | 6 +++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/kylin-assistant.pro b/kylin-assistant.pro
index fc58122..f54d63e 100644
--- a/kylin-assistant.pro
+++ b/kylin-assistant.pro
@@ -15,3 +15,9 @@ TRANSLATIONS += \
CONFIG += qt
QT += widgets
+
+man.files += man/*
+man.path = /usr/share/man/man1/
+
+INSTALLS += man
+
diff --git a/src/src.pro b/src/src.pro
index 03f783c..5cd4b2a 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -74,6 +74,10 @@ desktop.path = /usr/share/applications
target.source += $$TARGET
target.path = /usr/bin
+translation.files += translation/*.qm
+translation.path = /usr/share/youker-assistant/translations
+
INSTALLS += \
target \
- desktop
+ desktop \
+ translation
--
2.33.0