42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
From 8ed40820dcbb48f9d78867f907ed6007858e2a26 Mon Sep 17 00:00:00 2001
|
|
From: tanyulong2021 <tanyulong@kylinos.cn>
|
|
Date: Mon, 8 Aug 2022 10:15:19 +0800
|
|
Subject: [PATCH] add control dependency
|
|
|
|
---
|
|
debian/control | 5 +++++
|
|
debian/rules | 1 +
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git a/debian/control b/debian/control
|
|
index fafc983..c8342cb 100755
|
|
--- a/debian/control
|
|
+++ b/debian/control
|
|
@@ -15,6 +15,11 @@ Build-Depends: debhelper-compat (= 12),
|
|
libgsettings-qt-dev,
|
|
libqt5x11extras5-dev,
|
|
libxtst-dev,
|
|
+ libkf5coreaddons-dev,
|
|
+ libkf5config-dev,
|
|
+ libkf5windowsystem-dev,
|
|
+ libsm-dev,
|
|
+ libglib2.0-dev,
|
|
qttools5-dev-tools,
|
|
pkg-config,
|
|
Rules-Requires-Root: no
|
|
diff --git a/debian/rules b/debian/rules
|
|
index 31c22ec..f3201ac 100755
|
|
--- a/debian/rules
|
|
+++ b/debian/rules
|
|
@@ -3,6 +3,7 @@
|
|
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
|
export LC_ALL=C.UTF-8
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
+export DEB_BUILD_HARDENING_FORTY=2 -O2
|
|
|
|
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
|
CMAKE_ARGS += -DWITH_LIBUDEV=ON
|
|
--
|
|
2.33.0
|
|
|