1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 03:26:19 +00:00
Lakka-LibreELEC/packages/graphics/libheif/package.mk

22 lines
800 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libheif"
PKG_VERSION="1.15.1"
PKG_SHA256="28d5a376fe7954d2d03453f983aaa0b7486f475c27c7806bda31df9102325556"
PKG_LICENSE="LGPLv3"
PKG_SITE="https://www.libde265.org"
PKG_URL="https://github.com/strukturag/libheif/releases/download/v${PKG_VERSION}/libheif-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libde265 libjpeg-turbo libpng"
PKG_LONGDESC="A HEIF file format decoder and encoder."
PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=OFF \
-DWITH_EXAMPLES=OFF \
-DWITH_AOM_DECODER=OFF \
-DWITH_AOM_ENCODER=OFF"
pre_configure_target() {
export CXXFLAGS="${CXXFLAGS} -Wno-unused-variable"
}