File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,21 @@ rp_module_section="opt"
17
17
rp_module_flags=" !mali !kms"
18
18
19
19
function depends_atari800() {
20
- local depends=(libsdl1.2-dev autoconf zlib1g-dev libpng-dev)
20
+ local depends=(libsdl1.2-dev autoconf automake zlib1g-dev libpng-dev)
21
21
isPlatform " rpi" && depends+=(libraspberrypi-dev)
22
22
getDepends " ${depends[@]} "
23
23
}
24
24
25
25
function sources_atari800() {
26
- downloadAndExtract " $__archive_url / atari800-4.0.0.tar.gz " " $md_build " --strip-components 1
26
+ gitPullOrClone " $md_build " " https://github.com/ atari800/atari800.git " ATARI800_4_1_0
27
27
if isPlatform " rpi" ; then
28
28
applyPatch " $md_data /01_rpi_fixes.diff"
29
29
fi
30
30
}
31
31
32
32
function build_atari800() {
33
- cd src
34
- autoreconf -v
35
- params=()
33
+ local params=()
34
+ ./autogen.sh
36
35
isPlatform " rpi" && params+=(--target=rpi)
37
36
./configure --prefix=" $md_inst " ${params[@]}
38
37
make clean
Original file line number Diff line number Diff line change 1
- --- a/src/configure.ac 2018-10-10 18:29:51.126739086 +0100
2
- +++ b/src/configure.ac.new 2018-10-10 18:30:12.246687333 +0100
3
- @@ -141,7 +141,7 @@
1
+ diff --git a/configure.ac b/configure.ac
2
+ index adb899f..bc9d939 100644
3
+ --- a/configure.ac
4
+ +++ b/configure.ac
5
+ @@ -148,7 +148,7 @@ if [[ "$a8_target" = "ps2" ]]; then
4
6
fi
5
7
if [[ "$a8_target" = "rpi" ]]; then
6
8
[[ -z "$RPI_SDK" ]] && RPI_SDK="/opt/vc"
9
11
CFLAGS="$CFLAGS -I${RPI_SDK}/include -I${RPI_SDK}/include/SDL -I${RPI_SDK}/include/interface/vmcs_host/linux -I${RPI_SDK}/include/interface/vcos/pthreads"
10
12
LDFLAGS="$LDFLAGS -Wl,--unresolved-symbols=ignore-in-shared-libs -L${RPI_SDK}/lib"
11
13
fi
12
- @@ -324,8 +324,8 @@
13
- AC_DEFINE(SUPPORTS_PLATFORM_CONFIGSAVE,1,[Save additional config file options.])
14
- AC_DEFINE(SUPPORTS_PLATFORM_PALETTEUPDATE,1,[Update the Palette if it changed.])
15
- AC_DEFINE(PLATFORM_MAP_PALETTE,1,[Platform-specific mapping of RGB palette to display surface.])
16
- - A8_NEED_LIB(GLESv2)
17
- - A8_NEED_LIB(EGL)
18
- + A8_NEED_LIB(brcmGLESv2)
19
- + A8_NEED_LIB(brcmEGL)
20
- A8_NEED_LIB(SDL)
21
- A8_NEED_LIB(bcm_host)
22
- OBJS="atari_rpi.o gles2/video.o sdl/main.o sdl/input.o"
You can’t perform that action at this time.
0 commit comments