# Maintainer: Typology # Co-Maintainer: Fredrick Brennan # Co-Maintainer: Andrew Bueide # Co-Maintainer: rouhannb # Contributor: Eldred Habert # Contributor: Wilson E. Alvarez # Contributor: Benoit Favre # Contributor: Alexander Rødseth # Contributor: Kamil Biduś pkgname=aseprite-skia-bin pkgver=1.3.6 pkgrel=1 pkgdesc='Create animated sprites and pixel art' arch=('x86_64') url="https://www.aseprite.org/" license=('custom') depends=(# ~ Aseprite's direct dependencies ~ # pixman is not linked to because we use Skia instead # harfbuzz is linked statically because Aseprite expects an older version libcurl.so libgif.so libjpeg.so zlib libpng tinyxml libfreetype.so=6-64 libarchive.so libexpat.so=1-64 libharfbuzz.so=0-64 hicolor-icon-theme # For installing Aseprite's icons # ~ Skia deps ~ libgl libc++ # These two are only reported by Namcap, but don't seem to be direct dependencies? libfontconfig.so libxcursor) makedepends=(# "Meta" dependencies cmake ninja git python clang # Aseprite (including e.g. LAF) libxi # Skia harfbuzz-icu) provides=(aseprite) conflicts=(aseprite) 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` "https://github.com/aseprite/skia/releases/download/m102-861e4743af/Skia-Linux-Release-x64-libc++.zip" desktop.patch # Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch shared-libarchive.patch # Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2523.patch shared-libwebp.patch shared-skia-deps.patch optional-pixman.patch) noextract=("${source[0]##*/}" "${source[1]##*/}") # Don't extract Aseprite sources or Skia at the root sha256sums=('5e974aa2786297981cd5ebe81f040a49b722bddfe33d70def207ad06cb0d34fc' '66293c15aa773a96121afb01f09109d3e5d455a6fd51944e0bb8bdc0829913ea' '8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9' 'e42675504bfbc17655aef1dca957041095026cd3dd4e6981fb6df0a363948aa7' '320ed456512fb26f30aa682d7d34529d6fc3372d76daba3812cecb8fc21d5f1d' 'eb9f544e68b41b5cb1a9ab7a6648db51587e67e94f1a452cb5a84f3d224bf5d0' 'c2d14f9738a96a9db3695c00ac3d14b1312b6a595b151bd56e19422c86517654') prepare() { mkdir -p aseprite skia bsdtar -xf ${noextract[0]} -C aseprite bsdtar -xf ${noextract[1]} -C skia # Fix up Aseprite's desktop integration env -C aseprite patch -tp1