generated from archlinux/template
Do not use the allegro4 library from the official repository
This commit is contained in:
parent
03fef6d621
commit
c26bd3e56f
5
.SRCINFO
5
.SRCINFO
@ -1,9 +1,9 @@
|
|||||||
# Generated by mksrcinfo v8
|
# Generated by mksrcinfo v8
|
||||||
# Fri Mar 16 23:56:01 UTC 2018
|
# Sat Mar 17 14:18:14 UTC 2018
|
||||||
pkgbase = aseprite
|
pkgbase = aseprite
|
||||||
pkgdesc = Create animated sprites and pixel art
|
pkgdesc = Create animated sprites and pixel art
|
||||||
pkgver = 1.2.7
|
pkgver = 1.2.7
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://www.aseprite.org/
|
url = http://www.aseprite.org/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = i686
|
arch = i686
|
||||||
@ -20,7 +20,6 @@ pkgbase = aseprite
|
|||||||
depends = freetype2
|
depends = freetype2
|
||||||
depends = libwebp
|
depends = libwebp
|
||||||
depends = harfbuzz
|
depends = harfbuzz
|
||||||
depends = allegro4
|
|
||||||
conflicts = aseprite-git
|
conflicts = aseprite-git
|
||||||
conflicts = aseprite-gpl
|
conflicts = aseprite-gpl
|
||||||
source = https://github.com/aseprite/aseprite/releases/download/v1.2.7/Aseprite-v1.2.7-Source.zip
|
source = https://github.com/aseprite/aseprite/releases/download/v1.2.7/Aseprite-v1.2.7-Source.zip
|
||||||
|
10
PKGBUILD
10
PKGBUILD
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
pkgname=aseprite
|
pkgname=aseprite
|
||||||
pkgver=1.2.7
|
pkgver=1.2.7
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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/"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('cmark' 'pixman' 'curl' 'giflib' 'zlib' 'libpng' 'libjpeg-turbo' 'tinyxml' 'freetype2' 'libwebp' 'harfbuzz' 'allegro4')
|
depends=('cmark' 'pixman' 'curl' 'giflib' 'zlib' 'libpng' 'libjpeg-turbo' 'tinyxml' 'freetype2' 'libwebp' 'harfbuzz')
|
||||||
makedepends=('cmake')
|
makedepends=('cmake')
|
||||||
conflicts=("aseprite-git" "aseprite-gpl")
|
conflicts=("aseprite-git" "aseprite-gpl")
|
||||||
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/Aseprite-v${pkgver}-Source.zip"
|
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/Aseprite-v${pkgver}-Source.zip"
|
||||||
@ -28,6 +28,10 @@ build() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p build && cd 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
|
||||||
|
|
||||||
cmake -DUSE_SHARED_PIXMAN=ON \
|
cmake -DUSE_SHARED_PIXMAN=ON \
|
||||||
-DWITH_WEBP_SUPPORT=ON \
|
-DWITH_WEBP_SUPPORT=ON \
|
||||||
-DUSE_SHARED_LIBWEBP=ON \
|
-DUSE_SHARED_LIBWEBP=ON \
|
||||||
@ -42,7 +46,7 @@ build() {
|
|||||||
-DUSE_SHARED_CMARK=ON \
|
-DUSE_SHARED_CMARK=ON \
|
||||||
-DENABLE_UPDATER=OFF \
|
-DENABLE_UPDATER=OFF \
|
||||||
-DUSE_SHARED_FREETYPE=ON \
|
-DUSE_SHARED_FREETYPE=ON \
|
||||||
-DUSE_SHARED_ALLEGRO4=ON \
|
-DUSE_SHARED_ALLEGRO4=OFF \
|
||||||
-DCMAKE_INSTALL_PREFIX:STRING=/usr ..
|
-DCMAKE_INSTALL_PREFIX:STRING=/usr ..
|
||||||
|
|
||||||
make $MAKEFLAGS
|
make $MAKEFLAGS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user