distribution/packages/graphics/SDL2/SDL_sound/package.mk
2023-07-27 01:07:07 +00:00

21 lines
678 B
Makefile

# 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)
# Copyright (C) 2023-present Fewtarius
PKG_NAME="SDL_sound"
PKG_VERSION="253b00c"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/icculus/SDL_sound"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain alsa-lib SDL2"
PKG_LONGDESC="SDL_sound library"
PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
--disable-speex \
ac_cv_path_SDL2_CONFIG=${SYSROOT_PREFIX}/usr/bin/sdl2-config"
pre_configure_target() {
export LDFLAGS="${LDFLAGS} -lm"
}