Skip to content

Commit 21ce3d3

Browse files
authored
Merge pull request #440 from dennisameling/wintoast-arm64
wintoast: add ARM64 support
2 parents 55e9ea2 + 52786e7 commit 21ce3d3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

mingw-w64-wintoast/PKGBUILD

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license=('MIT')
1212

1313
options=('!strip')
1414

15-
source=("${_realname}"::"git+https://github.com/git-for-windows/WinToast#tag=g4w-20171117-01")
15+
source=("${_realname}"::"git+https://github.com/git-for-windows/WinToast#tag=g4w-20221103-01")
1616

1717
sha256sums=('SKIP')
1818

@@ -21,15 +21,10 @@ die () {
2121
exit 1
2222
}
2323

24-
test -n "$MSBUILD_DIR" ||
25-
MSBUILD_DIR="/c/Program Files (x86)/MSBuild/14.0/Bin"
26-
27-
test -d "$MSBUILD_DIR" ||
28-
die "Need a valid MSBUILD_DIR to point to MSBuild"
29-
3024
case "$CARCH" in
3125
i686) WARCH=x86; OUTDIR=Release;;
3226
x86_64) WARCH=x64; OUTDIR=x64/Release;;
27+
aarch64) WARCH=ARM64; OUTDIR=ARM64/Release;;
3328
*) die "Unsupported architecture: $CARCH"
3429
esac
3530

@@ -42,7 +37,7 @@ build() {
4237
cd "$srcdir/wintoast"
4338

4439
(cd example/console-example/ &&
45-
"$MSBUILD_DIR"/MSBuild.exe //p:Configuration=Release //p:Platform="$WARCH")
40+
cmd //c '..\..\..\..\..\msbuild\hMSBuild.bat -notamd64 -vsw-version local /p:Configuration=Release /p:Platform='"$WARCH")
4641

4742
cp example/console-example/$OUTDIR/WinToast\ Console\ Example.exe wintoast.exe
4843

0 commit comments

Comments
 (0)