commit 47db431de0211684e78672b623d7aa940ebae34a
parent 033320af65d82a0277caea970985e5d195ce687d
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 10 Nov 2024 15:38:05 +0100
Also install libheif
Diffstat:
3 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/build-aux/dev.nordgedanken.heic2jpg.Devel.json b/build-aux/dev.nordgedanken.heic2jpg.Devel.json
@@ -36,6 +36,7 @@
]
},
"modules": [
+ "./libheif.json",
"./imagemagick.yaml",
{
"name": "heic2jpg",
diff --git a/build-aux/imagemagick.yaml b/build-aux/imagemagick.yaml
@@ -5,6 +5,7 @@ config-opts:
- --with-modules
- --with-gslib
- --with-wmf
+ - --with-heic=yes
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-39.tar.gz
diff --git a/build-aux/libheif.json b/build-aux/libheif.json
@@ -0,0 +1,22 @@
+{
+ "name": "libheif",
+ "buildsystem": "cmake-ninja",
+ "build-options": {
+ "cxxflags": "-Wno-error=maybe-uninitialized"
+ },
+ "config-opts": [
+ "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
+ "-DWITH_EXAMPLES=0",
+ "-DWITH_X265=0",
+ "-DWITH_RAV1E=0",
+ "-DWITH_AOM=0",
+ "-DWITH_DAV1D=0"
+ ],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://github.com/strukturag/libheif/archive/v1.13.0.tar.gz",
+ "sha256": "50def171af4bc8991211d6027f3cee4200a86bbe60fddb537799205bf216ddca"
+ }
+ ]
+}