distribution/packages/audio/libopenmpt/package.mk
2022-04-14 07:56:57 -04:00

26 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libopenmpt"
PKG_VERSION="0.5.15"
PKG_SHA256="bca80f897b479d39926e16058db4fb9fd618ab8be6cbe96608736628bfd8b15c"
PKG_LICENSE="BSD"
PKG_SITE="https://lib.openmpt.org/libopenmpt/"
PKG_URL="https://lib.openmpt.org/files/libopenmpt/src/${PKG_NAME}-${PKG_VERSION}+release.autotools.tar.gz"
PKG_DEPENDS_TARGET="toolchain libogg libvorbis zlib"
PKG_LONGDESC="libopenmpt renders mod music files as raw audio data, for playing or conversion."
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--without-mpg123 \
--with-vorbis \
--with-vorbisfile \
--without-pulseaudio \
--without-portaudio \
--without-portaudiocpp \
--without-sdl \
--without-sdl2 \
--without-sndfile \
--without-flac"