Disabled Allegro4 alias fix

This commit is contained in:
Wilson E. Alvarez 2018-08-13 16:10:41 -04:00
parent 91e67f2178
commit 2d3ed17c56
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
pkgbase = aseprite pkgbase = aseprite
pkgdesc = Create animated sprites and pixel art pkgdesc = Create animated sprites and pixel art
pkgver = 1.2.9 pkgver = 1.2.9
pkgrel = 1 pkgrel = 2
url = http://www.aseprite.org/ url = http://www.aseprite.org/
arch = x86_64 arch = x86_64
arch = i686 arch = i686

View File

@ -5,8 +5,7 @@
pkgname=aseprite pkgname=aseprite
pkgver=1.2.9 pkgver=1.2.9
_realver=.1 pkgrel=2
pkgrel=1
pkgdesc='Create animated sprites and pixel art' pkgdesc='Create animated sprites and pixel art'
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
url="http://www.aseprite.org/" url="http://www.aseprite.org/"
@ -31,6 +30,9 @@ build() {
[ "$reply" == "yes" ] || exit 1 [ "$reply" == "yes" ] || exit 1
fi fi
# Disable Allegro4 alias fix which creates a function declaration conflict:
sed -e 's/DUSE_ALLEG4_BACKEND/DUSE_ALLEG4_BACKEND -DALLEGRO_NO_FIX_ALIASES/g' -i CMakeLists.txt
mkdir -p build && cd build mkdir -p build && cd build
# CMake config notes: # CMake config notes:
@ -40,10 +42,8 @@ build() {
# disabled since there's no guarantee Arch users might have allegro4 # disabled since there's no guarantee Arch users might have allegro4
# installed. # installed.
cmake -DUSE_SHARED_PIXMAN=ON \ cmake -DUSE_SHARED_PIXMAN=ON \
-DWITH_WEBP_SUPPORT=ON \ -DWITH_WEBP_SUPPORT=ON \
-DUSE_SHARED_LIBWEBP=ON \
-DUSE_SHARED_CURL=ON \ -DUSE_SHARED_CURL=ON \
-DUSE_SHARED_GIFLIB=ON \ -DUSE_SHARED_GIFLIB=ON \
-DUSE_SHARED_JPEGLIB=ON \ -DUSE_SHARED_JPEGLIB=ON \