mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
generic: switch from yasm to nasm; update libass to 0.14.0 to support
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
1f14e69a61
commit
18c87849dc
@ -7,7 +7,7 @@ PKG_SHA256="1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="https://www.webmproject.org"
|
||||
PKG_URL="https://github.com/webmproject/libvpx/archive/v${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain yasm:host"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host"
|
||||
PKG_LONGDESC="WebM VP8/VP9 Codec"
|
||||
|
||||
configure_target() {
|
||||
@ -26,7 +26,7 @@ configure_target() {
|
||||
|
||||
$PKG_CONFIGURE_SCRIPT --prefix=/usr \
|
||||
--extra-cflags="$CFLAGS" \
|
||||
--as=yasm \
|
||||
--as=nasm \
|
||||
--target=$PKG_TARGET_NAME_LIBVPX \
|
||||
--disable-docs \
|
||||
--disable-examples \
|
||||
|
@ -1,25 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
|
||||
PKG_NAME="yasm"
|
||||
PKG_VERSION="1.3.0"
|
||||
PKG_SHA256="3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.tortall.net/projects/yasm/"
|
||||
PKG_URL="http://www.tortall.net/projects/yasm/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_HOST="ccache:host"
|
||||
PKG_LONGDESC="A complete rewrite of the NASM assembler under the new BSD License."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-debug \
|
||||
--disable-warnerror \
|
||||
--disable-profiling \
|
||||
--disable-gcov \
|
||||
--disable-python \
|
||||
--disable-python-bindings \
|
||||
--enable-nls \
|
||||
--disable-rpath \
|
||||
--without-dmalloc \
|
||||
--with-gnu-ld \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix"
|
@ -7,7 +7,7 @@ PKG_SHA256="edc77c57308661d576e843344d8638e025a7818bff73f8fbfab09c3c5fd092ec"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://www.libsdl.org/"
|
||||
PKG_URL="https://www.libsdl.org/release/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain yasm:host alsa-lib systemd dbus"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host alsa-lib systemd dbus"
|
||||
PKG_LONGDESC="A cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. "
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
|
@ -9,7 +9,7 @@ PKG_SHA256="f25559d4b803321483b28ac9b513671200bdc8e3531c02f0affdd622846a9c5e"
|
||||
PKG_LICENSE="LGPLv2.1+"
|
||||
PKG_SITE="https://ffmpeg.org"
|
||||
PKG_URL="https://github.com/xbmc/FFmpeg/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain yasm:host zlib bzip2 openssl speex"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host zlib bzip2 openssl speex"
|
||||
PKG_LONGDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video."
|
||||
PKG_BUILD_FLAGS="-gold"
|
||||
|
||||
@ -61,7 +61,7 @@ else
|
||||
fi
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_FFMPEG_X86ASM="--enable-x86asm --x86asmexe=yasm"
|
||||
PKG_FFMPEG_X86ASM="--enable-x86asm --x86asmexe=nasm"
|
||||
else
|
||||
PKG_FFMPEG_X86ASM="--disable-x86asm"
|
||||
fi
|
||||
|
@ -1,9 +1,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libass"
|
||||
PKG_VERSION="0.13.7"
|
||||
PKG_SHA256="7065e5f5fb76e46f2042a62e7c68d81e5482dbeeda24644db1bd066e44da7e9d"
|
||||
PKG_VERSION="0.14.0"
|
||||
PKG_SHA256="881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2"
|
||||
PKG_LICENSE="BSD"
|
||||
PKG_SITE="https://github.com/libass/libass"
|
||||
PKG_URL="https://github.com/libass/libass/releases/download/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
@ -17,6 +18,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-test \
|
||||
--with-gnu-ld"
|
||||
|
||||
if [ $TARGET_ARCH = "x86_64" ]; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET yasm:host"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET nasm:host"
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-asm"
|
||||
fi
|
||||
|
@ -6,6 +6,6 @@ PKG_VERSION=""
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://libreelec.tv"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host intltool:host libtool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host xmlstarlet:host yasm:host p7zip:host ninja:host meson:host"
|
||||
PKG_DEPENDS_TARGET="configtools:host make:host xz:host sed:host pkg-config:host autoconf:host automake:host intltool:host libtool:host autoconf-archive:host gcc:host bison:host flex:host cmake:host xmlstarlet:host nasm:host p7zip:host ninja:host meson:host"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_LONGDESC="LibreELEC.tv' toolchain to compile all packages"
|
||||
|
Loading…
x
Reference in New Issue
Block a user