!52 使用aria2替换原本的多线程下载

* update debian/control.
* fix: readme
* change: 切换到 aria2
* Download: 初步完成对 axel 的适配工作
* README: 英文修正 ubuntu22 的依赖问题
* Merge remote-tracking branch 'upstream/master'
* widget: 检查cdn状况在下载开始前检测,不堵塞ui线程
* Merge remote-tracking branch 'upstream/master'
* readme: 修正 ubuntu 的编译说明
* download: 检查软件源的有效性
This commit is contained in:
2022-06-30 15:26:13 +00:00
committed by shenmo
parent 766dc8b88a
commit 5f9599c47d
11 changed files with 176 additions and 280 deletions

21
debian/changelog vendored
View File

@@ -1,18 +1,13 @@
spark-store (3.2) stable; urgency=medium
新增ssinstall现在会在没有apt-fast的时候自动安装
新增ss-apt-fast现在会在没有apt-fast的时候自动安装
修改删除ssinstall中无用的 || dpkg -P $1
新增ss-apt-fast会先下载云上的conf以确保mirror是最新的
修复去除wget指令
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
spark-store (3.1.3) stable; urgency=medium
* Now uses aria2 to download softwares form all mirrors
* 新增ssinstall现在会在没有apt-fast的时候自动安装
* 新增ss-apt-fast现在会在没有apt-fast的时候自动安装
* 修改删除ssinstall中无用的 || dpkg -P $1
* 新增ss-apt-fast会先下载云上的conf以确保mirror是最新的
* 修复去除wget指令
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
spark-store (3.1.2) stable; urgency=medium

3
debian/control vendored
View File

@@ -35,7 +35,8 @@ Depends:${shlibs:Depends}, ${misc:Depends},
libnotify4,
curl,
dde-qt5integration,
bubblewrap
bubblewrap,
aria2
Description: Spark Store
A community powered app store, based on DTK.
Recommends: apt-fast

4
debian/rules vendored
View File

@@ -17,11 +17,12 @@ override_dh_auto_clean:
override_dh_auto_configure:
mkdir -p $(CURDIR)/build
dh_auto_configure MAKEFLAGS=-j$(JOBS) -- spark-store-project.pro \
-spec linux-g++ CONFIG+=qtquickcompiler \
-o $(CURDIR)/build/
override_dh_auto_build:
make -C $(CURDIR)/build -j$(JOBS)
@@ -29,6 +30,7 @@ override_dh_auto_install:
make -C $(CURDIR)/build install \
INSTALL_ROOT=$(CURDIR)/debian/spark-store
# Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
# Qt Mutidedia lib will ref to network libraray.
override_dh_shlibdeps: