mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 05:12:04 +08:00
update:更新构建包信息
This commit is contained in:
@@ -17,18 +17,23 @@ set(PROJECT_SOURCES
|
|||||||
src/mainwindow.cpp
|
src/mainwindow.cpp
|
||||||
src/mainwindow.h
|
src/mainwindow.h
|
||||||
src/mainwindow.ui
|
src/mainwindow.ui
|
||||||
|
src/aptssupdater.h
|
||||||
|
src/aptssupdater.cpp
|
||||||
|
src/icons.qrc
|
||||||
|
src/appdelegate.h
|
||||||
|
src/appdelegate.cpp
|
||||||
|
src/applistmodel.h
|
||||||
|
src/applistmodel.cpp
|
||||||
|
src/downloadmanager.h
|
||||||
|
src/downloadmanager.cpp
|
||||||
|
src/ignoreconfig.h
|
||||||
|
src/ignoreconfig.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||||
qt_add_executable(spark-update-tool
|
qt_add_executable(spark-update-tool
|
||||||
MANUAL_FINALIZATION
|
MANUAL_FINALIZATION
|
||||||
${PROJECT_SOURCES}
|
${PROJECT_SOURCES}
|
||||||
src/aptssupdater.h src/aptssupdater.cpp
|
|
||||||
src/icons.qrc
|
|
||||||
src/appdelegate.h src/appdelegate.cpp
|
|
||||||
src/applistmodel.h src/applistmodel.cpp
|
|
||||||
src/downloadmanager.h src/downloadmanager.cpp
|
|
||||||
src/ignoreconfig.h src/ignoreconfig.cpp
|
|
||||||
)
|
)
|
||||||
# Define target properties for Android with Qt 6 as:
|
# Define target properties for Android with Qt 6 as:
|
||||||
# set_property(TARGET spark-update-tool APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
|
# set_property(TARGET spark-update-tool APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
|
||||||
|
|||||||
2
debian/compat
vendored
2
debian/compat
vendored
@@ -1 +1 @@
|
|||||||
9
|
13
|
||||||
24
debian/rules
vendored
24
debian/rules
vendored
@@ -1,7 +1,27 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
%:
|
# 声明兼容性级别
|
||||||
dh $@
|
export DH_VERBOSE=1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --buildsystem=cmake
|
||||||
|
|
||||||
|
# 确保使用CMake进行配置
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr
|
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
|
||||||
|
# 确保使用CMake进行构建
|
||||||
|
override_dh_auto_build:
|
||||||
|
dh_auto_build
|
||||||
|
|
||||||
|
# 确保使用CMake进行安装
|
||||||
|
override_dh_auto_install:
|
||||||
|
dh_auto_install
|
||||||
|
|
||||||
|
# 确保使用CMake进行清理
|
||||||
|
override_dh_auto_clean:
|
||||||
|
dh_auto_clean
|
||||||
|
|
||||||
|
# 确保使用CMake进行依赖解析
|
||||||
|
override_dh_shlibdeps:
|
||||||
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
||||||
@@ -5,7 +5,8 @@
|
|||||||
#include <QQueue>
|
#include <QQueue>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
#include <QElapsedTimer>
|
#include <QElapsedTimer>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
#include <QSet>
|
||||||
|
|
||||||
#include "downloadmanager.h"
|
#include "downloadmanager.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user