ports: Add pixman port

This fixes cairo dependencies
This commit is contained in:
Bananymous 2026-03-23 17:56:46 +02:00
parent a98d851fde
commit 684fa1c4b0
1 changed files with 25 additions and 0 deletions

25
ports/pixman/build.sh Executable file
View File

@ -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
}