[build] type = "cmake" [build.flags] build_dir = "build" source_subdir = "DevIL" configure = [ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5", "-DCMAKE_CXX_STANDARD=14" ] [dependencies] build = ["cmake"] runtime = [ "libpng", "jasper", "lcms2", "libjpeg-turbo", ] [package] description = "Library for reading several different image formats" homepage = "https://sourceforge.net/projects/openil/" license = "LGPL-2.1-or-Later" name = "devil" version = "1.8.0" [[source]] extract_dir = "$name-$version" url = "https://github.com/DentonW/DevIL.git#v$version" patches = [ "jasper.patch", "soversion.patch" ] [[manual_sources]] files = [ "jasper.patch", "soversion.patch" ]