ports: Add gtk3 port

This commit is contained in:
2026-03-23 17:54:23 +02:00
parent 9c3e2dab40
commit a98d851fde
10 changed files with 253 additions and 0 deletions

28
ports/shared-mime-info/build.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash ../install.sh
NAME='shared-mime-info'
VERSION='2.4'
DOWNLOAD_URL="https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$VERSION/shared-mime-info-$VERSION.tar.gz#531291d0387eb94e16e775d7e73788d06d2b2fdd8cd2ac6b6b15287593b6a2de"
DEPENDENCIES=('glib' 'libxml2')
CONFIGURE_OPTIONS=(
'-Dprefix=/usr'
'-Dbuild-tests=false'
'-Dbuild-translations=false'
'-Dupdate-mimedb=true'
)
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
}