Merge remote-tracking branch 'aur/master'

This commit is contained in:
Sebastiaan de Schaetzen (automated)
2026-03-20 01:02:25 +01:00
3 changed files with 51 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = aseprite pkgbase = aseprite
pkgdesc = Create animated sprites and pixel art pkgdesc = Create animated sprites and pixel art
pkgver = 1.3.17 pkgver = 1.3.17
pkgrel = 1 pkgrel = 2
url = https://www.aseprite.org/ url = https://www.aseprite.org/
arch = x86_64 arch = x86_64
license = LicenseRef-Aseprite-EULA license = LicenseRef-Aseprite-EULA
@@ -12,7 +12,7 @@ pkgbase = aseprite
makedepends = libxi makedepends = libxi
makedepends = gn makedepends = gn
makedepends = harfbuzz-icu makedepends = harfbuzz-icu
makedepends = clang makedepends = clang>=22
depends = cmark depends = cmark
depends = libcurl.so depends = libcurl.so
depends = libgif.so depends = libgif.so
@@ -36,11 +36,10 @@ pkgbase = aseprite
depends = libxrandr depends = libxrandr
noextract = Aseprite-v1.3.17-Source.zip noextract = Aseprite-v1.3.17-Source.zip
noextract = skia-m124.tar.gz noextract = skia-m124.tar.gz
noextract = aseprite-skia-m124-flutter.tar.gz
source = https://github.com/aseprite/aseprite/releases/download/v1.3.17/Aseprite-v1.3.17-Source.zip source = https://github.com/aseprite/aseprite/releases/download/v1.3.17/Aseprite-v1.3.17-Source.zip
source = skia-m124.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m124-08a5439a6b.tar.gz source = skia-m124.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m124-08a5439a6b.tar.gz
source = skia-m124-icu::git+https://chromium.googlesource.com/chromium/deps/icu.git#commit=a0718d4f121727e30b8d52c7a189ebf5ab52421f source = skia-m124-icu::git+https://chromium.googlesource.com/chromium/deps/icu.git#commit=a0718d4f121727e30b8d52c7a189ebf5ab52421f
source = aseprite-strings::git+https://github.com/aseprite/strings.git#commit=0f49265d7e7aea4b862b7d1e670ed969e8a469b8 source = aseprite-strings::git+https://github.com/aseprite/strings.git#commit=4478b7893f7d0ea228de1297ad4c3f8738fc14af
source = desktop.patch source = desktop.patch
source = shared-fmt.patch source = shared-fmt.patch
source = shared-libarchive.patch source = shared-libarchive.patch
@@ -51,10 +50,11 @@ pkgbase = aseprite
source = shared-libwebp-found.patch source = shared-libwebp-found.patch
source = include_cstdint.patch source = include_cstdint.patch
source = shared_libjpeg-turbo.patch source = shared_libjpeg-turbo.patch
source = change_use_of_removed_intrinsic.patch
sha256sums = 887dd92c0d47988848f86405c05d73ba6af9e572a37fa63870350ac3d2ef3782 sha256sums = 887dd92c0d47988848f86405c05d73ba6af9e572a37fa63870350ac3d2ef3782
sha256sums = c2a567d6b8bb933a92615cbdee0de268d02c3a06863337ee8822eedab9ed66ba sha256sums = c2a567d6b8bb933a92615cbdee0de268d02c3a06863337ee8822eedab9ed66ba
sha256sums = b52f179a687ef2f91a52b696ab6581f4a37df5e88cb22040fa1ec6567cf0ebb1 sha256sums = b52f179a687ef2f91a52b696ab6581f4a37df5e88cb22040fa1ec6567cf0ebb1
sha256sums = c246ab3a2f1dad3b0244ea4e571404978c748777b8814670d2798e137e9e0d4f sha256sums = 072fba43e412c03972e325c256d6673cc4472c02d5e373efacdd56798439afb9
sha256sums = 8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9 sha256sums = 8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9
sha256sums = c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3 sha256sums = c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3
sha256sums = 96d75ecc951712e80734f476511658fcc3c91fc1655fe9a01453c3fc8c2a9274 sha256sums = 96d75ecc951712e80734f476511658fcc3c91fc1655fe9a01453c3fc8c2a9274
@@ -65,5 +65,6 @@ pkgbase = aseprite
sha256sums = 72605d6760c29eb98f2d8d8cf2cc9f9f7d7655bcf7cfc944f6a46b0957adbb14 sha256sums = 72605d6760c29eb98f2d8d8cf2cc9f9f7d7655bcf7cfc944f6a46b0957adbb14
sha256sums = 3381038fc5209600428801fa0b2b05ddee031b0926eaa75c114172e503916cd5 sha256sums = 3381038fc5209600428801fa0b2b05ddee031b0926eaa75c114172e503916cd5
sha256sums = 0fa67d34f63cb4ed472b620ebad0656aeca646cb7f1069b7066ee91e6902fe6c sha256sums = 0fa67d34f63cb4ed472b620ebad0656aeca646cb7f1069b7066ee91e6902fe6c
sha256sums = 1276dd96f9ba63ce942b7321f5f753b02119c99b2eaf652ea5998b90d5d5a1d2
pkgname = aseprite pkgname = aseprite

