mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-10-04 17:42:20 +08:00
commit
ffcfda0ac2
@ -18,22 +18,26 @@ stages:
|
|||||||
name: execute_by_docker
|
name: execute_by_docker
|
||||||
displayName: 基于镜像的DTK构建
|
displayName: 基于镜像的DTK构建
|
||||||
certificate: ''
|
certificate: ''
|
||||||
image: docker.io/debian:buster
|
image: docker.jianmuhub.com/library/debian:buster
|
||||||
command:
|
command:
|
||||||
- sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
- sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||||
- '# 换源'
|
- '# 换源'
|
||||||
- apt update
|
- apt update
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
- echo "安装git devscripts equivs curl..."
|
- echo "安装依赖..."
|
||||||
- 'apt install git devscripts equivs curl -y '
|
- 'apt install libgsettings-qt-dev -y '
|
||||||
|
- 'apt install debhelper git curl fakeroot qtbase5-dev zlib1g-dev qt5-default -y '
|
||||||
- git clone https://gitlink.org.cn/shenmo7192/dtk-old-bundle.git
|
- git clone https://gitlink.org.cn/shenmo7192/dtk-old-bundle.git
|
||||||
- cd dtk-old-bundle
|
- cd dtk-old-bundle
|
||||||
- apt install ./*.deb -y
|
- apt install ./*.deb -y
|
||||||
- cd ..
|
- cd ..
|
||||||
- rm -rf dtk-old-bundle
|
- rm -rf dtk-old-bundle
|
||||||
- ''
|
- ''
|
||||||
- 'mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
- '#mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
||||||
- dpkg-buildpackage -j2 -b -us -uc
|
- apt build-dep . -y
|
||||||
|
- strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
|
||||||
|
- uname -a
|
||||||
|
- dpkg-buildpackage -j1 -b -us -uc
|
||||||
- cd ..
|
- cd ..
|
||||||
- ls -all
|
- ls -all
|
||||||
- pwd
|
- pwd
|
||||||
|
@ -287,8 +287,10 @@ void AppIntoPage::setDownloadWidget(DownloadListWidget *w)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dw = w;
|
dw = w;
|
||||||
connect(w, &DownloadListWidget::downloadFinished, [=]()
|
connect(w, &DownloadListWidget::downloadFinished, this, [=]() {
|
||||||
{ isDownloading(SparkAPI::getServerUrl() + SparkAPI::getArchDir() + spk.path() + "/" + info["Filename"].toString()); });
|
isDownloading(SparkAPI::getServerUrl() + SparkAPI::getArchDir() + spk.path() + "/" + info["Filename"].toString());
|
||||||
|
},
|
||||||
|
Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppIntoPage::initUI()
|
void AppIntoPage::initUI()
|
||||||
@ -486,7 +488,10 @@ void AppIntoPage::on_downloadButton_clicked()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
connect(item, &DownloadItem::finished, [=]() { isDownloading(downloadUrl); });
|
connect(item, &DownloadItem::finished, this, [=]() {
|
||||||
|
isDownloading(downloadUrl);
|
||||||
|
},
|
||||||
|
Qt::QueuedConnection);
|
||||||
|
|
||||||
item->install(0);
|
item->install(0);
|
||||||
isDownloading(downloadUrl);
|
isDownloading(downloadUrl);
|
||||||
@ -507,7 +512,10 @@ void AppIntoPage::on_downloadButton_clicked()
|
|||||||
item->reinstall = true;
|
item->reinstall = true;
|
||||||
}
|
}
|
||||||
ui->downloadButton->setEnabled(false);
|
ui->downloadButton->setEnabled(false);
|
||||||
connect(item, &DownloadItem::finished, [=]() { isDownloading(downloadUrl); });
|
connect(item, &DownloadItem::finished, this, [=]() {
|
||||||
|
isDownloading(downloadUrl);
|
||||||
|
},
|
||||||
|
Qt::QueuedConnection);
|
||||||
|
|
||||||
isDownloading(downloadUrl);
|
isDownloading(downloadUrl);
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dpkg -l | grep "^ii" | grep -w "$1" > /dev/null
|
dpkg -l | grep "^ii $1 " > /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user