distribution/packages/graphics/jasper/package.mk
fewtarius e3c2ecee27
* Start work on PS2 support, thanks in part to @CoreELEC and @batocera-linux.
* Add LMSensors for sensor and fan control (work in progress).
2022-09-04 17:43:37 -04:00

22 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="3.0.6"
PKG_SHA256="c79961bc00158f5b5dc5f5fcfa792fde9bebb024432689d0f9e3f95a097d0ec3"
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"
}