diff --git a/mingw-w64-libart_lgpl/0002-aarch64.patch b/mingw-w64-libart_lgpl/0002-aarch64.patch new file mode 100644 index 0000000000..5e2d4d8450 --- /dev/null +++ b/mingw-w64-libart_lgpl/0002-aarch64.patch @@ -0,0 +1,12 @@ +diff -bur libart_lgpl-2.3.21-o/config.sub libart_lgpl-2.3.21/config.sub +--- libart_lgpl-2.3.21-o/config.sub 2025-04-16 23:33:07.522954300 -0600 ++++ libart_lgpl-2.3.21/config.sub 2025-04-16 23:33:38.240802400 -0600 +@@ -322,7 +322,7 @@ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ +- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ ++ | arm-* | armbe-* | armle-* | armeb-* | armv*-* | aarch64-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ diff --git a/mingw-w64-libart_lgpl/PKGBUILD b/mingw-w64-libart_lgpl/PKGBUILD index 48dfaea821..e37669d7d3 100644 --- a/mingw-w64-libart_lgpl/PKGBUILD +++ b/mingw-w64-libart_lgpl/PKGBUILD @@ -4,12 +4,12 @@ _realname=libart_lgpl pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=2.3.21 -pkgrel=3 +pkgrel=4 pkgdesc="Library for high-performance 2D graphics (mingw-w64)" depends=() makedepends=("${MINGW_PACKAGE_PREFIX}-cc") arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') msys2_references=( 'aur: libart-lgpl' 'cygwin: libart_lgpl_2' @@ -19,13 +19,26 @@ url='https://www.levien.com/libart' license=('custom') makedepends=("${MINGW_PACKAGE_PREFIX}-autotools" "${MINGW_PACKAGE_PREFIX}-cc") source=("https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.bz2" - "0001-Fix-an-installation-path-bug.patch") + "0001-Fix-an-installation-path-bug.patch" + "0002-aarch64.patch") sha256sums=('fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa' - '730eca896d981b5c8e6d65e96ceededed6e08068c8b6f29a782d7b56ddae92d6') + '730eca896d981b5c8e6d65e96ceededed6e08068c8b6f29a782d7b56ddae92d6' + '9b36b95bcdf6c051f6f72c16cf9daf8b92bd376d8311e6bc6ec4f150449b4bcd') + +apply_patch_with_msg() { + for _patch in "$@" + do + msg2 "Applying ${_patch}" + patch -Nbp1 -i "${srcdir}/${_patch}" + done +} prepare() { cd "${srcdir}"/${_realname}-${pkgver} - patch -p1 -i "${srcdir}"/0001-Fix-an-installation-path-bug.patch + + apply_patch_with_msg \ + 0001-Fix-an-installation-path-bug.patch \ + 0002-aarch64.patch } build() {