blob: 459a0ecfcca800fe8fb18fa7be6e6440e44886aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=easyrpg-player-git
_pkgname=${pkgname%-*}
pkgver=0.8.r306.gb313163f5
pkgrel=1
pkgdesc="FLOSS RPG Maker 2000/2003 and EasyRPG games interpreter (development version)"
arch=('i686' 'x86_64')
url="https://easyrpg.org"
license=('GPL-3.0-or-later')
conflicts=("$_pkgname")
provides=("$_pkgname=${pkgver%.r*}")
makedepends=('git' 'cmake' 'ninja' 'asciidoctor')
depends=('liblcf-git' 'sdl2' 'libpng' 'pixman' 'fmt' 'freetype2' 'harfbuzz'
'mpg123' 'libsndfile' 'libvorbis' 'opusfile' 'speexdsp'
'hicolor-icon-theme')
optdepends=('alsa-lib: native MIDI playback (needs sequencer)'
'wildmidi: decoder for MIDI (needs "GUS patches")'
'fluidsynth: better MIDI decoder (needs soundfont)'
'libxmp: decoder for tracker music, used by few games'
'rpg2000-rtp: run time package for some 2k games'
'rpg2003-rtp: run time package for some 2k3 games'
'wine: for installing run time packages (RTP) manually')
install=$_pkgname.install
source=($_pkgname::"git+https://github.com/EasyRPG/Player.git")
md5sums=('SKIP')
pkgver() {
git -C $_pkgname describe --long | sed 's/-/.r/;s/-/./'
}
prepare() {
rm -rf aurbuild
}
build() {
cmake -S $_pkgname -B aurbuild -G Ninja \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
-DPLAYER_ENABLE_DRWAV=OFF
cmake --build aurbuild
}
check() {
cmake --build aurbuild --target check
}
package() {
DESTDIR="$pkgdir" cmake --install aurbuild
}
|