Merge branch 'Thunder' of gitee.com:spark-store-project/spark-store into dev

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2024-09-24 03:40:30 +00:00
committed by Gitee
27 changed files with 222 additions and 119 deletions

View File

@@ -10,7 +10,7 @@ TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += \
src/spark-store.pro
src/$${TARGET}.pro
# https://wiki.debian.org/Hardening
QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS)
@@ -26,32 +26,31 @@ CONFIG(release, debug | release) {
# Rules for deployment
tool.files += tool/*
tool.path = /opt/durapps/$${TARGET}/bin
tool.path = /opt/durapps/$${TARGET}/bin/
qm.files += translations/*.qm
qm.path = /usr/share/spark-store/translations
qm.path = /usr/share/$${TARGET}/translations/
#preferences.files += pkg/etc/apt/preferences.d/sparkstore
#preferences.path = /etc/apt/preferences.d
#preferences.path = /etc/apt/preferences.d/
#sourceslist.files += pkg/etc/apt/sources.list.d/sparkstore.list
#sourceslist.path = /etc/apt/sources.list.d
#sourceslist.path = /etc/apt/sources.list.d/
bash_completion.files += pkg/usr/share/bash-completion/completions/aptss
bash_completion.path = /usr/share/bash-completion/completions
bash_completion.path = /usr/share/bash-completion/completions/
desktop.files += pkg/usr/share/applications/*.desktop
desktop.path = /usr/share/applications
desktop.path = /usr/share/applications/
service.files += pkg/usr/lib/systemd/system/spark-update-notifier.service
service.path = /usr/lib/systemd/system/
service.path = /lib/systemd/system/
polkit-1.files += pkg/usr/share/polkit-1/actions/*
polkit-1.path = /usr/share/polkit-1/actions/
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/*.svg
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/*.png
icon.path = /usr/share/icons/hicolor/scalable/apps
icon.files += pkg/usr/share/icons
icon.path = /usr/share/
ssinstall-transhell.files += pkg/usr/share/ssinstall/transhell
ssinstall-transhell.path = /usr/share/ssinstall/
@@ -60,7 +59,7 @@ aptss-transhell.files += pkg/usr/share/aptss/transhell
aptss-transhell.path = /usr/share/aptss/
tmp.files += pkg/tmp/spark-store-install/feedback.sh
tmp.path = /tmp/spark-store-install
tmp.path = /tmp/spark-store-install/
INSTALLS += \
tool \
@@ -74,4 +73,3 @@ INSTALLS += \
service \
bash_completion \
polkit-1
# 暂时不添加