Fixed dependency error. Cannot use shared libloadpng

This commit is contained in:
Wilson E. Alvarez 2018-03-18 21:23:11 -04:00
parent f3a56dd79d
commit 46ee8df8b2
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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