2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 0riginally created by Escalade (https://github.com/escalade)
|
|
|
|
# Copyright (C) 2018-present 5schatten (https://github.com/5schatten)
|
2023-03-03 22:57:56 +00:00
|
|
|
# Copyright (C) 2023-present Fewtarius
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="SDL_sound"
|
2023-03-03 22:57:56 +00:00
|
|
|
PKG_VERSION="ba43565"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPLv3"
|
2023-03-03 22:57:56 +00:00
|
|
|
PKG_SITE="https://github.com/icculus/SDL_sound"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain alsa-lib SDL2"
|
|
|
|
PKG_LONGDESC="SDL_sound library"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
|
|
|
|
--disable-speex \
|
2023-02-24 13:53:43 +00:00
|
|
|
ac_cv_path_SDL2_CONFIG=${SYSROOT_PREFIX}/usr/bin/sdl2-config"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
pre_configure_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
export LDFLAGS="${LDFLAGS} -lm"
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|