[gnome-build-meta/abderrahim/jxl: 5/5] core-deps: add libjxl, needed by gnome-backgrounds




commit 34ef02d70f765d61a61ade92ebce3d17240af210
Author: Abderrahim Kitouni <abderrahim kitouni codethink co uk>
Date:   Thu Jul 21 23:56:47 2022 +0200

    core-deps: add libjxl, needed by gnome-backgrounds
    
    Fixes #502

 elements/core-deps/highway.bst      | 15 +++++++++++++++
 elements/core-deps/libjxl.bst       | 28 ++++++++++++++++++++++++++++
 elements/core/gnome-backgrounds.bst |  3 +++
 include/aliases.yml                 |  1 +
 4 files changed, 47 insertions(+)
---
diff --git a/elements/core-deps/highway.bst b/elements/core-deps/highway.bst
new file mode 100644
index 000000000..112641bd6
--- /dev/null
+++ b/elements/core-deps/highway.bst
@@ -0,0 +1,15 @@
+kind: cmake
+
+sources:
+- kind: tar
+  url: github_files:google/highway/archive/refs/tags/0.15.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  cmake-local: >-
+    -DBUILD_TESTING=OFF
diff --git a/elements/core-deps/libjxl.bst b/elements/core-deps/libjxl.bst
new file mode 100644
index 000000000..5118490d2
--- /dev/null
+++ b/elements/core-deps/libjxl.bst
@@ -0,0 +1,28 @@
+kind: cmake
+
+sources:
+- kind: git_tag
+  url: github:libjxl/libjxl.git
+  track: v0.6.1
+  submodules:
+    third_party/lodepng:
+      url: github:lvandeve/lodepng.git
+      checkout: true
+    third_party/skcms:
+      url: skia:skcms.git
+      checkout: true
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+
+depends:
+- core-deps/highway.bst
+- sdk/gdk-pixbuf.bst
+- freedesktop-sdk.bst:components/brotli.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  cmake-local: >-
+    -DBUILD_TESTING=OFF
+    -DJPEGXL_ENABLE_SJPEG=OFF
+    -DJPEGXL_ENABLE_PLUGINS=ON
diff --git a/elements/core/gnome-backgrounds.bst b/elements/core/gnome-backgrounds.bst
index ea05a2c9a..00a1d980c 100644
--- a/elements/core/gnome-backgrounds.bst
+++ b/elements/core/gnome-backgrounds.bst
@@ -8,6 +8,9 @@ sources:
 build-depends:
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
 
+runtime-depends:
+- core-deps/libjxl.bst
+
 depends:
 - sdk/glib.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/include/aliases.yml b/include/aliases.yml
index e14d873d3..093909031 100644
--- a/include/aliases.yml
+++ b/include/aliases.yml
@@ -38,6 +38,7 @@ aliases:
   pagure_releases: https://releases.pagure.org/
   pypi: https://files.pythonhosted.org/packages/
   samba: https://download.samba.org/pub/
+  skia: https://skia.googlesource.com/
   sourceforge: https://downloads.sourceforge.net/
   spice: https://www.spice-space.org/download/
   tcpdump: https://www.tcpdump.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]