[build] type = "cmake" [build.flags] build_dir = "../build" configure = [ "-DJAS_ENABLE_OPENGL=ON", "-DJAS_ENABLE_LIBJPEG=ON", "-DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF", "-DCMAKE_SKIP_RPATH=ON", "-DJAS_ENABLE_SHARED=ON", "-G Ninja", ] split-docs = true [dependencies] build = [ "doxygen", "cmake", "ninja", "libxmu", ] runtime = [ "freeglut", "glibc", "glu", "libgl", "libjpeg-turbo", ] [package] description = "Software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard" homepage = "https://www.ece.uvic.ca/~frodo/jasper/" license = "LicenseRef-JasPer2.0" name = "jasper" version = "4.2.8" [[source]] extract_dir = "$name-$version" sha256 = "987e8c8b4afcff87553833b6f0fa255b5556a0ecc617b45ee1882e10c1b5ec14" url = "https://github.com/mdadams/jasper/archive/version-$version/$name-$version.tar.gz"