File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import os
7
7
8
- TAG = 'release-2.0.4 '
9
- HASH = '5ba387f997219a1deda868f380bf7ee8bc0842261dd54772ad2d560f5282fcbe7bc130e8d16dccc259eeb8cda993a0f34cd3be103fc38f8c6a68428a10e5db4c '
8
+ TAG = 'release-2.6.0 '
9
+ HASH = '5909e06fe334eadf1753b97233a6f82c60e03bfafaaca4cb90b0468cb94343e72cd7513b57096e543282eefaef76e80fb0f23f4d4da4ccc43229ea74beb14ce1 '
10
10
11
11
deps = ['sdl2' ]
12
12
variants = {
@@ -53,7 +53,6 @@ def create(final):
53
53
54
54
if "mp3" in settings .SDL2_MIXER_FORMATS :
55
55
flags += [
56
- '-Wno-incompatible-function-pointer-types' ,
57
56
'-sUSE_MPG123' ,
58
57
'-DMUSIC_MP3_MPG123' ,
59
58
]
@@ -70,6 +69,12 @@ def create(final):
70
69
]
71
70
72
71
build_dir = ports .clear_project_build ('sdl2_mixer' )
72
+ include_path = os .path .join (source_path , 'include' )
73
+ includes = [
74
+ include_path ,
75
+ os .path .join (source_path , 'src' ),
76
+ os .path .join (source_path , 'src' , 'codecs' )
77
+ ]
73
78
ports .build_port (
74
79
source_path ,
75
80
final ,
@@ -82,11 +87,12 @@ def create(final):
82
87
exclude_dirs = [
83
88
'native_midi' ,
84
89
'external' ,
85
- ]
90
+ 'Xcode' ,
91
+ ],
92
+ includes = includes ,
86
93
)
87
94
88
- # copy header to a location so it can be used as 'SDL2/'
89
- ports .install_headers (source_path , pattern = 'SDL_*.h' , target = 'SDL2' )
95
+ ports .install_headers (include_path , target = 'SDL2' )
90
96
91
97
return [shared .cache .get_lib (libname , create , what = 'port' )]
92
98
You can’t perform that action at this time.
0 commit comments