mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-13 04:12:03 +08:00
feat: Support dpkg-buildpackage
Support dpkg-buildpackage Log: Support dpkg-buildpackage
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
TARGET = spark-store
|
||||
TEMPLATE = subdirs
|
||||
|
||||
CONFIG += ordered
|
||||
@@ -7,3 +8,37 @@ SUBDIRS += \
|
||||
src/spark-store.pro
|
||||
|
||||
spark-store.depends = third-party/QtNetworkService
|
||||
|
||||
# Update translation files
|
||||
CONFIG(release, debug|release): system(bash $${PWD}/translate_generation.sh)
|
||||
|
||||
# Rules for deployment
|
||||
tool.files += tool/*
|
||||
tool.path = /opt/durapps/$${TARGET}/bin
|
||||
|
||||
qm.files += translations/*.qm
|
||||
qm.path = /usr/share/spark-store/translations
|
||||
|
||||
preferences.files += pkg/etc/apt/preferences.d/sparkstore
|
||||
preferences.path = /etc/apt/preferences.d
|
||||
|
||||
sourceslist.files += pkg/etc/apt/sources.list.d/sparkstore.list
|
||||
sourceslist.path = /etc/apt/sources.list.d
|
||||
|
||||
desktop.files += pkg/usr/share/applications/spark-store.desktop
|
||||
desktop.path = /usr/share/applications
|
||||
|
||||
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
icon.path = /usr/share/icons/hicolor/scalable/apps
|
||||
|
||||
tmp.files += pkg/tmp/spark-store-install/feedback.sh
|
||||
tmp.path = /tmp/spark-store-install
|
||||
|
||||
INSTALLS += \
|
||||
tool \
|
||||
qm \
|
||||
desktop \
|
||||
icon \
|
||||
sourceslist \
|
||||
preferences \
|
||||
tmp
|
||||
|
||||
Reference in New Issue
Block a user