From 684fa1c4b01366b44cf15835237ef176e3722148 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 23 Mar 2026 17:56:46 +0200 Subject: [PATCH] ports: Add pixman port This fixes cairo dependencies --- ports/pixman/build.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 ports/pixman/build.sh diff --git a/ports/pixman/build.sh b/ports/pixman/build.sh new file mode 100755 index 00000000..db7e2997 --- /dev/null +++ b/ports/pixman/build.sh @@ -0,0 +1,25 @@ +#!/bin/bash ../install.sh + +NAME='pixman' +VERSION='0.46.4' +DOWNLOAD_URL="https://cairographics.org/releases/pixman-$VERSION.tar.gz#d09c44ebc3bd5bee7021c79f922fe8fb2fb57f7320f55e97ff9914d2346a591c" +DEPENDENCIES=('glib' 'libpng') +CONFIGURE_OPTIONS=( + '-Dprefix=/usr' +) + +configure() { + meson setup \ + --reconfigure \ + --cross-file "$MESON_CROSS_FILE" \ + "${CONFIGURE_OPTIONS[@]}" \ + build || exit 1 +} + +build() { + meson compile -C build || exit 1 +} + +install() { + meson install --destdir="$BANAN_SYSROOT" -C build || exit 1 +}