Bump version to 1.4 and add PKG_SHARED_LIBRARY check for x86_64
This commit is contained in:
parent
1d1019c734
commit
899c886917
1 changed files with 10 additions and 4 deletions
|
@ -2,11 +2,11 @@
|
|||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="opus"
|
||||
PKG_VERSION="1.3.1"
|
||||
PKG_SHA256="65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d"
|
||||
PKG_VERSION="1.4"
|
||||
PKG_SHA256="c9b32b4253be5ae63d1ff16eea06b94b5f0f2951b7a02aceef58e3a3ce49c51f"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.opus-codec.org"
|
||||
PKG_URL="https://archive.mozilla.org/pub/opus/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_URL="https://downloads.xiph.org/releases/opus/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Codec designed for interactive speech and audio transmission over the Internet."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
@ -18,6 +18,12 @@ PKG_BUILD_FLAGS="+pic"
|
|||
# PKG_FIXED_POINT="--disable-fixed-point"
|
||||
#fi
|
||||
|
||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||
PKG_SHARED_LIBRARY="--enable-shared"
|
||||
else
|
||||
PKG_SHARED_LIBRARY="--disable-shared"
|
||||
fi
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||
--disable-shared \
|
||||
$PKG_SHARED_LIBRARY \
|
||||
$PKG_FIXED_POINT"
|
||||
|
|
Loading…
Reference in a new issue