Package Details: aseprite-skia-bin 1.3.7-1

Git Clone URL: https://aur.archlinux.org/aseprite-skia-bin.git (read-only, click to copy)
Package Base: aseprite-skia-bin
Description: Create animated sprites and pixel art
Upstream URL: https://www.aseprite.org/
Keywords: animation art editor gamedev image pixel sprites
Licenses: custom
Conflicts: aseprite
Provides: aseprite
Submitter: rouhannb
Maintainer: fbrennan (abueide, rouhannb)
Last Packager: Typology
Votes: 13
Popularity: 0.000263
First Submitted: 2020-04-13 01:27 (UTC)
Last Updated: 2024-05-23 13:27 (UTC)

Required by (1)

Sources (8)

Pinned Comments

Typology commented on 2021-07-13 07:43 (UTC) (edited on 2022-07-19 20:30 (UTC) by Typology)

This package installs aseprite by using the pre-built skia library, so you hava to only compile aseprite. This package is updated with every release.

Please support the developers by buying a copy here

Latest Comments

1 2 Next › Last »

paulieg commented on 2025-02-10 14:35 (UTC) (edited on 2025-02-10 14:37 (UTC) by paulieg)

Here's a PKGBUILD diff that works for the latest 1.3.13-beta1 release. It needs a new prebuilt skia from their fork, c++11 and libstdc++ specified. All patches disabled since a lot of them don't apply cleanly and I don't know whether they're still necessary (obviously maintainer would know better).

--- PKGBUILD.orig   2025-02-10 09:31:56.555479923 -0500
+++ PKGBUILD    2025-02-10 09:27:47.482226793 -0500
@@ -9,7 +9,8 @@
 # Contributor: Kamil Biduś <kamil.bidus@gmail.com>

 pkgname=aseprite-skia-bin
-pkgver=1.3.7
+pkgver=1.3.13
+pkgsuffix=-beta1
 pkgrel=1
 pkgdesc='Create animated sprites and pixel art'
 arch=('x86_64')
@@ -33,9 +34,10 @@
              harfbuzz-icu)
 provides=(aseprite)
 conflicts=(aseprite)
-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$pkgsuffix/Aseprite-v$pkgver$pkgsuffix-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"
+        #"https://github.com/aseprite/skia/releases/download/m102-861e4743af/Skia-Linux-Release-x64-libc++.zip"
+        "https://github.com/aseprite/skia/releases/download/m124-08a5439a6b/Skia-Linux-Release-x64.zip"
         desktop.patch
         # Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch
         shared-libarchive.patch
@@ -45,8 +47,8 @@
         optional-pixman.patch
         ENABLE_UPDATER-fix.patch)
 noextract=("${source[0]##*/}" "${source[1]##*/}") # Don't extract Aseprite sources or Skia at the root
-sha256sums=('6524b4dd38adac22f954122846ccca7377983cee2e0f17c1482294cf09cbdcfc'
-            '66293c15aa773a96121afb01f09109d3e5d455a6fd51944e0bb8bdc0829913ea'
+sha256sums=('SKIP'
+            'SKIP'
             '8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
             'e42675504bfbc17655aef1dca957041095026cd3dd4e6981fb6df0a363948aa7'
             '320ed456512fb26f30aa682d7d34529d6fc3372d76daba3812cecb8fc21d5f1d'
@@ -62,14 +64,14 @@
    # Fix up Aseprite's desktop integration
    env -C aseprite patch -tp1 <desktop.patch
    # Allow using more shared libs
-   env -C aseprite patch -tp1 <shared-libarchive.patch
-   env -C aseprite patch -tp1 <shared-libwebp.patch
-   env -C aseprite patch -tp1 <optional-pixman.patch
+   #env -C aseprite patch -tp1 <shared-libarchive.patch
+   #env -C aseprite patch -tp1 <shared-libwebp.patch
+   #env -C aseprite patch -tp1 <optional-pixman.patch
    # Their "FindSkia" module forcefully tries to use Skia's FreeType and HarfBuzz,
    # but we don't clone those because we use the shared ones. Avoid overwriting the settings instead.
-   env -C aseprite patch -tp1 <shared-skia-deps.patch
+   #env -C aseprite patch -tp1 <shared-skia-deps.patch
    # Backport https://github.com/aseprite/aseprite/commit/8fce589069090bb086d7ad7b0b50340171c98b17
-   env -C aseprite patch -tp1 <ENABLE_UPDATER-fix.patch
+   #env -C aseprite patch -tp1 <ENABLE_UPDATER-fix.patch
 }

 build() {
@@ -80,7 +82,7 @@
 -DENABLE_{UPDATER,WEBSOCKET}=NO -DENABLE_SCRIPTING=ON -DLAF_WITH_EXAMPLES=OFF -DLAF_WITH_TESTS=OFF -DLAF_BACKEND=skia \
 -DSKIA_DIR="$srcdir/skia" -DSKIA_LIBRARY_DIR="$_skiadir" -DSKIA_LIBRARY="$_skiadir/libskia.a" \
 -DUSE_SHARED_{CURL,GIFLIB,JPEGLIB,ZLIB,LIBPNG,PIXMAN,FREETYPE,HARFBUZZ,LIBARCHIVE,WEBP}=YES \
--DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="$CXXFLAGS -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS:STRING=-stdlib=libc++ \
+-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="$CXXFLAGS -std=c++11 -stdlib=libstdc++" -DCMAKE_EXE_LINKER_FLAGS:STRING=-stdlib=libstdc++ \
 -DWEBP_INCLUDE_DIR="$srcdir/skia/third_party/externals/libwebp/src" \
 -DWEBP{,MUX,DEMUX}_LIBRARY= # Use Skia's already-bundled WebP library (link to no additional libs)
    ninja -C build

paulieg commented on 2025-02-10 14:01 (UTC) (edited on 2025-02-10 14:02 (UTC) by paulieg)

Some of the patches no longer apply. Are they still necessary? Also, support for -beta releases in the PKGBUILD would be nice.

Typology commented on 2023-02-02 12:39 (UTC)

@viluon https://github.com/ISSOtm/PKGBUILDs/issues/1 this was the proposed reason by @ISSOtm, it should be enabled now, please tell me if there are any issues.

viluon commented on 2023-01-26 16:32 (UTC)

Hi, is there a good reason for disabling scripting? I'd prefer aseprite with scripting support.

Typology commented on 2022-09-08 12:12 (UTC)

@sodaplayer fixed, thank you for notifying me.

sodaplayer commented on 2022-09-07 19:27 (UTC)

Hey, it looks like they changed the pre-built Skia library packages for Linux as of 2022-08-03. They added a package compiled with libstdc++ as an option so they changed Skia-Linux-Release-x64.zip to Skia-Linux-Release-x64-libc++.zip to disambiguate the different versions.

Typology commented on 2022-01-10 22:03 (UTC)

@ISSOtm fantastic work! Thank you

ISSOtm commented on 2022-01-08 17:36 (UTC)

The "base" Aseprite package just received a major overhaul, so I just ported its changes to this PKGBUILD. (A notable benefit of unifying all three is that improvements should be able to be shared across all.)

Improvements include faster build times and a smaller binary thanks to using more shared libs, and a cleaner fix for the "multiple definitions" error.

The files are available here: https://github.com/ISSOtm/PKGBUILDs/tree/aseprite-skia-bin/aseprite-skia-bin