blob: fdf88973013fed8c33e28bcd60aec6ddc57e99d1 (
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
|
# 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.2
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/fs-uae-$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
./configure \
--build=$CBUILD \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
$_jitoptions \
--enable-sdl2
make
}
package() {
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/doc
}
sha512sums="4727e61276e75e7b622b7c22b3991955efff0cf371215a0c72158d1f78e78dad7e82680865891ce015472606e8f55ed568c22a157760cc0779bef39aefc8c416 fs-uae-3.0.2.tar.gz"
|