blob: 5889d434f5e41923488cf66fa8b5cce6d09a6c6f (
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
|
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=fs-uae
# Remember to upgrade fs-uae-launcher to same version of fs-uae
pkgver=3.0.0
pkgrel=0
pkgdesc="Amiga emulator."
url="https://fs-uae.net/"
arch="all !armhf !armv7 !aarch64 !s390x" # --enable-jit not supported for these arches
license="GPL-2.0-only"
makedepends="zip sdl2-dev libpng-dev libx11-dev libxi-dev openal-soft-dev linux-headers libmpeg2-dev glib-dev"
subpackages="$pkgname-lang"
source="https://fs-uae.net/stable/${pkgver}/${pkgname}-${pkgver}.tar.gz"
options="!check"
build() {
local _jitoptions=
unset CFLAGS CXXFLAGS
case "$CARCH" in
ppc64le)
_jitoptions="--disable-jit"
export CFLAGS="-g -O2 -U__ALTIVEC__"
export CXXFLAGS="-D__STRICT_ANSI__ -g -O2 -U__ALTIVEC__"
;;
esac
cd "$builddir"
./configure \
--build=$CBUILD \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
$_jitoptions \
--enable-sdl2
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/doc
}
sha512sums="3ceee2434b3aa3f545370a17149b3cda8d2eeb1bd093a45869a897a00b82ae4395efc52c129124e44262b47b7f56337e1adb9f58b0a1562efa73ee3ea3915b68 fs-uae-3.0.0.tar.gz"
|