View File

@@ -13,7 +13,7 @@ pkgname=aseprite
pkgver=1.3.17 pkgver=1.3.17
_skiaver=m124 _skiaver=m124
_skiahash=08a5439a6b _skiahash=08a5439a6b
pkgrel=4 pkgrel=2
pkgdesc='Create animated sprites and pixel art' pkgdesc='Create animated sprites and pixel art'
arch=('x86_64') arch=('x86_64')
url="https://www.aseprite.org/" url="https://www.aseprite.org/"
@@ -38,9 +38,8 @@ makedepends=(# "Meta" dependencies
libxi libxi
# Skia # Skia
gn harfbuzz-icu gn harfbuzz-icu
# TODO: Benchmark clang v gcc # Upstream recommends using clang
# Fuck it, compiling with GCC>=13 is broken and I'm not gonna write a patch to fix it 'clang>=22'
clang
) )
source=("https://github.com/aseprite/aseprite/releases/download/v1.3.17/Aseprite-v1.3.17-Source.zip" source=("https://github.com/aseprite/aseprite/releases/download/v1.3.17/Aseprite-v1.3.17-Source.zip"
# Which branch a given build of Aseprite requires is noted in its `INSTALL.md` # Which branch a given build of Aseprite requires is noted in its `INSTALL.md`
@@ -48,7 +47,7 @@ source=("https://github.com/aseprite/aseprite/releases/download/v1.3.17/Aseprite
# forgive me, I couldn't figure out linker errors. # forgive me, I couldn't figure out linker errors.
# update commit with skia # update commit with skia
skia-$_skiaver-icu::git+https://chromium.googlesource.com/chromium/deps/icu.git#commit=a0718d4f121727e30b8d52c7a189ebf5ab52421f skia-$_skiaver-icu::git+https://chromium.googlesource.com/chromium/deps/icu.git#commit=a0718d4f121727e30b8d52c7a189ebf5ab52421f
aseprite-strings::git+https://github.com/aseprite/strings.git#commit=0f49265d7e7aea4b862b7d1e670ed969e8a469b8 aseprite-strings::git+https://github.com/aseprite/strings.git#commit=4478b7893f7d0ea228de1297ad4c3f8738fc14af
desktop.patch desktop.patch
shared-fmt.patch shared-fmt.patch
# Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch # Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch
@@ -60,14 +59,14 @@ source=("https://github.com/aseprite/aseprite/releases/download/v1.3.17/Aseprite
fix-shared-tinyxml2.patch fix-shared-tinyxml2.patch
shared-libwebp-found.patch shared-libwebp-found.patch
include_cstdint.patch include_cstdint.patch
shared_libjpeg-turbo.patch) shared_libjpeg-turbo.patch
change_use_of_removed_intrinsic.patch)
noextract=("Aseprite-v$pkgver-Source.zip" noextract=("Aseprite-v$pkgver-Source.zip"
"skia-$_skiaver.tar.gz" "skia-$_skiaver.tar.gz") # Don't extract Aseprite or skia sources at the root
"aseprite-skia-$_skiaver-flutter.tar.gz") # Don't extract Aseprite or skia sources at the root
sha256sums=('887dd92c0d47988848f86405c05d73ba6af9e572a37fa63870350ac3d2ef3782' sha256sums=('887dd92c0d47988848f86405c05d73ba6af9e572a37fa63870350ac3d2ef3782'
'c2a567d6b8bb933a92615cbdee0de268d02c3a06863337ee8822eedab9ed66ba' 'c2a567d6b8bb933a92615cbdee0de268d02c3a06863337ee8822eedab9ed66ba'
'b52f179a687ef2f91a52b696ab6581f4a37df5e88cb22040fa1ec6567cf0ebb1' 'b52f179a687ef2f91a52b696ab6581f4a37df5e88cb22040fa1ec6567cf0ebb1'
'c246ab3a2f1dad3b0244ea4e571404978c748777b8814670d2798e137e9e0d4f' '072fba43e412c03972e325c256d6673cc4472c02d5e373efacdd56798439afb9'
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9' '8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
'c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3' 'c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3'
'96d75ecc951712e80734f476511658fcc3c91fc1655fe9a01453c3fc8c2a9274' '96d75ecc951712e80734f476511658fcc3c91fc1655fe9a01453c3fc8c2a9274'
@@ -77,7 +76,8 @@ sha256sums=('887dd92c0d47988848f86405c05d73ba6af9e572a37fa63870350ac3d2ef3782'
'ba02fc060dc930cfd66a8903a5d8a59f981753bdf416e91cc77a48c56c86aea3' 'ba02fc060dc930cfd66a8903a5d8a59f981753bdf416e91cc77a48c56c86aea3'
'72605d6760c29eb98f2d8d8cf2cc9f9f7d7655bcf7cfc944f6a46b0957adbb14' '72605d6760c29eb98f2d8d8cf2cc9f9f7d7655bcf7cfc944f6a46b0957adbb14'
'3381038fc5209600428801fa0b2b05ddee031b0926eaa75c114172e503916cd5' '3381038fc5209600428801fa0b2b05ddee031b0926eaa75c114172e503916cd5'
'0fa67d34f63cb4ed472b620ebad0656aeca646cb7f1069b7066ee91e6902fe6c') '0fa67d34f63cb4ed472b620ebad0656aeca646cb7f1069b7066ee91e6902fe6c'
'1276dd96f9ba63ce942b7321f5f753b02119c99b2eaf652ea5998b90d5d5a1d2')
_debug="true" _debug="true"
prepare() { prepare() {
# Extract Aseprite's sources # Extract Aseprite's sources
@@ -114,6 +114,8 @@ prepare() {
env -C aseprite patch -tp1 <shared_libjpeg-turbo.patch env -C aseprite patch -tp1 <shared_libjpeg-turbo.patch
[[ -n $_debug ]] && echo include_cstdint.patch [[ -n $_debug ]] && echo include_cstdint.patch
patch -tp1 <include_cstdint.patch patch -tp1 <include_cstdint.patch
[[ -n $_debug ]] && echo change_use_of_removed_intrinsic.patch
env -C skia/modules/skcms/ patch -tp1 <change_use_of_removed_intrinsic.patch
} }
build() { build() {

View File

@@ -0,0 +1,33 @@
From 135488419331644e59091ecc73e682299d3937a4 Mon Sep 17 00:00:00 2001
From: Devon Loehr <dloehr@google.com>
Date: Fri, 15 Aug 2025 14:31:27 +0000
Subject: [PATCH] Change use of removed intrinsic
A recent LLVM change removed the __builtin_ia32_vcvtph2ps256 intrinsic
because it can be implemented using __builtin_shufflevector and/or
__builtin_convertvector. This CL changes skia to use convertvector as
to match.
Bug: chromium:438445382
Change-Id: I2ed16cd507d7feeafba4c082b3840cbdd6368dd9
Reviewed-on: https://skia-review.googlesource.com/c/skcms/+/1038217
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Devon Loehr <dloehr@google.com>
---
diff --git a/src/Transform_inl.h b/src/Transform_inl.h
index bc10e7d..99faf25 100644
--- a/src/Transform_inl.h
+++ b/src/Transform_inl.h
@@ -156,8 +156,8 @@
#elif defined(USING_AVX512F)
return (F)_mm512_cvtph_ps((__m256i)half);
#elif defined(USING_AVX_F16C)
- typedef int16_t __attribute__((vector_size(16))) I16;
- return __builtin_ia32_vcvtph2ps256((I16)half);
+ typedef _Float16 __attribute__((vector_size(16))) F16;
+ return __builtin_convertvector((F16)half, F);
#else
U32 wide = cast<U32>(half);
// A half is 1-5-10 sign-exponent-mantissa, with 15 exponent bias.