Lakka-LibreELEC/packages/audio/libvorbis/package.mk
Tomáš Kelemen (vudiq) 46e407db1e
remove unnecessary safe_remove
these files/folders are excluded in script/install
2022-04-08 00:03:02 +02:00

26 lines
1020 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libvorbis"
PKG_VERSION="1.3.7"
PKG_SHA256="b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b"
PKG_LICENSE="BSD"
PKG_SITE="http://www.vorbis.com/"
PKG_URL="http://downloads.xiph.org/releases/vorbis/libvorbis-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain libogg"
PKG_LONGDESC="Lossless audio compression tools using the ogg-vorbis algorithms."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--with-ogg=${SYSROOT_PREFIX}/usr \
--disable-docs \
--disable-examples \
--disable-oggtest"
if [ "${DISTRO}" = "Lakka" ]; then
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_TARGET//--disable-shared/--enable-shared}"
fi