mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 13:43:45 +03:00
25 lines
761 B
Bash
Executable File
25 lines
761 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=SDL2_mixer
|
|
version=2.0.4
|
|
useconfigure=true
|
|
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz"
|
|
depends="SDL2 libvorbis"
|
|
|
|
configure() {
|
|
run ./configure \
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
--with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr" \
|
|
--prefix="/usr" \
|
|
--enable-music-opus=false --enable-music-opus-shared=false \
|
|
--enable-music-mod-modplug=false --enable-music-mod-modplug-shared=false \
|
|
EXTRA_LDFLAGS="-lgui -lgfx -lipc -lcore -lcompression"
|
|
}
|
|
|
|
build() {
|
|
run make -k
|
|
}
|
|
|
|
install() {
|
|
run make -k DESTDIR="${SERENITY_BUILD_DIR}/Root" install
|
|
}
|