Trying a different fork of freeimage

This commit is contained in:
XargonWan 2024-11-02 15:39:20 +09:00
parent 01252755b0
commit 280843ec5d

View file

@ -38,22 +38,14 @@ modules:
tag: n5.1.4 tag: n5.1.4
- name: freeimage - name: freeimage
no-autogen: true buildsystem: cmake-ninja
build-options: config-opts:
cxxflags: -std=c++14 - -DCMAKE_BUILD_TYPE=Release
cflags: -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE - -DCMAKE_INSTALL_PREFIX=/app
ldflags: -lc -lz
make-args:
- DESTDIR=/app
sources: sources:
- type: archive - type: git
url: http://downloads.sourceforge.net/freeimage/FreeImage3180.zip url: https://github.com/danoli3/FreeImage.git
sha256: f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd tag: 3.19.7
- 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
- name: libgit2 - name: libgit2
buildsystem: cmake-ninja buildsystem: cmake-ninja