From 280843ec5daa1139af7249de860ddd0eb31c992d Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sat, 2 Nov 2024 15:39:20 +0900 Subject: [PATCH] Trying a different fork of freeimage --- es-de-module.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/es-de-module.yml b/es-de-module.yml index b92e5c247..bdf3e08d5 100644 --- a/es-de-module.yml +++ b/es-de-module.yml @@ -38,22 +38,14 @@ modules: tag: n5.1.4 - name: freeimage - no-autogen: true - build-options: - cxxflags: -std=c++14 - cflags: -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE - ldflags: -lc -lz - make-args: - - DESTDIR=/app + buildsystem: cmake-ninja + config-opts: + - -DCMAKE_BUILD_TYPE=Release + - -DCMAKE_INSTALL_PREFIX=/app sources: - - type: archive - url: http://downloads.sourceforge.net/freeimage/FreeImage3180.zip - sha256: f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd - - type: shell - commands: - - sed -i 's|-o root -g root ||' ./Makefile.gnu - - sed -i 's|/usr|/app|' ./Makefile.gnu - - sed -i '/#include/a #ifndef _byteswap_ulong\n#define _byteswap_ulong(x) __builtin_bswap32(x)\n#endif' Source/LibJXR/image/decode/segdec.c + - type: git + url: https://github.com/danoli3/FreeImage.git + tag: 3.19.7 - name: libgit2 buildsystem: cmake-ninja