diff options
Diffstat (limited to 'groups.d/231.native_packages_etc.d/openjpeg.package')
-rw-r--r-- | groups.d/231.native_packages_etc.d/openjpeg.package | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/groups.d/231.native_packages_etc.d/openjpeg.package b/groups.d/231.native_packages_etc.d/openjpeg.package new file mode 100644 index 00000000..5096f19c --- /dev/null +++ b/groups.d/231.native_packages_etc.d/openjpeg.package @@ -0,0 +1,21 @@ +: ${PKG_OPENJPEG_DEPENDS:="lcms libpng libz tiff"}; +: ${PKG_OPENJPEG_SHA256SUM:=90e3896fed910c376aaf79cdd98bdfdaf98c6472efd8e1debf0a854938cbda6a}; +: ${PKG_OPENJPEG_VERSION:=2.5.2}; +: ${PKG_OPENJPEG_URL:=https://github.com/uclouvain/openjpeg/archive/v${PKG_OPENJPEG_VERSION}.tar.gz}; +: ${PKG_OPENJPEG_CMAKE_ARGS_EXTRA:=" + -DLCMS2_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DLCMS2_LIBRARY=${PREFIX_NATIVE}/lib/liblcms2.lib.a + -DPNG_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libpng.lib.a + -DPNG_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libpng.lib.a + -DPNG_PNG_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DTIFF_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DTIFF_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libtiff.lib.a + -DTIFF_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libtiff.lib.a + -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DZLIB_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libz.a + -DZLIB_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libz.a"}; +: ${PKG_OPENJPEG_SUBDIR:=openjpeg-${PKG_OPENJPEG_VERSION}}; + +ex_pkg_register "openjpeg" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages"; + +# vim:filetype=sh textwidth=0 |