From 751b7f3d84515715d07d92a5aed78062bd39adff Mon Sep 17 00:00:00 2001
From: davidovski <david@davidovski.xyz>
Date: Tue, 3 May 2022 19:59:53 +0100
Subject: added extra files

---
 repo/media/babl.xibuild | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 repo/media/babl.xibuild

(limited to 'repo/media/babl.xibuild')

diff --git a/repo/media/babl.xibuild b/repo/media/babl.xibuild
new file mode 100644
index 0000000..f786806
--- /dev/null
+++ b/repo/media/babl.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="babl"
+DESC="Dynamic, any to any, pixel format conversion library"
+
+MAKEDEPS="meson ninja "
+DEPS="lcms2 "
+
+PKG_VER=0.1.92
+SOURCE="https://ftp.gimp.org/pub/babl/${PKG_VER%.*}/babl-$PKG_VER.tar.xz"
+ADDITIONAL="meson-0.60.patch "
+
+prepare () {
+    apply_patches
+}
+
+build () {
+    cd build    &&
+    meson --prefix=/usr \
+            .. &&
+    ninja
+}
+
+package () {
+    DESTDIR=$PKG_DEST ninja install
+}
-- 
cgit v1.2.1