@@ -32,7 +32,7 @@ function _get_branch_amiberry() {
32
32
if isPlatform " dispmanx" ; then
33
33
echo " v5.7.1"
34
34
elif isPlatform " x86" ; then
35
- echo " v6.3.3"
35
+ echo " preview- v6.3.3"
36
36
else
37
37
echo " v5.7.2"
38
38
fi
@@ -69,7 +69,9 @@ function depends_amiberry() {
69
69
70
70
function sources_amiberry() {
71
71
gitPullOrClone
72
- applyPatch " $md_data /01_preserve_env.diff"
72
+ if ! isPlatform " x86" ; then
73
+ applyPatch " $md_data /01_preserve_env.diff"
74
+ fi
73
75
# Dispmanx is locked on v5.7.1, apply some critical fixes on top of it
74
76
if isPlatform " dispmanx" ; then
75
77
applyPatch " $md_data /02_fix_uae_config_load.diff"
@@ -86,6 +88,7 @@ function build_amiberry() {
86
88
./configure
87
89
make clean
88
90
make
91
+ cp " *capsimg.so" " $md_build /plugins"
89
92
cd " $md_build "
90
93
make clean
91
94
make PLATFORM=" $platform " CPUFLAGS=" $__cpu_flags "
@@ -97,7 +100,7 @@ function install_amiberry() {
97
100
' abr'
98
101
' amiberry'
99
102
' data'
100
- ' external/capsimg/capsimg.so '
103
+ ' plugins '
101
104
' kickstarts'
102
105
)
103
106
@@ -127,6 +130,15 @@ function configure_amiberry() {
127
130
moveConfigDir " $md_inst /$dir " " $md_conf_root /amiga/amiberry/$dir "
128
131
done
129
132
133
+ # set various media paths to the 'amiga' rom folder
134
+ if [ -f " $md_inst /conf/amiberry.conf" ]; then
135
+ iniConfig " =" " " " $md_inst /conf/amiberry.conf"
136
+ iniSet " floppy_path" " $romdir /amiga"
137
+ iniSet " harddrive_path" " $romdir /amiga"
138
+ iniSet " cdrom_path" " $romdir /amiga"
139
+ iniSet " lha_path" " $romdir /amiga"
140
+ fi
141
+
130
142
# check for cd32.nvr and move it to $md_conf_root/amiga/amiberry/nvram
131
143
if [[ -f " $md_conf_root /amiga/amiberry/cd32.nvr" ]]; then
132
144
mv " $md_conf_root /amiga/amiberry/cd32.nvr" " $md_conf_root /amiga/amiberry/nvram/"
0 commit comments