mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
libvpx: initial package
This commit is contained in:
parent
e994a82ae5
commit
5135f3911d
@ -0,0 +1,61 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of LibreELEC - https://libreelec.tv
|
||||||
|
# Copyright (C) 2016-present Team LibreELEC
|
||||||
|
#
|
||||||
|
# LibreELEC is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# LibreELEC is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="libvpx"
|
||||||
|
PKG_VERSION="1.6.1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
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_SECTION="multimedia"
|
||||||
|
PKG_SHORTDESC="WebM VP8/VP9 Codec SDK"
|
||||||
|
PKG_LONGDESC="The WebM Project is dedicated to developing a high-quality, open video format for the web that's freely available to everyone."
|
||||||
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
configure_target() {
|
||||||
|
|
||||||
|
case $ARCH in
|
||||||
|
aarch64)
|
||||||
|
TARGET_NAME_LIBVPX="arm64-linux-gcc"
|
||||||
|
;;
|
||||||
|
arm)
|
||||||
|
TARGET_NAME_LIBVPX="armv7-linux-gcc"
|
||||||
|
;;
|
||||||
|
x86_64)
|
||||||
|
TARGET_NAME_LIBVPX="x86_64-linux-gcc"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
$PKG_CONFIGURE_SCRIPT --prefix=/usr \
|
||||||
|
--extra-cflags="$CFLAGS" \
|
||||||
|
--as=yasm \
|
||||||
|
--target=$TARGET_NAME_LIBVPX \
|
||||||
|
--disable-docs \
|
||||||
|
--disable-examples \
|
||||||
|
--disable-shared \
|
||||||
|
--disable-tools \
|
||||||
|
--disable-unit-tests \
|
||||||
|
--disable-vp8-decoder \
|
||||||
|
--disable-vp9-decoder \
|
||||||
|
--enable-ccache \
|
||||||
|
--enable-pic \
|
||||||
|
--enable-static \
|
||||||
|
--enable-vp8 \
|
||||||
|
--enable-vp9
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user