Skip to content

Commit

Permalink
Support Windows on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed Jul 27, 2023
1 parent 949df74 commit 6483df3
Show file tree
Hide file tree
Showing 8 changed files with 189 additions and 176 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
strategy:
matrix:
os: [windows-latest]
arch: [amd64, amd64_arm64]
include:
- arch: amd64
qtArch: win64_msvc2019_64
- arch: amd64_arm64
qtArch: win64_msvc2019_arm64
runs-on: ${{ matrix.os }}
steps:
- uses: vicr123/libcontemporary/prepare-vars@actions
Expand All @@ -24,15 +30,17 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: ${{ steps.vars.outputs.qtVersion }}
arch: win64_msvc2019_64
arch: ${{ win64_msvc2019_64 }}
modules: addons.qtmultimedia addons.qtwebsockets qt5compat
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1.12.0
with:
sdk: 10.0.22000.0
arch: ${{ matrix.arch }}
- uses: vicr123/libcontemporary/install-libcontemporary@actions
with:
qcoroVersion: ${{ steps.vars.outputs.qcoroVersion }}
commitish: features/win-aarch64
- uses: vicr123/libcontemporary/build-project@actions
name: "Build contemporary-theme"
with:
Expand Down
8 changes: 4 additions & 4 deletions application/translations/desktop/com.vicr123.thebeat/en.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"GenericName": {
"message": "Audio Player"
"message": "Audio Player\r"
},
"Keywords": {
"description": "A list of words that can be searched for. Please ensure that the list also ends with a semicolon!",
"message": "audio;music;cd;player;"
"description": "A list of words that can be searched for. Please ensure that the list also ends with a semicolon!\r",
"message": "audio;music;cd;player;\r"
},
"Name": {
"message": "theBeat"
"message": "theBeat\r"
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"GenericName": {
"message": "Audio Player"
"message": "Audio Player\r"
},
"Keywords": {
"description": "A list of words that can be searched for. Please ensure that the list also ends with a semicolon!",
"message": "audio;music;cd;player;"
"description": "A list of words that can be searched for. Please ensure that the list also ends with a semicolon!\r",
"message": "audio;music;cd;player;\r"
},
"Name": {
"message": "theBeat Blueprint"
"message": "theBeat Blueprint\r"
}
}
3 changes: 2 additions & 1 deletion plugins/PodcastPlugin/models/podcastmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
#include <limits.h>
#include <tapplication.h>
#include <thebeatcommon.h>
#include <QPointer>

struct PodcastModelPrivate {
QPointer<Podcast> podcast;
QPointer<Podcast> podcast;
};

PodcastModel::PodcastModel(QObject* parent) :
Expand Down
16 changes: 8 additions & 8 deletions plugins/PodcastPlugin/translations/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,17 @@
<context>
<name>PodcastItemDelegate</name>
<message>
<location filename="../models/podcastmodel.cpp" line="94"/>
<location filename="../models/podcastmodel.cpp" line="95"/>
<source>New</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../models/podcastmodel.cpp" line="90"/>
<location filename="../models/podcastmodel.cpp" line="91"/>
<source>Listened</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../models/podcastmodel.cpp" line="96"/>
<location filename="../models/podcastmodel.cpp" line="97"/>
<source>%1 remaining</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -137,21 +137,21 @@
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../widgets/podcastlistingwidget.cpp" line="61"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="62"/>
<source>%n episodes</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../widgets/podcastlistingwidget.cpp" line="91"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="108"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="92"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="109"/>
<source>Up to date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../widgets/podcastlistingwidget.cpp" line="92"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="109"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="93"/>
<location filename="../widgets/podcastlistingwidget.cpp" line="110"/>
<source>You&apos;ve listened to every episode in this podcast.</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit 6483df3

Please sign in to comment.