From 46ee8df8b2cd2b6a94eff4d3a6854279cc447929 Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Sun, 18 Mar 2018 21:23:11 -0400 Subject: [PATCH] Fixed dependency error. Cannot use shared libloadpng --- .SRCINFO | 4 ++-- PKGBUILD | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b4aea22..424aa5d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Mar 18 15:33:40 UTC 2018 +# Mon Mar 19 01:22:17 UTC 2018 pkgbase = aseprite pkgdesc = Create animated sprites and pixel art pkgver = 1.2.7.2 - pkgrel = 1 + pkgrel = 2 url = http://www.aseprite.org/ arch = x86_64 arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 6cb4689..2d8d1b0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=aseprite pkgver=1.2.7.2 -pkgrel=1 +pkgrel=2 pkgdesc='Create animated sprites and pixel art' arch=('x86_64' 'i686') url="http://www.aseprite.org/" @@ -30,7 +30,12 @@ build() { mkdir -p build && cd build # CMake config notes: - # Do not build using the shared allegro4. Weird graphical glitches happen when linking to the library from the official repo + # Do not build using the shared allegro4. Weird graphical glitches happen + # when linking to the library from the official repo. Also, since loadpng.h + # is also distributed in allegro4, using that shared library must also be + # disabled since there's no guarantee Arch users might have allegro4 + # installed. + cmake -DUSE_SHARED_PIXMAN=ON \ -DWITH_WEBP_SUPPORT=ON \ @@ -41,12 +46,12 @@ build() { -DUSE_SHARED_HARFBUZZ=ON \ -DUSE_SHARED_ZLIB=ON \ -DUSE_SHARED_LIBPNG=ON \ - -DUSE_SHARED_LIBLOADPNG=ON \ -DUSE_SHARED_TINYXML=ON \ -DUSE_SHARED_CMARK=ON \ -DENABLE_UPDATER=OFF \ -DUSE_SHARED_FREETYPE=ON \ -DUSE_SHARED_ALLEGRO4=OFF \ + -DUSE_SHARED_LIBLOADPNG=OFF \ -DCMAKE_INSTALL_PREFIX:STRING=/usr .. make $MAKEFLAGS