forked from M-Labs/artiq
1
0
Fork 0

windows: package qasync

This commit is contained in:
Sebastien Bourdeauducq 2022-04-05 16:38:04 +08:00
parent 64b56077cd
commit 113a36a9c0
3 changed files with 18 additions and 0 deletions

View File

@ -363,6 +363,7 @@
hydraJobs = {
inherit (packages.x86_64-linux) artiq artiq-board-kc705-nist_clock openocd-bscanspi;
qasync-msys2-pkg = packages.x86_64-w64-mingw32.qasync-pkg;
pyqtgraph-msys2-pkg = packages.x86_64-w64-mingw32.pyqtgraph-pkg;
sipyco-msys2-pkg = packages.x86_64-w64-mingw32.sipyco-pkg;
artiq-comtools-msys2-pkg = packages.x86_64-w64-mingw32.artiq-comtools-pkg;

11
windows/PKGBUILD.qasync Normal file
View File

@ -0,0 +1,11 @@
pkgbase="mingw-w64-python-qasync"
pkgname="mingw-w64-x86_64-python-qasync"
pkgrel=1
pkgdesc="Implementation of the PEP 3156 Event-Loop with Qt"
license=("BSD")
depends=(
"mingw-w64-x86_64-python"
"mingw-w64-x86_64-python-pyqt5"
)
source PKGBUILD.common

View File

@ -28,6 +28,11 @@ let
'';
};
in rec {
qasync-pkg = makeMsys2 {
name = "qasync";
src = artiq.packages.x86_64-linux.qasync.src;
inherit (artiq.packages.x86_64-linux.qasync) version;
};
pyqtgraph-pkg = makeMsys2 {
name = "pyqtgraph";
src = pkgs.python3Packages.pyqtgraph.src;
@ -56,6 +61,7 @@ in rec {
''
mkdir $out
cd $out
ln -s ${qasync-pkg}/*.pkg.tar.zst .
ln -s ${pyqtgraph-pkg}/*.pkg.tar.zst .
ln -s ${sipyco-pkg}/*.pkg.tar.zst .
ln -s ${artiq-comtools-pkg}/*.pkg.tar.zst .