1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 00:16:45 +00:00
Lakka-LibreELEC/packages/graphics/jasper/package.mk
Rudi Heitbaum f9de7a7ef6 jasper: update to 4.0.0
move package location:
- this package is used by gdk-pixbuf and is itself a graphics package
2022-12-08 12:41:00 +00:00

23 lines
915 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="jasper"
PKG_VERSION="4.0.0"
PKG_SHA256="977c4c2e4210f4e37313cd2232d99e73d57ab561917b3c060bcdd5e83a0a13f1"
PKG_LICENSE="OpenSource"
PKG_SITE="http://www.ece.uvic.ca/~mdadams/jasper/"
PKG_URL="https://github.com/jasper-software/jasper/archive/refs/tags/version-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo"
PKG_LONGDESC="A implementation of the ISO/IEC 15444-1 also known as JPEG-2000 standard for image compression."
PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="-DJAS_ENABLE_DOC=false \
-DJAS_ENABLE_PROGRAMS=false \
-DJAS_ENABLE_SHARED=false \
-DJAS_STDC_VERSION=201710L"
pre_configure_target() {
export CFLAGS="${CFLAGS} -std=gnu17"
}