upgpkg: aseprite 1.3.10.1-6

add translations
This commit is contained in:
ImperatorStorm 2025-01-05 15:57:39 -06:00
parent 8205cfd928
commit ffed33147e
2 changed files with 13 additions and 4 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.10.1 pkgver = 1.3.10.1
pkgrel = 5 pkgrel = 6
url = https://www.aseprite.org/ url = https://www.aseprite.org/
arch = x86_64 arch = x86_64
license = LicenseRef-Aseprite-EULA license = LicenseRef-Aseprite-EULA
@ -36,6 +36,7 @@ pkgbase = aseprite
noextract = skia-m102.tar.gz noextract = skia-m102.tar.gz
source = https://github.com/aseprite/aseprite/releases/download/v1.3.10.1/Aseprite-v1.3.10.1-Source.zip source = https://github.com/aseprite/aseprite/releases/download/v1.3.10.1/Aseprite-v1.3.10.1-Source.zip
source = skia-m102.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m102-861e4743af.tar.gz source = skia-m102.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m102-861e4743af.tar.gz
source = aseprite-strings::git+https://github.com/aseprite/strings.git#commit=f9cf9f95f46d78dcdfc4c9b8835306bd9728c8be
source = desktop.patch source = desktop.patch
source = shared-fmt.patch source = shared-fmt.patch
source = shared-libarchive.patch source = shared-libarchive.patch
@ -46,6 +47,7 @@ pkgbase = aseprite
source = shared-libwebp-found.patch source = shared-libwebp-found.patch
sha256sums = 8eea1db7f3465c5d1442c19599de53ab6d69431767ffa320459f5c3ff8cc80b4 sha256sums = 8eea1db7f3465c5d1442c19599de53ab6d69431767ffa320459f5c3ff8cc80b4
sha256sums = 8d76c1ad3693e1fc019eb14d806082148eb4ed7d601474aeeaae601b05a9b3ad sha256sums = 8d76c1ad3693e1fc019eb14d806082148eb4ed7d601474aeeaae601b05a9b3ad
sha256sums = a0090d46824bdbd79a83ec9ad83e4d09680471e442569ab16f753c62ef0d0e3c
sha256sums = 8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9 sha256sums = 8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9
sha256sums = c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3 sha256sums = c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3
sha256sums = 89cd28a5a90ee9dd42e85866b6f954bde526068d94311b0730a62f00f9cfffdb sha256sums = 89cd28a5a90ee9dd42e85866b6f954bde526068d94311b0730a62f00f9cfffdb

View File

@ -13,7 +13,7 @@ pkgname=aseprite
pkgver=1.3.10.1 pkgver=1.3.10.1
_skiaver=m102 _skiaver=m102
_skiahash=861e4743af _skiahash=861e4743af
pkgrel=5 pkgrel=6
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/"
@ -43,6 +43,7 @@ makedepends=(# "Meta" dependencies
source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprite-v$pkgver-Source.zip" source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprite-v$pkgver-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`
"skia-$_skiaver.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/$_skiaver-$_skiahash.tar.gz" "skia-$_skiaver.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/$_skiaver-$_skiahash.tar.gz"
aseprite-strings::git+https://github.com/aseprite/strings.git#commit=f9cf9f95f46d78dcdfc4c9b8835306bd9728c8be
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
@ -57,6 +58,7 @@ noextract=("Aseprite-v$pkgver-Source.zip"
"skia-$_skiaver.tar.gz") # Don't extract Aseprite or skia sources at the root "skia-$_skiaver.tar.gz") # Don't extract Aseprite or skia sources at the root
sha256sums=('8eea1db7f3465c5d1442c19599de53ab6d69431767ffa320459f5c3ff8cc80b4' sha256sums=('8eea1db7f3465c5d1442c19599de53ab6d69431767ffa320459f5c3ff8cc80b4'
'8d76c1ad3693e1fc019eb14d806082148eb4ed7d601474aeeaae601b05a9b3ad' '8d76c1ad3693e1fc019eb14d806082148eb4ed7d601474aeeaae601b05a9b3ad'
'a0090d46824bdbd79a83ec9ad83e4d09680471e442569ab16f753c62ef0d0e3c'
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9' '8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
'c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3' 'c3591d376180d99ff8001c3d549c0bd18ef5e4d95f1755ccaa8e2fd65dd5d2b3'
'89cd28a5a90ee9dd42e85866b6f954bde526068d94311b0730a62f00f9cfffdb' '89cd28a5a90ee9dd42e85866b6f954bde526068d94311b0730a62f00f9cfffdb'
@ -92,8 +94,8 @@ prepare() {
# TinyEXIF cannot find tinyxml2 otherwise # TinyEXIF cannot find tinyxml2 otherwise
[[ -n $_debug ]] && echo fix-shared-tinyxml2.patch [[ -n $_debug ]] && echo fix-shared-tinyxml2.patch
env -C aseprite/third_party/TinyEXIF patch -tp1 <fix-shared-tinyxml2.patch env -C aseprite/third_party/TinyEXIF patch -tp1 <fix-shared-tinyxml2.patch
[[ -n $_debug ]] && echo shared-libwebp-found.patch [[ -n $_debug ]] && echo shared-libwebp-found.patch
env -C aseprite patch -tp1 <shared-libwebp-found.patch env -C aseprite patch -tp1 <shared-libwebp-found.patch
} }
build() { build() {
@ -182,4 +184,9 @@ package() {
install -vDm 644 -t "$pkgdir/usr/share/licenses/$pkgname" aseprite/{EULA.txt,docs/LICENSES.md} install -vDm 644 -t "$pkgdir/usr/share/licenses/$pkgname" aseprite/{EULA.txt,docs/LICENSES.md}
# Copy the font's license, but leave it in the font directory as well (probably doesn't hurt) # Copy the font's license, but leave it in the font directory as well (probably doesn't hurt)
install -vm 644 aseprite/data/fonts/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/font.txt" install -vm 644 aseprite/data/fonts/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/font.txt"
# Copy translations
mkdir -p "$pkgdir/usr/share/$pkgname/data/strings/"
cp -vt aseprite-strings/*.ini "$pkgdir/usr/share/$pkgname/data/strings/"
# Copy translations' license
install -vm 644 aseprite-strings/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/translations.txt"
} }