I'm up to date with no updates available and base-devel
is installed. prepare()
fails with:
==> Starting prepare()...
patching file src/desktop/linux/aseprite.desktop
patching file src/desktop/linux/mime/aseprite.xml
patching file CMakeLists.txt
Hunk #1 succeeded at 48 (offset -6 lines).
Hunk #2 succeeded at 158 (offset -8 lines).
Hunk #3 succeeded at 198 (offset -8 lines).
patching file src/app/CMakeLists.txt
Hunk #1 succeeded at 672 with fuzz 1 (offset -26 lines).
patching file src/dio/CMakeLists.txt
Hunk #1 succeeded at 11 (offset 1 line).
patching file third_party/CMakeLists.txt
Hunk #1 succeeded at 113 (offset 7 lines).
patching file CMakeLists.txt
Hunk #1 succeeded at 52 (offset -8 lines).
Hunk #2 succeeded at 222 (offset 21 lines).
patching file src/app/CMakeLists.txt
Hunk #1 succeeded at 670 (offset 19 lines).
patching file third_party/CMakeLists.txt
Hunk #1 succeeded at 129 (offset 19 lines).
Hunk #2 succeeded at 148 (offset 24 lines).
patching file CMakeLists.txt
Hunk #1 succeeded at 58 (offset -8 lines).
Hunk #2 FAILED at 230.
1 out of 2 hunks FAILED -- saving rejects to file CMakeLists.txt.rej
patching file third_party/CMakeLists.txt
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file third_party/CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().
Aborting...
The rejects files are as follows:
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -230,9 +231,17 @@ add_definitions(-DPNG_NO_MMX_CODE) # Do not use MMX optimizations in PNG code
# libwebp
if(ENABLE_WEBP)
- set(WEBP_LIBRARIES webp webpdemux libwebpmux)
- set(WEBP_INCLUDE_DIR ${LIBWEBP_DIR}/src)
- include_directories(${WEBP_INCLUDE_DIR})
+ if(USE_SHARED_WEBP)
+ find_library(WEBP_LIBRARY NAMES webp)
+ find_library(WEBPDEMUX_LIBRARY NAMES webpdemux)
+ find_library(WEBPMUX_LIBRARY NAMES webpmux)
+ set(WEBP_LIBRARIES ${WEBP_LIBRARY} ${WEBPDEMUX_LIBRARY} ${WEBPMUX_LIBRARY})
+ find_path(WEBP_INCLUDE_DIRS NAMES decode.h PATH_SUFFIXES webp)
+ else()
+ set(WEBP_LIBRARIES webp webpdemux libwebpmux)
+ set(WEBP_INCLUDE_DIR ${LIBWEBP_DIR}/src)
+ include_directories(${WEBP_INCLUDE_DIR})
+ endif()
endif()
# tinyxml
CMakeLists.txt.rej (END)
--- third_party/CMakeLists.txt
+++ third_party/CMakeLists.txt
@@ -32,7 +32,7 @@ if(NOT USE_SHARED_GIFLIB)
add_subdirectory(giflib)
endif()
-if(ENABLE_WEBP)
+if(ENABLE_WEBP AND NOT USE_SHARED_WEBP)
set(WEBP_BUILD_EXTRAS OFF CACHE BOOL "Build extras.")
add_subdirectory(libwebp)
endif()
third_party/CMakeLists.txt.rej (END)
Pinned Comments
ImperatorStorm commented on 2022-08-06 04:31 (UTC)
A note that, per Aseprite's EULA, binaries created by this PKGBUILD CANNOT BE DISTRIBUTED.
I will comply with any upstream requests to remove this package.
ImperatorStorm commented on 2022-01-06 00:07 (UTC)
Big thanks to ISSOtm for rewriting the PKGBUILD!
ImperatorStorm commented on 2021-12-31 21:31 (UTC) (edited on 2022-01-03 04:42 (UTC) by ImperatorStorm)
Hosting this package's PKGBUILD at https://github.com/ImperatorStorm/PKGBUILDs