forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.sh
More file actions
executable file
·34 lines (31 loc) · 858 Bytes
/
package.sh
File metadata and controls
executable file
·34 lines (31 loc) · 858 Bytes
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
#!/usr/bin/env -S bash ../.port_include.sh
port='SDL2_mixer'
version='2.6.3'
useconfigure='true'
files=(
"https://github.com/libsdl-org/SDL_mixer/releases/download/release-${version}/SDL2_mixer-${version}.tar.gz#7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f"
)
depends=(
'libmodplug'
'libmpg123'
'libvorbis'
'SDL2'
'timidity'
)
configure() {
export LIBS="-L${SERENITY_INSTALL_ROOT}/usr/local/lib"
run ./configure \
--host="${SERENITY_ARCH}-serenity" \
--with-sdl-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--enable-music-opus='false' \
--enable-music-opus-shared='false' \
--disable-static \
--enable-shared \
EXTRA_LDFLAGS='-lgui -lgfx -lipc -lcore -lcoreminimal -lcompression'
}
post_configure() {
unset LIBS
}
build() {
run make -k
}